*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    --maxw: 1100px;
    --content-width: 1100px;
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;
    --s-xs: 4px;
    --s-sm: 8px;
    --s-md: 16px;
    --s-lg: 24px;
    --s-xl: 40px;
    --s-2xl: 64px;
    --s-3xl: 96px;
    --s-4xl: 128px;
    --border-col: #E0E0E6;
    --tag-bg: #FDEDEF;
    --tag-fg: #9A1F27;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--s-lg);
}

.section-pad {
    padding: var(--s-3xl) 0;
}

@media (max-width:800px)
/* responsive */
    {
    .section-pad {
        padding: var(--s-2xl) 0;
    }
}

.section-head {
    max-width: 720px;
    margin-bottom: var(--s-2xl);
}

.section-head .eyebrow {
    color: var(--hicolor);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 14px;
}

.section-head h2 {
    margin: 0 0 16px;
}

.section-head .lead {
    color: var(--locolor);
    font-size: 17px;
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--r-full);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--hicolor);
    color: #fff;
}

.btn-primary:hover {
    background: var(--hovercolor);
}

.btn-outline-light {
    background: transparent;
    color: var(--color);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
    border-color: var(--color);
    background: rgba(255, 255, 255, 0.06);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tag-bg);
    color: var(--tag-fg);
    padding: 4px 14px;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-lg);
}

@media (max-width:800px)
/* responsive */
    {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--bgcolor);
    border: 1px solid var(--border-col);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1);
    transition-delay: var(--delay, 0ms);
    will-change: opacity, transform;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.float-card.reveal {
    transform: translateY(14px) scale(.96);
}

.float-card.reveal.in {
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
