:root {
    --primary: #1a3a52;
    --secondary: #8b4513;
    --accent: #c9a961;
    --text: #2c2c2c;
    --light-bg: #f8f6f3;
    --white: #ffffff;
    --border: #e0ddd8;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

.ad-notice {
    background: var(--light-bg);
    padding: 8px 0;
    text-align: center;
    font-size: 11px;
    color: #666;
    border-bottom: 1px solid var(--border);
}

header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    font-family: 'Arial', sans-serif;
}

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

.hero-magazine {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 40px;
}

.hero-main {
    flex: 2;
    position: relative;
}

.hero-image-container {
    width: 100%;
    height: 520px;
    overflow: hidden;
    position: relative;
    background: var(--light-bg);
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,58,82,0.95), transparent);
    padding: 40px;
    color: var(--white);
}

.hero-overlay h1 {
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-overlay p {
    font-size: 18px;
    max-width: 600px;
}

.hero-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: var(--light-bg);
    padding: 25px;
    border-left: 4px solid var(--accent);
}

.sidebar-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.sidebar-card p {
    font-size: 14px;
    line-height: 1.6;
}

.section-magazine {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

.three-column-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.column {
    flex: 1;
}

.column h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.column p {
    margin-bottom: 15px;
}

.two-column-offset {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.offset-left {
    flex: 1.5;
}

.offset-right {
    flex: 1;
    padding-top: 40px;
}

.service-magazine-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.service-card-magazine {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    background: var(--light-bg);
}

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-content p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-price {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary);
    margin: 15px 0;
}

.btn-select {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
    font-family: 'Arial', sans-serif;
}

.btn-select:hover {
    background: var(--secondary);
}

.full-width-section {
    background: var(--light-bg);
    padding: 70px 40px;
    margin: 80px 0;
}

.full-width-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
}

.full-width-text {
    flex: 1;
}

.full-width-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
}

.full-width-visual {
    flex: 1;
    height: 400px;
    background: var(--white);
}

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

.form-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 40px;
}

.form-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary);
    text-align: center;
}

.form-container {
    background: var(--light-bg);
    padding: 40px;
    border-left: 5px solid var(--accent);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    font-size: 15px;
    font-family: 'Arial', sans-serif;
}

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

.btn-submit {
    background: var(--secondary);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary);
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 40px 30px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26,58,82,0.97);
    color: var(--white);
    padding: 25px;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-accept {
    background: var(--accent);
    color: var(--text);
}

.btn-accept:hover {
    background: var(--secondary);
    color: var(--white);
}

.btn-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

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

.contact-layout {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
}

.contact-main {
    flex: 1.5;
}

.contact-sidebar {
    flex: 1;
    background: var(--light-bg);
    padding: 40px;
    align-self: flex-start;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-info-item p {
    font-size: 15px;
    line-height: 1.6;
}

.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 40px;
}

.page-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.page-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--secondary);
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul {
    margin: 20px 0;
    padding-left: 40px;
}

.page-content ul li {
    margin-bottom: 10px;
}

.thanks-container {
    max-width: 700px;
    margin: 100px auto;
    padding: 60px 40px;
    background: var(--light-bg);
    text-align: center;
    border-top: 5px solid var(--accent);
}

.thanks-container h1 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--primary);
}

.thanks-container p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-home {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-home:hover {
    background: var(--primary);
}

@media (max-width: 1024px) {
    .hero-magazine {
        flex-direction: column;
    }

    .three-column-grid {
        flex-direction: column;
    }

    .two-column-offset {
        flex-direction: column;
    }

    .service-card-magazine {
        flex: 1 1 calc(50% - 15px);
    }

    .full-width-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .contact-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        gap: 20px;
    }

    nav a {
        font-size: 13px;
    }

    .service-card-magazine {
        flex: 1 1 100%;
    }

    .cookie-content {
        flex-direction: column;
    }
}
