/* Explain: Reusable UI component styles, including buttons, cards, and navigation elements. */
.site-header {
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-link {
    position: relative;
    transition: color 300ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -0.35rem;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-dropdown-panel {
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 6px);
    transition: opacity 250ms ease, transform 250ms ease, visibility 250ms ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 2px;
    background: var(--primary-color);
    content: "";
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.card-soft {
    border: 1px solid var(--border-color);
    border-radius: 1.9rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(52, 51, 74, 0.16);
}

.brand-button {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-button);
    transition: background 300ms ease, transform 300ms ease;
}

.brand-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.hero-scrim {
    background: linear-gradient(100deg, rgba(30, 29, 46, 0.92) 0%, rgba(30, 29, 46, 0.64) 55%, rgba(30, 29, 46, 0.32) 100%);
}

.heroSwiper {
    --swiper-navigation-color: #ffffff;
    --swiper-pagination-color: var(--primary-color);
    --swiper-navigation-size: 18px;
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.heroSwiper .swiper-pagination {
    bottom: 2rem !important;
}

.filter-button {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    padding: 0.6rem 1.15rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 300ms ease;
}

.filter-button:hover {
    border-color: var(--primary-color);
    color: var(--text-color);
}

.filter-button.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-status.success {
    color: #3F7A5A;
}

.form-status.error {
    color: #C23B2E;
}

.media-frame {
    overflow: hidden;
    border-radius: 1.6rem;
    background: var(--surface-color);
}

.article-body p {
    margin-bottom: 1.1rem;
    line-height: 2;
}

.article-body h2,
.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 700;
}

.article-body h2 {
    font-size: 1.4rem;
}

.article-body h3 {
    font-size: 1.15rem;
}

.article-body ul {
    margin: 1rem 0;
    padding-left: 1.4rem;
    list-style: disc;
}

.timeline-item {
    position: relative;
    padding-left: 1.9rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid var(--border-color);
}

.timeline-item::before {
    position: absolute;
    left: -0.45rem;
    top: 0.2rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    background: var(--primary-color);
    content: "";
}

.timeline-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4);
    transition: transform 300ms ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
}

.is-hidden {
    display: none !important;
}