:root {
    --primary: #1a4d7c;
    --primary-dark: #0d3a5f;
    --secondary: #c9a227;
    --accent: #e8b923;
    --text-dark: #2c3e50;
    --text-light: #5d6d7e;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --bg-blue: #eef4f9;
    --white: #ffffff;
    --border: #dce4ec;
    --shadow: rgba(26, 77, 124, 0.12);
    --transition: 0.3s ease;
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

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

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

header {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-blue) 0%, var(--bg-cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="%231a4d7c" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px;
    transform: rotate(15deg);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-cream {
    background: var(--bg-cream);
}

.section-blue {
    background: var(--bg-blue);
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

.editorial-block {
    margin-bottom: 60px;
}

.editorial-block h3 {
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.editorial-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
}

.editorial-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.inline-cta {
    background: var(--bg-blue);
    padding: 30px 35px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid var(--secondary);
}

.inline-cta p {
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px var(--shadow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--primary);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    margin-bottom: 0.8rem;
}

.service-price {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 15px;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit-item {
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.benefit-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item h4::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
}

.testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 35px var(--shadow);
    margin: 40px 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--bg-blue);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 15px 45px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 124, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow);
}

.split-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 40px 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 22px;
    max-height: 500px;
}

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 25px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

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

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

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

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

.cookie-btn {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-accept {
    background: var(--primary);
    color: var(--white);
}

.cookie-accept:hover {
    background: var(--primary-dark);
}

.cookie-reject {
    background: var(--bg-light);
    color: var(--text-dark);
}

.cookie-reject:hover {
    background: var(--border);
}

.sticky-cta {
    position: fixed;
    bottom: 100px;
    right: 25px;
    z-index: 999;
    animation: pulse 2s infinite;
}

.sticky-cta .btn {
    box-shadow: 0 8px 25px var(--shadow);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
}

.content-page {
    padding: 60px 0;
}

.content-page h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.content-page ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-page li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.contact-info-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.contact-info-item {
    flex: 1;
    min-width: 250px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px var(--shadow);
    text-align: center;
}

.contact-info-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info-item p {
    margin: 0;
}

.thanks-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.thanks-card {
    background: var(--white);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 20px 60px var(--shadow);
    text-align: center;
    max-width: 550px;
}

.thanks-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 45px;
    height: 45px;
    stroke: var(--white);
}

.thanks-card h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-team {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    flex: 0 1 280px;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-blue);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
}

.team-member h4 {
    margin-bottom: 5px;
}

.team-member p {
    font-size: 0.95rem;
}

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

    .split-image {
        order: -1;
    }

    .split-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 30px var(--shadow);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border);
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
    }

    .hero {
        padding: 130px 0 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 0;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto;
    }

    .stats-row {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 30px 25px;
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .sticky-cta {
        bottom: 80px;
        right: 15px;
    }

    .sticky-cta .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .benefit-item {
        flex: 1 1 100%;
    }
}

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

    .hero-cta .btn {
        width: 100%;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}
