/*
Theme Name: ANCV Theme
Theme URI: https://ancv.vn
Author: ANCV Team
Author URI: https://ancv.vn
Description: Official WordPress theme for ANCV Security, converted from React.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ancv
11: Tags: custom-theme, bootstrap, tailwind
*/

/* 
 * This file contains the basic theme metadata. 
 * The main styles will be loaded from assets/css/main.css 
 */

body {
    font-family: 'Manrope', Arial, Helvetica, sans-serif;
}

/* Content Typography Fixes for Single Post */
.entry-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    /* text-gray-700 */
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    /* text-gray-900 */
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.entry-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #111827;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.entry-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.entry-content ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content blockquote {
    border-left: 4px solid #c52126;
    padding-left: 1rem;
    font-style: italic;
    color: #4b5563;
    /* text-gray-600 */
    margin-bottom: 1.5em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1.5em;
}

.entry-content a {
    color: #c52126;
    text-decoration: underline;
}

.entry-content a:hover {
    color: black;
}

/* Pagination Styles */
.ancv-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.ancv-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
}

.ancv-pagination .page-numbers:hover {
    border-color: #c52126;
    color: #c52126;
}

.ancv-pagination .page-numbers.current {
    background-color: #c52126;
    border-color: #c52126;
    color: white;
}

.ancv-pagination .page-numbers.prev,
.ancv-pagination .page-numbers.next {
    color: #c52126;
}

.ancv-pagination .page-numbers.prev:hover,
.ancv-pagination .page-numbers.next:hover {
    background-color: #c52126;
    color: white;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Hero Section Entrance Animation - Initial State for GSAP */
.hero-entrance {
    opacity: 1;
    /* Default to visible for robustness */
    will-change: transform, opacity;
}

:root {
    --ancv-header-height: 5rem;
    --ancv-slide-padding-x: 1rem;
    --ancv-slide-padding-y: 2rem;
    --ancv-slide-max-width: 1440px;
    --ancv-brand-red: #c52126;
    --ancv-brand-red-dark: #8e1013;
    --ancv-brand-navy: #0a192f;
    --ancv-text-dark: #111827;
    --ancv-text-muted: #6b7280;
    --ancv-surface: #ffffff;
    --ancv-surface-soft: #f8fafc;
}

.ancv-page-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(220px, 28vh, 320px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(197, 33, 38, 0.08), transparent 28%),
        radial-gradient(circle at left center, rgba(255, 255, 255, 0.78), transparent 35%),
        linear-gradient(135deg, #f5f5f7 0%, #f4f1f1 52%, #f3e7e8 100%);
    border-bottom: 1px solid #e7dede;
}

.ancv-page-hero__pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(197, 33, 38, 0.14) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 100%);
    pointer-events: none;
}

.ancv-page-hero__inner {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: calc(var(--ancv-header-height) + 1rem);
    padding-bottom: 2.75rem;
}

.ancv-page-hero__inner.translate-y-20 {
    transform: none !important;
}

.ancv-page-hero__inner.opacity-0 {
    opacity: 1 !important;
}

.ancv-page-hero--center .ancv-page-hero__inner {
    text-align: center;
}

.ancv-page-hero__title {
    margin: 0 0 1rem;
    color: #111827;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.05;
    font-weight: 800;
}

body.single-post .ancv-page-hero__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    font-weight: 700;
}

.ancv-page-hero__description {
    max-width: 48rem;
    color: #6b7280;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
}

.ancv-page-hero--center .ancv-page-hero__description {
    margin-left: auto;
    margin-right: auto;
}

body:not(.is-home-fullpage) #page > section:first-of-type,
body:not(.is-home-fullpage) #page > article > section:first-of-type,
body:not(.is-home-fullpage) #page > div > section:first-of-type {
    min-height: clamp(220px, 26vh, 290px) !important;
    height: auto !important;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(197, 33, 38, 0.08), transparent 28%),
        radial-gradient(circle at left center, rgba(255, 255, 255, 0.78), transparent 35%),
        linear-gradient(135deg, #f5f5f7 0%, #f4f1f1 52%, #f3e7e8 100%) !important;
    color: #111827 !important;
    border-bottom: 1px solid #e7dede;
    overflow: hidden;
}

body:not(.is-home-fullpage) #page > section:first-of-type > div.absolute,
body:not(.is-home-fullpage) #page > article > section:first-of-type > div.absolute,
body:not(.is-home-fullpage) #page > div > section:first-of-type > div.absolute {
    opacity: 0.22 !important;
}

body:not(.is-home-fullpage) #page > section:first-of-type > div.absolute img,
body:not(.is-home-fullpage) #page > article > section:first-of-type > div.absolute img,
body:not(.is-home-fullpage) #page > div > section:first-of-type > div.absolute img {
    opacity: 0.08 !important;
}

body:not(.is-home-fullpage) #page > section:first-of-type h1,
body:not(.is-home-fullpage) #page > article > section:first-of-type h1,
body:not(.is-home-fullpage) #page > div > section:first-of-type h1 {
    color: #111827 !important;
}

body:not(.is-home-fullpage) #page > section:first-of-type p,
body:not(.is-home-fullpage) #page > section:first-of-type .text-xl,
body:not(.is-home-fullpage) #page > section:first-of-type .text-gray-100,
body:not(.is-home-fullpage) #page > section:first-of-type .text-gray-200,
body:not(.is-home-fullpage) #page > article > section:first-of-type p,
body:not(.is-home-fullpage) #page > article > section:first-of-type .text-xl,
body:not(.is-home-fullpage) #page > article > section:first-of-type .text-gray-100,
body:not(.is-home-fullpage) #page > article > section:first-of-type .text-gray-200,
body:not(.is-home-fullpage) #page > div > section:first-of-type p,
body:not(.is-home-fullpage) #page > div > section:first-of-type .text-xl,
body:not(.is-home-fullpage) #page > div > section:first-of-type .text-gray-100,
body:not(.is-home-fullpage) #page > div > section:first-of-type .text-gray-200 {
    color: #6b7280 !important;
}

body:not(.is-home-fullpage) #page > section:first-of-type [id="hero-entrance-wrapper"],
body:not(.is-home-fullpage) #page > article > section:first-of-type [id="hero-entrance-wrapper"],
body:not(.is-home-fullpage) #page > div > section:first-of-type [id="hero-entrance-wrapper"] {
    box-sizing: border-box;
    width: 100%;
    padding-top: calc(var(--ancv-header-height) + 1rem) !important;
    padding-bottom: 2.75rem !important;
    transform: none !important;
    opacity: 1 !important;
}

.home-fullpage-main {
    position: relative;
}

.home-fullpage {
    position: relative;
}

.home-slide {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.home-slide--light {
    background:
        radial-gradient(circle at top right, rgba(197, 33, 38, 0.08), transparent 30%),
        linear-gradient(180deg, #fbfdff 0%, #f7f8fb 100%);
    color: var(--ancv-text-dark);
}

.home-slide--dark {
    background:
        radial-gradient(circle at top left, rgba(197, 33, 38, 0.25), transparent 32%),
        linear-gradient(135deg, #07111f 0%, #0b1d33 55%, #05090f 100%);
    color: #fff;
}

.home-slide__inner {
    position: relative;
    z-index: 1;
    max-width: var(--ancv-slide-max-width);
    margin: 0 auto;
    padding-left: var(--ancv-slide-padding-x);
    padding-right: var(--ancv-slide-padding-x);
}

.home-section-shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.home-slide__header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.home-slide__header--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.home-slide__header--compact {
    margin-bottom: 0;
}

.home-slide__lead,
.home-slide__summary {
    max-width: 40rem;
}

.home-slide__summary {
    color: var(--ancv-text-muted);
    line-height: 1.7;
}

.home-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-slide-eyebrow--accent {
    background: rgba(197, 33, 38, 0.08);
    color: var(--ancv-brand-red);
}

.home-slide-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0;
}

.home-slide-title--light,
.home-slide-subtitle--light {
    color: #fff;
}

.home-slide-subtitle {
    max-width: 48rem;
    margin: 0;
    color: var(--ancv-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button--primary {
    background: var(--ancv-brand-red);
    color: #fff;
    box-shadow: 0 20px 40px rgba(197, 33, 38, 0.25);
}

.home-button--primary:hover {
    background: var(--ancv-brand-red-dark);
    color: #fff;
}

.home-button--light {
    background: #fff;
    color: var(--ancv-brand-red);
}

.home-button--light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.home-button--ghost-light {
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.home-button--ghost-light:hover {
    background: #fff;
    color: var(--ancv-brand-red);
}

.home-button--ghost-dark {
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
    background: transparent;
}

.home-button--ghost-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.home-inline-link {
    color: var(--ancv-brand-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.home-inline-link:hover {
    color: var(--ancv-brand-red-dark);
}

.home-slide [data-slide-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-hero {
    min-height: 100svh;
    display: grid;
}

.home-slide--hero {
    padding: 0;
    background: #05090f;
}

.home-slide--hero .home-slide__inner {
    max-width: none;
    min-height: 100svh;
    padding-left: 0;
    padding-right: 0;
}

.home-hero__media,
.home-hero__overlay,
.home-hero__content {
    grid-area: 1 / 1;
}

.home-hero__media {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
}

.home-hero__video-frame {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.77vh;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.home-hero__overlay {
    position: relative;
    background:
        linear-gradient(110deg, rgba(5, 9, 15, 0.96) 0%, rgba(5, 9, 15, 0.82) 28%, rgba(5, 9, 15, 0.52) 56%, rgba(5, 9, 15, 0.3) 100%),
        linear-gradient(180deg, rgba(197, 33, 38, 0.18), rgba(5, 9, 15, 0.3));
}

.home-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    padding: clamp(1.5rem, 3vw, 3rem);
}

.home-hero__copy {
    max-width: 42rem;
    padding: clamp(1.25rem, 2vw, 2rem);
    margin-bottom: 100px;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, rgba(5, 9, 15, 0.14), rgba(5, 9, 15, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(3px);
    box-shadow: none;
}

.home-hero__title {
    margin: 1rem 0 1.25rem;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 800;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.home-hero__description {
    max-width: 36rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.8;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.home-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-hero__metric {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.home-hero__metric-value {
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 800;
}

.home-hero__metric-label {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    line-height: 1.5;
}

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

.home-about-card,
.home-proof-card,
.home-commitment-card {
    height: 100%;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.home-about-card {
    padding: 1.5rem;
}

.home-about-card__icon,
.home-proof-card__icon {
    width: 3.3rem;
    height: 3.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--ancv-brand-red) 0%, var(--ancv-brand-red-dark) 100%);
    color: #fff;
    margin-bottom: 1rem;
}

.home-about-card__title,
.home-proof-card__title,
.home-solution-card__title,
.home-commitment-card__title,
.home-activity-card__title,
.home-final-cta__title {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 800;
}

.home-about-card__description,
.home-proof-card__description,
.home-solution-card__description,
.home-commitment-card__description {
    margin: 0;
    color: var(--ancv-text-muted);
    line-height: 1.65;
}

.home-leadership-grid,
.home-commitments-grid,
.home-cta-activities__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.home-leadership-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.home-leadership-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-leadership-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-leadership-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ancv-brand-red);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-leadership-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem;
}

.home-leadership-card__name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.home-leadership-card__position {
    margin: 0;
    color: var(--ancv-brand-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-leadership-card__details {
    margin: 0;
    padding-left: 1rem;
    color: var(--ancv-text-muted);
    line-height: 1.7;
}

.home-slide--solutions::before,
.home-slide--cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(197, 33, 38, 0.2), transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08), transparent 20%);
    pointer-events: none;
}

.home-proof-partners {
    overflow: hidden;
    border-radius: 1.75rem;
}

.home-solutions-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-solution-card {
    position: relative;
    min-height: 15rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f172a;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.home-solution-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(197, 33, 38, 0.95) 0%, rgba(197, 33, 38, 0.22) 80%);
    z-index: 2;
}

.home-solution-card__image,
.home-solution-card__image img {
    width: 100%;
    height: 100%;
}

.home-solution-card__image {
    position: absolute;
    inset: 0;
}

.home-solution-card__image img {
    object-fit: cover;
    transition: transform 0.7s ease;
}

.home-solution-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background:
        linear-gradient(180deg, rgba(4, 9, 17, 0.08) 0%, rgba(4, 9, 17, 0.28) 45%, rgba(4, 9, 17, 0.84) 100%);
}

.home-solution-card__title {
    margin: 0;
    max-width: 12ch;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.home-solution-card:hover .home-solution-card__image img {
    transform: scale(1.06);
}

.home-solutions-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.home-solutions-footer__intro p {
    margin: 0.5rem 0 0;
    max-width: 40rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.home-solutions-footer__label {
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-solutions-footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-commitment-card {
    padding: 1.35rem;
}

.home-commitment-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.home-commitment-card__number {
    color: var(--ancv-brand-red);
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
}

.home-commitment-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    background: #fff1f2;
    color: var(--ancv-brand-red);
}

.home-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.home-proof-capabilities {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.home-proof-card {
    padding: 1.4rem;
}

.home-proof-testimonial {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, rgba(197, 33, 38, 0.08), rgba(197, 33, 38, 0.02));
    border: 1px solid rgba(197, 33, 38, 0.18);
}

.home-proof-testimonial__viewport {
    position: relative;
    display: grid;
    min-height: 9rem;
}

.home-proof-testimonial__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    animation: homeProofTestimonialFadeUp 0.45s ease-out;
}

.home-proof-testimonial__quote {
    color: rgba(197, 33, 38, 0.18);
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 800;
}

.home-proof-testimonial__content {
    margin: 0;
    color: var(--ancv-text-dark);
    font-size: 0.92rem;
    line-height: 1.6;
}

.home-proof-testimonial__meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    color: var(--ancv-text-muted);
}

.home-proof-testimonial__meta strong {
    font-size: 0.98rem;
}

.home-proof-testimonial__meta span {
    font-size: 0.88rem;
}

.home-proof-testimonial__dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-proof-testimonial__dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(197, 33, 38, 0.18);
    border: 0;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, width 0.25s ease;
}

.home-proof-testimonial__dot:hover,
.home-proof-testimonial__dot.is-active {
    background: var(--ancv-brand-red);
}

.home-proof-testimonial__dot.is-active {
    width: 2rem;
}

@keyframes homeProofTestimonialFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-proof-partners {
    overflow: hidden;
    border-radius: 1.75rem;
    --home-partner-gap: 1rem;
    --home-partner-visible: 2;
    display: grid;
    gap: 1rem;
}

.home-proof-partners__marquee {
    display: grid;
    gap: var(--home-partner-gap);
}

.home-proof-partners__row {
    display: flex;
    gap: var(--home-partner-gap);
    width: max-content;
    will-change: transform;
}

.home-proof-partners__row--forward {
    animation: homePartnerMarqueeForward 26s linear infinite;
}

.home-proof-partners__row--reverse {
    animation: homePartnerMarqueeReverse 30s linear infinite;
}

.home-proof-partners__set {
    flex: 0 0 auto;
    min-width: max-content;
    display: grid;
    grid-template-columns: repeat(var(--home-partner-visible), 150px);
    gap: var(--home-partner-gap);
    padding: 0.35rem;
}

.home-proof-partners__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    max-width: 150px;
    min-width: 150px;
    height: 5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.home-proof-partners__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes homePartnerMarqueeForward {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - (var(--home-partner-gap) / 2)));
    }
}

@keyframes homePartnerMarqueeReverse {
    from {
        transform: translateX(calc(-50% - (var(--home-partner-gap) / 2)));
    }
    to {
        transform: translateX(0);
    }
}

.home-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.home-cta-activities,
.home-final-cta {
    border-radius: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    padding: 1.9rem;
}

.home-activity-card {
    overflow: hidden;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-activity-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.home-activity-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.home-activity-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-activity-card__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem 1.4rem 1.55rem;
}

.home-activity-card__category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-activity-card__title {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 700;
    max-width: 16rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-activity-card__date,
.home-final-cta__description,
.home-final-cta__contact-label,
.home-compact-footer {
    color: rgba(255, 255, 255, 0.76);
}

.home-cta-activities .home-slide__header {
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.home-cta-activities .home-slide-title {
    font-size: clamp(2.4rem, 4.6vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 12ch;
}

.home-cta-activities__grid {
    gap: 1.35rem;
}

.home-final-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05)),
        linear-gradient(135deg, rgba(197, 33, 38, 0.22), rgba(5, 9, 15, 0.3));
}

.home-final-cta__title {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.home-final-cta__description {
    margin: 0;
    line-height: 1.75;
}

.home-final-cta__actions,
.home-final-cta__contact,
.home-compact-footer,
.home-compact-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.home-final-cta__contact {
    gap: 1.25rem;
}

.home-final-cta__contact-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-final-cta__contact-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.home-compact-footer {
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
}

.home-compact-footer p {
    margin: 0;
}

.home-compact-footer__links a {
    color: rgba(255, 255, 255, 0.84);
}

.home-compact-footer__links a:hover {
    color: #fff;
}

.home-slide--footer {
    background:
        radial-gradient(circle at top right, rgba(197, 33, 38, 0.1), transparent 24%),
        linear-gradient(180deg, #fafafb 0%, #f1f3f5 100%);
    color: #111827;
}

.home-footer-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-slide-nav {
    position: fixed;
    top: 50%;
    right: 1.4rem;
    z-index: 70;
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
}

.home-slide-nav__dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.home-slide-nav__dot:hover,
.home-slide-nav__dot[aria-current="true"] {
    transform: scale(1.15);
    background: var(--ancv-brand-red);
    border-color: var(--ancv-brand-red);
}

@media (min-width: 768px) {
    :root {
        --ancv-slide-padding-x: 1.5rem;
        --ancv-slide-padding-y: 2.5rem;
    }

    .home-slide__header--split,
    .home-proof-grid,
    .home-cta-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .home-about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-proof-partners {
        --home-partner-visible: 4;
    }

    .home-leadership-grid,
    .home-commitments-grid,
    .home-cta-activities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-proof-capabilities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    :root {
        --ancv-slide-padding-x: 2.25rem;
        --ancv-slide-padding-y: 2rem;
    }

    body.is-home-fullpage.home-fullpage-ready {
        overflow: hidden;
    }

    body.is-home-fullpage.home-fullpage-ready #page {
        min-height: 100svh;
        position: relative;
    }

    body.is-home-fullpage.home-fullpage-ready .home-fullpage-main {
        display: flex;
        flex-direction: column;
        min-height: 100svh;
    }

    body.is-home-fullpage.home-fullpage-ready #main-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 80;
        background: rgba(7, 17, 31, 0.72);
        border-color: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(18px);
        transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.3s ease, border-color 0.3s ease;
    }

    body.is-home-fullpage.home-fullpage-ready #main-header.header-active {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(209, 213, 219, 0.75);
    }

    body.is-home-fullpage.home-fullpage-ready #main-header.home-header-hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-100%);
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide-nav {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    body.is-home-fullpage.home-fullpage-ready #home-fullpage {
        flex: 1 1 auto;
        height: 100svh;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }

    body.is-home-fullpage.home-fullpage-ready #home-fullpage::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide {
        min-height: 100svh;
        padding-top: 1rem;
        padding-bottom: 1.5rem;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide--hero {
        min-height: 100svh;
        padding: 0;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide__inner {
        min-height: calc(100svh - 2.5rem);
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide--hero .home-slide__inner,
    body.is-home-fullpage.home-fullpage-ready .home-slide--hero .home-hero,
    body.is-home-fullpage.home-fullpage-ready .home-slide--hero .home-hero__media {
        min-height: 100svh;
    }

    body.is-home-fullpage.home-fullpage-ready .home-section-shell {
        gap: 1.5rem;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide [data-slide-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide.is-active [data-slide-reveal] {
        opacity: 1;
        transform: translateY(0);
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide.is-active [data-slide-reveal="1"] {
        transition-delay: 0.05s;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide.is-active [data-slide-reveal="2"] {
        transition-delay: 0.12s;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide.is-active [data-slide-reveal="3"] {
        transition-delay: 0.18s;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide.is-active [data-slide-reveal="4"] {
        transition-delay: 0.24s;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide.is-active [data-slide-reveal="5"] {
        transition-delay: 0.3s;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide.is-active [data-slide-reveal="6"] {
        transition-delay: 0.36s;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide.is-active [data-slide-reveal="7"] {
        transition-delay: 0.42s;
    }

    body.is-home-fullpage.home-fullpage-ready .home-about-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    body.is-home-fullpage.home-fullpage-ready .home-solutions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    body.is-home-fullpage.home-fullpage-ready .home-proof-partners {
        --home-partner-visible: 8;
    }

    body.is-home-fullpage.home-fullpage-ready .home-slide:not(.is-active) .home-proof-partners__row {
        animation-play-state: paused;
    }

    body.is-home-fullpage.home-fullpage-ready .home-leadership-grid,
    body.is-home-fullpage.home-fullpage-ready .home-commitments-grid,
    body.is-home-fullpage.home-fullpage-ready .home-cta-activities__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.is-home-fullpage.home-fullpage-ready .home-cta-grid {
        grid-template-columns: minmax(0, 1.28fr) minmax(21rem, 0.72fr);
        align-items: stretch;
        gap: 2rem;
    }

    body.is-home-fullpage.home-fullpage-ready .home-cta-activities,
    body.is-home-fullpage.home-fullpage-ready .home-final-cta {
        min-height: 0;
    }

}

@media (max-width: 1023.98px) {
    .home-slide-nav {
        display: none !important;
    }

    .home-hero__media,
    .home-hero__overlay {
        border-radius: 0;
    }

    .home-hero__copy {
        margin-bottom: 2rem;
        border-radius: 1.25rem;
    }

    .home-hero__metrics,
    .home-compact-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slide [data-slide-reveal],
    .home-slide-nav__dot,
    .home-button,
    .home-proof-partners__row {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    body.is-home-fullpage.home-fullpage-ready #page {
        scroll-behavior: auto;
    }
}
