/* --- Base Reset & Variables --- */
:root {
    --bg-color: #000000;
    --text-color: #f5f5f5;
    --text-muted: #888888;
    --border-color: #222222;
    --accent-color: #ffffff;
    --accent-bg: #111111;
    
    --font-main: 'Inter', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 800px;
}

.mb-large {
    margin-bottom: 4rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* --- Buttons --- */
.btn-solid {
    display: inline-block;
    background: var(--text-color);
    color: var(--bg-color);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.btn-solid:hover {
    background: #cccccc;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 4vw;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 4vw;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-links a:not(.btn-solid) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:not(.btn-solid):hover {
    color: var(--text-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4vw;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.4;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 4vw;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.hero-scroll-indicator .line {
    width: 50px;
    height: 1px;
    background: var(--text-muted);
}

/* --- Philosophy Section --- */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.philosophy-features {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    border-left: 1px solid var(--border-color);
    padding-left: 3rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Services Accordion --- */
.accordion {
    border-top: 1px solid var(--border-color);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.accordion-header {
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
}

.accordion-header .icon {
    font-size: 2rem;
    font-weight: 300;
    transition: transform var(--transition);
}

.accordion-header:hover {
    padding-left: 1rem;
}

.accordion-item.active .accordion-header {
    padding-left: 1rem;
    color: var(--text-color);
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px; /* arbitrary high number */
    opacity: 1;
    padding-bottom: 3rem;
    padding-left: 1rem;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1rem;
}

.service-block {
    background: var(--accent-bg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.service-block h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.service-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- CTA Section --- */
.cta-box {
    background: var(--text-color);
    color: var(--bg-color);
    padding: 6rem 4vw;
    text-align: center;
    border-radius: 4px;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.cta-box .btn-solid {
    background: var(--bg-color);
    color: var(--text-color);
}

.cta-box .btn-solid:hover {
    background: #222222;
}

/* --- Footer --- */
.footer {
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-brand .logo {
    display: inline-block;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-contact a, .footer-address address {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-style: normal;
}

.footer-contact a:hover {
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-features {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 3rem;
    }
    
    .service-details {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        gap: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Legal Pages --- */
.legal-page {
    padding-top: 10rem;
    padding-bottom: 8rem;
    min-height: 80vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.legal-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.legal-section p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.legal-list {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.legal-list li {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

.legal-link {
    color: var(--text-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--text-muted);
}

