/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fff;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1a2e;
}
::-webkit-scrollbar-thumb {
    background: #243656;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a843;
}

/* ── Typography ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #d4a843;
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #d4a843;
}
.section-label.justify-center {
    margin-left: auto;
    margin-right: auto;
}
.section-label.justify-center::before {
    display: none;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ── Header ── */
#header {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#header.scrolled {
    background: rgba(15, 26, 46, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Mobile Menu ── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}
#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

/* ── Hero ── */
.hero-gradient-orb,
.hero-gradient-orb2 {
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-gradient-orb2 {
    animation-delay: -4s;
    animation-duration: 10s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-headline {
    opacity: 0;
    transform: translateY(40px);
    animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.hero-badge {
    opacity: 0;
    transform: translateY(20px);
    animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero-ctas {
    opacity: 0;
    transform: translateY(20px);
    animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
@keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.cta-primary {
    position: relative;
    overflow: hidden;
}
.cta-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cta-primary:hover::after {
    opacity: 1;
}

/* ── Service Cards ── */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.5s ease, border-color 0.5s ease;
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-4px) !important;
}

/* ── Why Items ── */
.why-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.why-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Contact Info ── */
.contact-info {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Image Hover ── */
aspect-ratio {
    display: block;
}
.aspect-\[4\/5\] img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.aspect-\[4\/5\]:hover img {
    transform: scale(1.03);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

/* ── Focus Styles ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}
