/* Self-hosted Inter with local bold fallbacks for Lockdown Mode */
/* Named 'DSFont' to avoid conflicts with cached Google Fonts 'Inter' declarations */
@font-face {
    font-family: 'DSFont';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Helvetica Neue'), local('HelveticaNeue'), local('Arial'),
         url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DSFont';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Helvetica Neue Medium'), local('HelveticaNeue-Medium'), local('Arial'),
         url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DSFont';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'), local('Arial Bold'), local('Arial-BoldMT'),
         url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DSFont';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'), local('Arial Bold'), local('Arial-BoldMT'),
         url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DSFont';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Helvetica Neue'), local('Arial'),
         url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'DSFont';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'), local('Arial Bold'),
         url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-900: #0f172a;
    --blue: #094DB2;
    --blue-dark: #073a87;
    --blue-light: #1a6fd9;
}

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
    overflow-x: hidden;
}

body {
    font-family: 'DSFont', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid var(--gray-100);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

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

.logo img {
    height: 22px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--black); }

.nav-links .btn {
    color: var(--white);
}

.nav-links .btn:hover {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--black);
}

/* Footer */
footer {
    padding: 3rem 0;
    background: var(--gray-900);
    color: var(--gray-400);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 0.875rem;
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--blue);
}

.hero-sub {
    font-size: 1.375rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Philosophy */
.philosophy {
    padding: 8rem 0;
    background: var(--gray-50);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--blue);
}

.philosophy-item p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
}

/* Combined section: Belief + About + Results */
.about-section {
    background: var(--gray-50);
    padding: 6rem 0;
}

/* Belief */
.belief {
    padding-bottom: 4rem;
}

.belief-content {
    text-align: center;
}

.belief h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.belief p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* About */
.about {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1rem;
    max-width: 850px;
    margin: 0 auto;
    align-items: center;
}

.about-photo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    overflow: hidden;
    position: relative;
    margin-right: -80px;
    z-index: 1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-photo::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    opacity: 0.3;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    background: var(--white);
    padding: 2.5rem 2.5rem 2.5rem 5rem;
    border-radius: 12px;
    margin-left: -20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-text p {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Services */
.services {
    padding: 8rem 0;
    background: var(--gray-900);
    color: var(--white);
}

.services-header {
    margin-bottom: 4rem;
}

.services-header h2 {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.services-header p {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    max-width: 600px;
}

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

.service-item {
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.service-item:hover {
    border-color: rgba(255,255,255,0.3);
}

.service-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--blue-light);
}

.service-item p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.7;
}

/* Results */
.results {
    padding-top: 4rem;
    display: none;
}

.results-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.results-header h2 {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
}

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

.result-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--blue);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.result-quote {
    font-size: 1rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.result-author {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Credentials */
.credentials {
    padding: 5rem 0;
    background: var(--gray-50);
}

.credentials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.credentials-header p {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
}

.certs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.certs-grid img {
    height: 5rem;
    transition: transform 0.3s;
}

.certs-grid img:hover {
    transform: scale(1.1);
}

/* CTA */
.cta {
    padding: 8rem 0;
    text-align: center;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }

    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .philosophy-grid,
    .services-grid,
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero { padding: 7rem 0 4rem; }
    .philosophy, .belief, .services, .cta { padding: 5rem 0; }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-photo {
        margin: 0 auto 1rem;
        width: 200px;
        height: 200px;
    }

    .about-text {
        margin-left: 0;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .philosophy-grid,
    .services-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
