:root {
    --brand-navy: #052447;
    --brand-sky: #00b5e2;
    --brand-sand: #ffe7c2;
    --brand-coral: #ff7c72;
    --brand-leaf: #8ad6cb;
    --surface: #f7fbff;
    --brand-orange: #f6a623;
    --brand-orange-light: #ffd089;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 231, 194, 0.55), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(0, 181, 226, 0.18), transparent 48%),
        radial-gradient(circle at 80% 65%, rgba(138, 214, 203, 0.22), transparent 40%),
        var(--surface);
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
}

.glass-panel {
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-shadow: 0 28px 90px rgba(5, 36, 71, 0.12);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, background 280ms ease;
}

.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.65), transparent 55%),
                linear-gradient(140deg, rgba(0, 181, 226, 0.18), rgba(255, 231, 194, 0.08));
    opacity: 0.9;
    pointer-events: none;
}

.glass-panel > * {
    position: relative;
    z-index: 1;
}

.floating-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(5, 36, 71, 0.08);
    box-shadow: 0 12px 40px rgba(5, 36, 71, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1.5rem;
    left: 1.5rem;
    border-radius: 24px;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-shadow: 0 30px 110px rgba(5, 36, 71, 0.15);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.is-visible {
    display: flex;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #052447;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-line + .hamburger-line {
    margin-top: 4px;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero-shell {
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(138, 214, 203, 0.2));
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-shadow: 0 35px 120px rgba(5, 36, 71, 0.16);
    border-radius: 32px;
}

.hero-visual {
    background: url('../images/hero.jpg') center/cover no-repeat;
    border-radius: 32px;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(5, 36, 71, 0.1), rgba(255, 255, 255, 0));
}

.hero-pill {
    letter-spacing: 0.25em;
}

.division-card {
    border-radius: 28px;
    --glass-bg: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 25px 80px rgba(5, 36, 71, 0.14);
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.division-card:hover {
    border-color: rgba(0, 181, 226, 0.55);
    box-shadow: 0 35px 110px rgba(5, 36, 71, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.45);
}

.division-card:hover::before {
    opacity: 1;
}

.about-card {
    border-radius: 26px;
    --glass-bg: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 20px 70px rgba(5, 36, 71, 0.12);
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.about-card:hover {
    --glass-bg: rgba(255, 255, 255, 0.45);
    box-shadow: 0 35px 110px rgba(5, 36, 71, 0.2);
}

.about-card:hover::before {
    opacity: 1;
}

.results-bg {
    background: linear-gradient(125deg, rgba(0, 181, 226, 0.12), rgba(255, 124, 114, 0.08)), url('../images/results.webp');
    background-position: center;
    background-size: cover;
}

.counter-tile {
    border-radius: 26px;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 28px 90px rgba(4, 28, 56, 0.12);
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.counter-tile:hover {
    box-shadow: 0 35px 110px rgba(4, 28, 56, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.45);
}

.counter-tile.is-auto-hover {
    box-shadow: 0 35px 110px rgba(4, 28, 56, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.45);
}

.counter-tile [data-counter-value] {
    color: var(--brand-orange);
}


.hero-quick-card {
    border-radius: 22px;
    --glass-bg: rgba(255, 255, 255, 0.32);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 20px 60px rgba(5, 36, 71, 0.1);
}

.contact-shell {
    border-radius: 34px;
    --glass-bg: rgba(255, 255, 255, 0.32);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 35px 110px rgba(5, 36, 71, 0.16);
}

.btn-secondary {
    background: var(--brand-orange);
    border: 1px solid var(--brand-orange);
    color: white;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-secondary:hover {
    background: var(--brand-orange-light);
    border-color: var(--brand-orange-light);
    color: white;
}

[data-hero-claim], [data-fade-in] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 650ms ease, transform 650ms ease;
}

[data-hero-claim].is-visible,
[data-fade-in].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-hover {
    transform: translateY(0);
}

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

.card-hover.is-auto-hover {
    transform: translateY(-12px);
}
