/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ── Header ── */
#site-header {
    box-shadow: 0 1px 0 rgba(10, 35, 66, 0.06);
}
#site-header.scrolled {
    box-shadow: 0 4px 20px rgba(10, 35, 66, 0.08);
}

/* ── Mobile Menu ── */
.menu-line { display: block; }
#mobile-menu.open .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
#mobile-menu.open .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 1.25rem;
}

/* ── Hero Circles ── */
.circle-accent {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.circle-accent-1 {
    width: 600px; height: 600px;
    top: -200px; right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}
.circle-accent-2 {
    width: 400px; height: 400px;
    bottom: -100px; left: -100px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.1) 0%, transparent 70%);
    animation: float-slow 15s ease-in-out infinite reverse;
}
.circle-accent-3 {
    width: 200px; height: 200px;
    top: 40%; left: 55%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.12) 0%, transparent 70%);
    animation: float-slow 12s ease-in-out infinite;
}
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* ── Service Cards ── */
.service-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid rgba(10, 35, 66, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(10, 35, 66, 0.1);
}

/* ── Insurance Cards ── */
.insurance-card {
    border: 1px solid rgba(10, 35, 66, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.insurance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10, 35, 66, 0.08);
}

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.16s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.24s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.32s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.40s; }

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid #5EEAD4;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .circle-accent-1 { width: 300px; height: 300px; }
    .circle-accent-2 { width: 200px; height: 200px; }
    .circle-accent-3 { width: 120px; height: 120px; }
}

/* ── Select Arrow ── */
select.appearance-none {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
