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

:root {
    --navy: #1E3A5F;
    --navy-light: #2A4F7A;
    --navy-dark: #152B45;
    --gold: #D4A853;
    --gold-light: #E8C97A;
    --gold-dark: #B8912E;
    --cream: #F8F6F3;
    --cream-dark: #EDE8E0;
    --sage: #E8EDE6;
    --blush: #F5F0EE;
    --sky: #EEF4F8;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(30, 58, 95, 0.06);
    --shadow-md: 0 4px 20px rgba(30, 58, 95, 0.08);
    --shadow-lg: 0 8px 40px rgba(30, 58, 95, 0.12);
    --shadow-xl: 0 16px 60px rgba(30, 58, 95, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 40px; }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.25;
    color: var(--navy);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
    font-weight: 600;
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-white-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 246, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(248, 246, 243, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--navy);
    background: rgba(30, 58, 95, 0.06);
}

.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    margin-left: 8px;
}
.nav-cta:hover {
    background: var(--navy-light) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 767px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
    }
    .nav-menu.open { right: 0; }
    .nav-link { width: 100%; padding: 12px 16px; font-size: 1rem; }
    .nav-cta { margin-left: 0; margin-top: 12px; text-align: center; }
}

/* Hero */
.hero {
    padding-top: 76px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 50%, var(--sky) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 168, 83, 0.12);
    color: var(--gold-dark);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    opacity: 0.3;
    z-index: -1;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 5/6;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: block;
}

.hero-image-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 280px;
}

.hic-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.hic-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 8px;
}

.hic-name {
    font-size: 0.82rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

@media (max-width: 967px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image-wrapper { max-width: 480px; margin: 0 auto; }
    .hero-image-card { left: 20px; bottom: 20px; }
}

/* Section shared */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    border: 1px solid rgba(30, 58, 95, 0.04);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sky);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--navy);
}
.service-card:hover .service-icon svg path,
.service-card:hover .service-icon svg circle,
.service-card:hover .service-icon svg rect,
.service-card:hover .service-icon svg polyline,
.service-card:hover .service-icon svg line {
    stroke: white;
}
.service-card:hover .service-icon svg path[fill] {
    fill: white;
    opacity: 0.2;
}
.service-card:hover .service-icon svg circle[fill] {
    fill: white;
    opacity: 0.2;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
}

@media (max-width: 967px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 567px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* About */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img-accent {
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 60%;
    height: 40%;
    background: var(--sage);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-stat-card {
    position: absolute;
    top: 32px;
    right: -32px;
    background: var(--navy);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-lg);
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
}

.about-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
}

.about-content-col { max-width: 520px; }

.about-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.88rem;
    color: var(--text-light);
}

@media (max-width: 967px) {
    .about-container { grid-template-columns: 1fr; gap: 48px; }
    .about-content-col { max-width: 100%; }
    .about-stat-card { right: 16px; }
}

/* Experience */
.experience {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--sage) 100%);
}

.experience-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 40px 28px;
    background: rgba(255,255,255,0.6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.step:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.step-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
}

@media (max-width: 767px) {
    .experience-steps { grid-template-columns: 1fr; gap: 20px; }
}

/* CTA */
.cta {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}
.cta-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--gold);
    top: -200px;
    right: -100px;
}
.cta-blob-2 {
    width: 300px;
    height: 300px;
    background: var(--gold-light);
    bottom: -100px;
    left: -50px;
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.contact-detail-item:hover .contact-detail-value { color: var(--navy); }

.contact-detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--sky);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.6;
}

/* Form */
.contact-form {
    background: var(--cream);
    padding: 44px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(30, 58, 95, 0.05);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(30, 58, 95, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #E8F5E9;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-size: 0.92rem;
    color: #2E7D32;
    line-height: 1.6;
}
.form-success strong { display: block; margin-bottom: 2px; }

@media (max-width: 967px) {
    .contact-container { grid-template-columns: 1fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-phone {
    color: var(--gold) !important;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}
.footer-phone:hover { color: var(--gold-light) !important; }

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-hours {
    margin-top: 12px !important;
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.5) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.footer-disclaimer {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.3) !important;
    max-width: 400px;
    text-align: right;
}

@media (max-width: 967px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 567px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-disclaimer { text-align: center; }
}

/* Mobile CTA */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: var(--white);
    border-top: 1px solid rgba(30, 58, 95, 0.08);
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 767px) {
    .mobile-cta { display: block; }
    body { padding-bottom: 76px; }
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 998;
}
.back-to-top:hover {
    background: var(--gold);
    transform: translateY(-3px);
}
.back-to-top[hidden] { display: none; }

@media (max-width: 767px) {
    .back-to-top { bottom: 88px; }
}

/* Animations */
.reveal-up,
.reveal-left {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left {
    transform: translateX(-30px);
}

.reveal-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up.visible,
    .reveal-left.visible {
        opacity: 1;
        transform: translate(0);
    }
    .reveal-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
}
.nav-overlay.active { display: block; }
