:root {
    --primary: #1a2f4a;
    --secondary: #3d5a80;
    --accent: #ee6c4d;
    --light: #f8f9fa;
    --dark: #293241;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

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

section {
    padding: 80px 20px;
}

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

section.dark-bg {
    background: var(--dark);
    color: var(--white);
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.dark-bg .section-header h2 {
    color: var(--white);
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.editorial-block h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.editorial-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

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

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

.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 30px;
    box-shadow: var(--shadow);
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    max-width: 380px;
    transition: var(--transition);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.service-price span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.feature-content h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.testimonial-section {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    padding: 80px 20px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-role {
    opacity: 0.8;
    font-size: 0.9rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

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

.dark-bg .stat-number {
    color: var(--accent);
}

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

.dark-bg .stat-label {
    color: rgba(255,255,255,0.8);
}

.cta-section {
    background: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-section .btn {
    background: var(--white);
    color: var(--accent);
}

.cta-section .btn:hover {
    background: var(--dark);
    color: var(--white);
}

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

.form-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

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

.form-submit {
    text-align: center;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 3px;
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

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

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

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

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

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

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    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(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    display: none;
}

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

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

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
}

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

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

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

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

.cookie-reject {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta .btn {
    box-shadow: var(--shadow-hover);
    padding: 12px 24px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 80px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb span {
    opacity: 0.6;
}

.legal-content {
    padding: 60px 20px;
}

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

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

.legal-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.legal-content ul {
    margin: 15px 0 15px 30px;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--text);
}

.about-intro {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-intro-text {
    flex: 1;
}

.about-intro-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

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

.team-member {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
}

.timeline-year {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.thanks-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

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

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

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

.thanks-container p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 30px;
}

.inline-cta {
    background: var(--light);
    border-left: 4px solid var(--accent);
    padding: 25px 30px;
    margin: 40px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.inline-cta p {
    margin-bottom: 15px;
    font-weight: 500;
}

.quote-block {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    margin: 40px 0;
    position: relative;
}

.quote-block:before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.quote-block p {
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

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

    .split-section.reverse {
        flex-direction: column;
    }

    .about-intro {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 70px 20px;
    }

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

    section {
        padding: 50px 20px;
    }

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

    .stats-row {
        gap: 30px;
    }

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

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

    .form-container {
        padding: 30px 20px;
    }

    .split-image img,
    .about-intro-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

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