* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    overflow-x: hidden;
}

.font-accent {
    font-family: 'Poppins', sans-serif;
}

section[id] {
    scroll-margin-top: 5rem;
}

/* â”€â”€ HERO â”€â”€ */
.hero-bg {
    background-image: url('../plena.jpg');
    background-size: cover;
    background-position: center 40%;
}

@media (min-width: 768px) {
    .hero-bg {
        background-attachment: fixed;
    }
}

.hero-overlay {
    background: linear-gradient(160deg,
            rgba(3, 1, 19, 0.92) 0%,
            rgba(0, 1, 6, 0.55) 60%,
            rgba(16, 6, 0, 0.35) 100%);
}

.gradient-text {
    background: linear-gradient(90deg, #f17a02, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* â”€â”€ SCROLL INDICATOR â”€â”€ */
@keyframes bounce-down {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.bounce-down {
    animation: bounce-down 1.6s ease-in-out infinite;
}

/* â”€â”€ SERVICE CARDS â”€â”€ */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}

.service-card:hover {
    transform: translateY(8px);
}

.service-card-orange:hover { box-shadow: 0 24px 48px -8px rgba(242, 106, 27, .18); }

.service-card-navy:hover { box-shadow: 0 24px 48px -8px rgba(6, 26, 53, .18); }

.service-card-gold:hover { box-shadow: 0 24px 48px -8px rgba(214, 162, 58, .18); }

/* â”€â”€ GRADIENT BG (timeline) â”€â”€ */
.gradient-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1e293b 100%);
}

/* â”€â”€ TIMELINE â”€â”€ */
.timeline-item {
    position: relative;
    padding-left: 1.75rem;
    border-left: 2px solid rgba(255, 255, 255, .12);
    margin-left: 10px;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d55b1a;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, .2);
}

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

/* â”€â”€ INFINITE MARQUEE CAROUSEL â”€â”€ */
.marquee-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 54%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 54%, transparent);
}

.marquee-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: marquee 80s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-card {
    flex-shrink: 0;
    width: 340px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* â”€â”€ MODAL â”€â”€ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 540px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

/* â”€â”€ ANIMATIONS â”€â”€ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp .9s cubic-bezier(.4, 0, .2, 1) both;
}

/* â”€â”€ SCROLL REVEAL â”€â”€ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* â”€â”€ COOKIE CONSENT ANIMATIONS â”€â”€ */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp .5s ease-out forwards;
}
