:root {
    --accent: #D6454A;
    --muted: #6B7280;
    --light-font: #f7f7f7;
    --dark-font: #222;
    --logo: #0f0;
    --hero-overlay-start: rgba(2, 8, 23, 0.04);
    --hero-overlay-end: rgba(2, 8, 23, 0.82);
    --hero-text-color: #f8fafc;
    --hero-excerpt-color: #e2e8f0;
    --hero-image-brightness: 1;
    --hero-image-hover-brightness: 0.65;
    --max-width: 1100px;
    --gap: 1.25rem;
    --radius: 12px;
}

html[data-theme="dark"] {
    --hero-overlay-start: rgba(2, 8, 23, 0.2);
    --hero-overlay-end: rgba(2, 8, 23, 0.95);
    --hero-text-color: #f8fafc;
    --hero-excerpt-color: #e2e8f0;
    --hero-image-brightness: 0.92;
    --hero-image-hover-brightness: 0.58;
}










.cta {
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(214, 69, 74, 0.4), 0 2px 4px -2px rgba(214, 69, 74, 0.2);
    margin: auto;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.4s ease;
    background: linear-gradient(
        120deg, 
        #008753 0%, 
        #518773 45%, 
        #518773 50%, 
        #008753 55%, 
        #008753 100%
    );
    background-size: 250% 100%;
    background-position: 100% 0;
}


.cta ion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}


@media (hover: hover) {
    .cta:hover {
        background-position: 0 0;
        transform: translateX(5px);
        text-decoration: none;
    }
    
    .cta:hover ion-icon {
        transform: translateX(3px);
    }
}







/* LAYOUT CONTAINER */
.site {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--gap);
}








/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    align-items: end;
    margin: 1.5rem 0 2rem
}

.hero-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(var(--hero-image-brightness));
}

.hero-image:hover {
    filter: brightness(var(--hero-image-hover-brightness));
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(180deg, var(--hero-overlay-start), var(--hero-overlay-end));
    color: var(--hero-text-color);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-title {
    font-size: 2rem;
    margin: 0 0 0.25rem;
    color: var(--hero-text-color);
}

.hero-excerpt {
    margin: 0;
    font-size: 1rem;
    color: var(--hero-excerpt-color);
}

.hero-skeleton {
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.08);
}

.hero-skeleton-media,
.hero-skeleton-line {
    background: linear-gradient(
        100deg,
        color-mix(in srgb, var(--surface-soft) 84%, transparent) 14%,
        color-mix(in srgb, var(--surface-bg) 96%, #ffffff 4%) 44%,
        color-mix(in srgb, var(--surface-soft) 84%, transparent) 70%
    );
    background-size: 250% 100%;
    animation: hero-skeleton-shimmer 1.35s ease-in-out infinite;
}

.hero-skeleton-media {
    width: 100%;
    height: 420px;
}

.hero-skeleton-overlay {
    display: grid;
    gap: 0.6rem;
}

.hero-skeleton-line {
    height: 0.95rem;
    border-radius: 999px;
}

.hero-skeleton-line.kicker {
    width: 18%;
    height: 0.64rem;
}

.hero-skeleton-line.title {
    width: 76%;
    height: 1.25rem;
}

.hero-skeleton-line.subtitle {
    width: 92%;
    height: 1rem;
}

.hero-skeleton-line.meta {
    width: 62%;
    height: 0.74rem;
}

.hero-status {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--border-color) 75%, transparent);
    background: linear-gradient(120deg, var(--surface-soft), color-mix(in srgb, var(--surface-bg) 92%, transparent));
    color: var(--muted);
}

@keyframes hero-skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}







/* MOBILE OVERRIDES */
@media (max-width: 980px) {
    .hero-image {
        height: 320px;
    }

    .hero-skeleton-media {
        height: 320px;
    }
}

@media (max-width: 620px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-image {
        height: 240px;
    }

    .hero-skeleton-media {
        height: 240px;
    }

    .hero-skeleton-line.title {
        width: 90%;
    }

    .hero-skeleton-line.subtitle {
        width: 96%;
    }

    .hero-skeleton-line.meta {
        width: 74%;
    }

    .contact-nav-item {
        display: none !important;
    }
}

