@import url("https://fonts.googleapis.com/css?family=IBM%20Plex%20Sans:500|IBM%20Plex%20Sans:300");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");

@font-face {
    font-family: "PPNeueMontreal";
    src: url("/NeueMontreal-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PPNeueMontreal";
    src: url("/NeueMontreal-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HalvarBreit";
    src: url("/HalvarBreit-Lt.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --m: 4rem;
    --spacing-xl: 12rem;
    --spacing-lg: 8rem;
    --spacing-md: 4rem;
    --spacing-sm: 2rem;
}

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

body {
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Стили хэдера теперь в css/header.css */

.main {
    margin-top: 0;
    min-height: 100vh;
    padding-bottom: 0;
}

/* Стили футера теперь в css/footer.css */

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 6rem 4rem 4rem;
    overflow: hidden;
}

.hero-container {
    position: relative;
    max-width: 1600px;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.hero-content-left {
    /* position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2;
    max-width: 40%;
}

.hero-content-right {
    /* position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); */
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
    z-index: 2;
    max-width: 40%;
}

.hero-image-center {
    /* position: absolute; */
    /* left: 50%; */
    /* top: 50%; */
    /* transform: translate(-50%, -50%); */
    width: 450px;
    height: 450px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
    transition: transform 0.25s ease-out, border-radius 0.25s ease-out, box-shadow 0.25s ease-out;
    will-change: transform, border-radius;
}

.hero-image-center:hover {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.hero-image-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #a68f50;
    text-transform: none;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.1s both;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.hero-title-line {
    display: block;
    opacity: 0.6;
    font-weight: 300;
}

.hero-title-accent {
    display: block;
    font-weight: 200;
    position: relative;
    padding-left: 2rem;
    white-space: nowrap;
}

.hero-title-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(to bottom, #a68f50, #a68f50);
    border-radius: 2px;
}

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

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: rgba(90, 62, 43, 0.75);
    text-transform: none;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: right;
    max-width: 400px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 3.5rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'PPNeueMontreal', 'Neue Montreal', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.hero-button svg {
    transition: transform 0.3s ease;
}

.hero-button:hover svg {
    transform: translateX(4px);
}

.hero-button-primary {
    background: linear-gradient(135deg, #a68f50 0%, #a68f50 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 30px rgba(90, 62, 43, 0.25);
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
}

.hero-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-button-primary:hover::before {
    left: 100%;
}

.hero-button-primary:hover {
    background: linear-gradient(135deg, #a68f50 0%, #a68f50 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(90, 62, 43, 0.35);
}

.hero-button-primary span,
.hero-button-primary svg {
    position: relative;
    z-index: 1;
}


/* Experience Section */
.experience-section {
    max-width: 90rem;
    margin: 0 auto;
    padding: 8rem 2rem;
    border-top: 1px solid #000000;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.experience-block {
    max-width: 60rem;
    margin: 0 auto;
}

.experience-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.experience-text {
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.8);
}

.experience-text strong {
    font-weight: 500;
}

.pricing-block {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 3rem;
    margin-top: 2rem;
}

/* Reasons Section */
.reasons-section {
    max-width: 90rem;
    margin: 0 auto;
    padding: 7rem 2rem 8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
}

.section-title-main {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    text-align: left;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.1;
    color: #000000;
}

.reasons-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 4rem 5rem;
}

.reason-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.75rem;
    row-gap: 0.75rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s ease, transform 0.2s ease;
    background: transparent;
}

.reason-card:nth-child(4n+2),
.reason-card:nth-child(4n+3) {
    background-color: #f5f5f5;
}

.reason-card:hover {
    background-color: #fafafa;
    transform: translateY(-2px);
}

.reason-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.3;
    color: #8a3c27;
}

.reason-text {
    font-size: 0.98rem;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.8);
}

/* Contact Section */
.contact-section {
    max-width: 90rem;
    margin: 0 auto;
    padding: 8rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: 'HalvarBreit', 'PPNeueMontreal', 'Neue Montreal', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-text {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.7);
}

.contact-button {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    border: 2px solid #000000;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.contact-button:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Styles */
@media screen and (max-width: 900px) {
    .hero {
        padding: 5rem 2rem 3rem;
        min-height: auto;
    }
    
    .hero-container {
        position: relative;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-content-left,
    .hero-content-right {
        position: relative;
        max-width: 100%;
        transform: none;
        top: auto;
        left: auto;
        right: auto;
    }
    
    .hero-image-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin: 0 auto;
        order: 2;
    }
    
    .hero-content-left {
        order: 1;
        text-align: center;
        align-items: center;
        width: 100%;
    }
    
    .hero-content-right {
        order: 3;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .hero-subtitle {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .experience-section {
        padding: 6rem 1.5rem;
        gap: 3rem;
    }

    .reasons-section {
        padding: 5rem 1.5rem 6rem;
    }

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

@media screen and (max-width: 700px) {
    .hero {
        padding: 6rem 1.5rem 2rem;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column;
        min-height: auto;
        gap: 1.5rem;
    }
    
    .hero-image-center {
        width: 100%;
        max-width: 100%;
        height: 250px;
        margin: 0;
        border-radius: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    
    .hero-button {
        padding: 1.25rem 2rem;
        font-size: 0.875rem;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .experience-section {
        padding: 4rem 1.5rem;
    }

    .reason-card {
        grid-template-columns: 1fr;
        padding: 1.5rem 0;
    }

    .contact-section {
        padding: 6rem 1.5rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }
}

/* Form Modal Styles */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 2rem;
}

.form-modal.active {
    opacity: 1;
    visibility: visible;
}

.form-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-modal-content {
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    max-width: 600px;
    width: 100%;
    padding: 4rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.form-modal.active .form-modal-content {
    transform: scale(1) translateY(0);
}

.form-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.form-modal-close:hover {
    opacity: 0.6;
}

.form-modal-close span {
    position: absolute;
    width: 1.5rem;
    height: 1px;
    background-color: #000000;
    transition: transform 0.3s ease;
}

.form-modal-close span:first-child {
    transform: rotate(45deg);
}

.form-modal-close span:last-child {
    transform: rotate(-45deg);
}

.form-modal-header {
    margin-bottom: 3rem;
    text-align: left;
}

.form-modal-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-transform: none;
    color: #000000;
}

.form-modal-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
}

.form-input {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    background-color: transparent;
    font-size: 1.125rem;
    font-weight: 300;
    font-family: inherit;
    color: #000000;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-input:focus {
    border-bottom-color: #000000;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    border: 1px solid #000000;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: inherit;
    margin-top: 1rem;
}

.form-submit:hover {
    background-color: #ffffff;
    color: #000000;
}

.form-success {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.05);
    color: #000000;
    text-align: center;
    font-size: 1rem;
    margin-top: 1rem;
}

@media screen and (max-width: 768px) {
    .form-modal-content {
        padding: 3rem 2rem;
    }

    .form-modal-close {
        top: 1.5rem;
        right: 1.5rem;
    }
}