:root {
    --primary: #2D3E33;
    --primary-dark: #1E2B23;
    --secondary: #C5A059;
    --secondary-light: #D4B67F;
    --accent: #D47559;
    --bg-light: #F9F7F2;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1B;
    --text-muted: #4A4A4A;
    --glass: rgba(255, 255, 255, 0.8);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container: 1200px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.section {
    padding: 100px 0;
    position: relative;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.section-title {
    font-size: 48px;
    margin-bottom: 24px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin-top: 16px;
}

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

.section-title.text-center::after {
    margin: 16px auto 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
}

.logo span {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

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

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    text-align: center;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 72px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-img {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

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

.philosophy-split {
    display: flex;
    align-items: center;
    gap: 80px;
}

.philosophy-content {
    flex: 1;
}

.philosophy-image {
    flex: 1;
    position: relative;
}

.philosophy-image img {
    border-radius: 20px;
    box-shadow: 30px 30px 0 var(--secondary);
}

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

.team-member {
    text-align: center;
}

.team-member .img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-member h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.team-member span {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.testimonials {
    background: var(--primary);
    color: var(--bg-white);
}

.testimonials h2 {
    color: var(--bg-white);
}

.testimonial-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-style: italic;
}

.testimonial-author {
    margin-top: 20px;
    font-style: normal;
    font-weight: 700;
    color: var(--secondary);
}

.form-container {
    background: var(--bg-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary);
    outline: none;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.progress-bar {
    height: 6px;
    background: #E5E5E5;
    border-radius: 3px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary);
    width: 33.33%;
    transition: var(--transition);
}

footer {
    background: #111;
    color: #AAA;
    padding: 80px 0 40px;
}

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

.footer-logo {
    color: #FFF;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-links h4 {
    color: #FFF;
    margin-bottom: 24px;
    font-family: inherit;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

@media (max-width: 992px) {
    .philosophy-split {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}