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

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2C2428;
    background-color: #F7F3ED;
    -webkit-font-smoothing: antialiased;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #3D2939;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease;
}

.main-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 70px;
}

.main-nav .nav-brand {
    font-size: 22px;
    font-weight: 700;
    color: #E8B960;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.main-nav .nav-links a {
    color: #F7F3ED;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.main-nav .nav-links a:hover {
    color: #E8B960;
    border-bottom-color: #E8B960;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #F7F3ED;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero-section {
    padding: 140px 32px 100px;
    background-color: #3D2939;
    color: #F7F3ED;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #554051 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6B8E7B22 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #F7F3ED;
    background: none;
}

.hero-section .hero-accent {
    color: #E8B960;
}

.hero-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #F7F3ED;
    margin-bottom: 36px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: #E8B960;
    color: #3D2939;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.25s ease, transform 0.2s ease;
    letter-spacing: 0.3px;
}

.hero-section .btn-primary:hover {
    background-color: #D4A548;
    transform: translateY(-2px);
}

.hero-section .btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: #E8B960;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid #E8B960;
    border-radius: 6px;
    margin-left: 16px;
    transition: background-color 0.25s ease, color 0.25s ease;
    letter-spacing: 0.3px;
}

.hero-section .btn-secondary:hover {
    background-color: #E8B960;
    color: #3D2939;
}

.about-section {
    padding: 100px 32px;
    background-color: #F7F3ED;
    color: #2C2428;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: #3D2939;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text h2 span {
    color: #E8B960;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #2C2428;
    margin-bottom: 18px;
}

.about-visual {
    background-color: #6B8E7B;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.about-visual .stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.about-visual .stat-item {
    text-align: center;
}

.about-visual .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #E8B960;
    display: block;
    line-height: 1;
}

.about-visual .stat-label {
    font-size: 14px;
    color: #FFFFFF;
    margin-top: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-section {
    padding: 100px 32px;
    background-color: #FFFFFF;
    color: #2C2428;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-section .section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #3D2939;
    margin-bottom: 16px;
}

.services-section .section-header p {
    font-size: 17px;
    color: #2C2428;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.service-card {
    background-color: #F7F3ED;
    border-radius: 12px;
    padding: 40px 28px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #6B8E7B;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.service-card .service-icon {
    width: 56px;
    height: 56px;
    background-color: #6B8E7B;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #FFFFFF;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #3D2939;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: #2C2428;
    line-height: 1.7;
}

.features-section {
    padding: 100px 32px;
    background-color: #3D2939;
    color: #F7F3ED;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: #F7F3ED;
    margin-bottom: 24px;
    line-height: 1.2;
}

.features-text h2 span {
    color: #E8B960;
}

.features-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #F7F3ED;
    margin-bottom: 32px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    color: #F7F3ED;
    line-height: 1.5;
}

.features-list .feature-marker {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: #E8B960;
    color: #3D2939;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}

.features-visual {
    background-color: #554051;
    border-radius: 12px;
    padding: 50px 36px;
    color: #F7F3ED;
}

.features-visual .process-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #6B5A6D;
}

.features-visual .process-step:last-child {
    border-bottom: none;
}

.features-visual .step-number {
    width: 44px;
    height: 44px;
    background-color: #E8B960;
    color: #3D2939;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.features-visual .step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #F7F3ED;
    margin-bottom: 4px;
}

.features-visual .step-content p {
    font-size: 14px;
    color: #D4C5B9;
    line-height: 1.5;
}

.stats-section {
    padding: 80px 32px;
    background-color: #6B8E7B;
    color: #FFFFFF;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats-section .stat-item {
    padding: 24px;
}

.stats-section .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #E8B960;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stats-section .stat-label {
    font-size: 15px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.contact-section {
    padding: 100px 32px;
    background-color: #F7F3ED;
    color: #2C2428;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: 38px;
    font-weight: 800;
    color: #3D2939;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-info h2 span {
    color: #E8B960;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #2C2428;
    margin-bottom: 28px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    color: #2C2428;
}

.contact-detail .contact-icon {
    width: 40px;
    height: 40px;
    background-color: #6B8E7B;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-form {
    background-color: #FFFFFF;
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

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

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #3D2939;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #D4C5B9;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #2C2428;
    background-color: #F7F3ED;
    transition: border-color 0.2s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6B8E7B;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 16px;
    background-color: #E8B960;
    color: #3D2939;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease;
    letter-spacing: 0.3px;
}

.contact-form .btn-submit:hover {
    background-color: #D4A548;
}

.contact-form .form-message {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.contact-form .form-message.success {
    color: #6B8E7B;
    display: block;
}

.contact-form .form-message.error {
    color: #C4523A;
    display: block;
}

.site-footer {
    background-color: #2C2428;
    color: #F7F3ED;
    padding: 48px 32px 24px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 700;
    color: #E8B960;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: #B8AFA3;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 700;
    color: #F7F3ED;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links a {
    color: #B8AFA3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #E8B960;
}

.footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid #4A3D46;
    text-align: center;
    font-size: 13px;
    color: #8B7D82;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #3D2939;
        flex-direction: column;
        padding: 24px 32px;
        gap: 18px;
        display: none;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }

    .main-nav .nav-links.active {
        display: flex;
    }

    .hero-section h1 {
        font-size: 34px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .hero-section .btn-secondary {
        margin-left: 0;
        margin-top: 12px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .features-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 120px 20px 60px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .about-section,
    .services-section,
    .features-section,
    .stats-section,
    .contact-section {
        padding: 60px 20px;
    }

    .about-text h2,
    .services-section .section-header h2,
    .features-text h2,
    .contact-info h2 {
        font-size: 28px;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stats-section .stat-number {
        font-size: 36px;
    }
}
