:root {
    --bg-light: #FDFCFA;
    --text-primary: #1A1714;
    --text-secondary: #6B6560;
    --accent: #8B7355;
    --accent-light: #C4B5A0;
}

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

body {
    font-family: 'Prompt', sans-serif;
    font-weight: 300;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.8;
    font-size: 17px;
    letter-spacing: 0.01em;
}

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

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

header {
    padding: 2.5rem 0 1.5rem;
    opacity: 0;
    animation: fadeInDown 1s ease forwards;
}

.logo {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-header {
    width: 100%;
    height: 35vh;
    min-height: 280px;
    max-height: 400px;
    background-image: url('begin-header.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeIn 1.4s ease 0.2s forwards;
}

.hero {
    padding: 4rem 0 6rem;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1.2s ease 0.4s forwards;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-primary);
    line-height: 1.75;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

.about-section {
    padding: 5rem 0;
    border-top: 1px solid rgba(107, 101, 96, 0.12);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.about-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: start;
}

.portrait-container {
    position: relative;
}

.portrait {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    border: 3px solid rgba(107, 101, 96, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.text-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.text-link:hover {
    border-bottom-color: var(--accent);
}

.section {
    padding: 5rem 0;
    border-top: 1px solid rgba(107, 101, 96, 0.12);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.section:nth-child(4) { animation-delay: 0.8s; }
.section:nth-child(5) { animation-delay: 1s; }
.section:nth-child(6) { animation-delay: 1.2s; }

.section-label {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
    margin-top: 3.5rem;
}

.service-item {
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
}

.service-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 400;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.case-studies-grid {
    display: grid;
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.projects-category {
    margin-bottom: 4rem;
}

.projects-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.case-study {
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(107, 101, 96, 0.1);
    transition: all 0.3s ease;
}

.case-study:last-child {
    border-bottom: none;
}

.case-study:hover {
    padding-left: 1.25rem;
}

.case-study-title {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.case-study-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-section {
    padding: 7rem 0 6rem;
    text-align: center;
}

.cta-inline {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid rgba(107, 101, 96, 0.12);
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.cta-inline-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-inline-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.75rem;
    background-color: var(--text-primary);
    color: var(--bg-light);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 1px solid var(--text-primary);
    font-weight: 400;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 1px solid var(--text-primary);
    font-weight: 400;
}

.cta-button-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-light);
    transform: translateY(-2px);
}

footer {
    padding: 3.5rem 0 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(107, 101, 96, 0.12);
    opacity: 0;
    animation: fadeInUp 1s ease 1.4s forwards;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 0.75rem;
}

.footer-link:hover {
    color: var(--text-primary);
}

/* Privacy Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 23, 20, 0.85);
    overflow: auto;
}

.modal-content {
    background-color: var(--bg-light);
    margin: 5% auto;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    border-radius: 4px;
    animation: fadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-content a {
    color: var(--accent);
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

.lang-switch {
    position: fixed;
    top: 2rem;
    right: 2rem;
    font-size: 0.85rem;
    z-index: 100;
}

.lang-switch a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--accent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .portrait-container {
        max-width: 200px;
        margin: 0 auto;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section {
        padding: 4rem 0;
    }

    .lang-switch {
        top: 1.5rem;
        right: 1.5rem;
    }

    .hero-header {
        height: 25vh;
        min-height: 200px;
    }
}
