/* ============================================
   DELUXE TEP - Custom Styles
   ============================================ */

/* ── FONTS ────────────────────────────────── */
body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Serif headings for h1 and h2 — premium look */
h1, h2 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
}

/* Section eyebrow labels */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0891b2;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #0891b2;
    border-radius: 999px;
    flex-shrink: 0;
}

/* ── SMOOTH SCROLL ────────────────────────── */
html {
    scroll-behavior: smooth;
}

/* ── SCROLL ANIMATIONS ────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid children */
.grid .animate-on-scroll:nth-child(2) { transition-delay: 0.07s; }
.grid .animate-on-scroll:nth-child(3) { transition-delay: 0.14s; }
.grid .animate-on-scroll:nth-child(4) { transition-delay: 0.21s; }
.grid .animate-on-scroll:nth-child(5) { transition-delay: 0.28s; }
.grid .animate-on-scroll:nth-child(6) { transition-delay: 0.35s; }
.grid .animate-on-scroll:nth-child(7) { transition-delay: 0.42s; }
.grid .animate-on-scroll:nth-child(8) { transition-delay: 0.49s; }

/* ── ACCESSIBILITY ────────────────────────── */
*:focus-visible {
    outline: 2px solid #0891b2;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── SELECT DROPDOWN ──────────────────────── */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* ── MOBILE CTA ───────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    #mobile-cta {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    @media (max-width: 767px) {
        footer {
            padding-bottom: calc(80px + env(safe-area-inset-bottom));
        }
    }
}

@media (max-width: 767px) {
    footer {
        padding-bottom: 80px;
    }
}
