:root {
    --primary: #1a3a5c;
    --secondary: #2d6a9f;
    --accent: #e8a838;
    --dark: #0f1f2e;
    --light: #f4f7fa;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --white: #ffffff;
    --border: #d1dce5;
    --success: #27ae60;
    --shadow: rgba(26, 58, 92, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

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

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.ad-disclosure {
    font-size: 11px;
    color: var(--text-light);
    background: var(--light);
    padding: 4px 10px;
    border-radius: 3px;
    margin-left: 12px;
}

.logo-wrap {
    display: flex;
    align-items: center;
}

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

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

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

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

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

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 80px 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 680px;
}

.hero p {
    font-size: 19px;
    max-width: 560px;
    margin-bottom: 32px;
    opacity: 0.92;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #d49730;
    color: var(--dark);
}

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

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

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

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

section {
    padding: 80px 0;
}

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

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

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

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

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

.section-dark .section-header p {
    color: rgba(255,255,255,0.8);
}

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

.editorial-block h3 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 16px;
}

.editorial-block p {
    margin-bottom: 16px;
}

.editorial-image {
    margin: 32px 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light);
}

.editorial-image img {
    width: 100%;
    display: block;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px var(--shadow);
}

.service-card-image {
    height: 180px;
    background-color: var(--border);
    overflow: hidden;
}

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

.service-card-content {
    padding: 24px;
}

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

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

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

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

.inline-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px;
    border-radius: 10px;
    margin: 48px 0;
    text-align: center;
}

.inline-cta h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 12px;
}

.inline-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

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

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

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--light);
}

.split-image img {
    width: 100%;
    display: block;
}

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

.team-member {
    text-align: center;
    flex: 0 0 220px;
}

.team-member-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background-color: var(--border);
}

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

.team-member h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 4px;
}

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

.contact-info {
    background: var(--light);
    padding: 40px;
    border-radius: 10px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 17px;
    color: var(--text);
}

.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 6px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-weight: 400;
    margin-bottom: 0;
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 64px 0 32px;
}

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

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

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

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

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

.footer-col ul li a {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
}

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

.footer-col p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

.disclaimer {
    background: var(--light);
    padding: 24px;
    border-radius: 6px;
    margin-top: 48px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.legal-content {
    padding: 80px 0;
}

.legal-content h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0 16px 24px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

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

.thanks-content {
    max-width: 560px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

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

.thanks-content h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

.thanks-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.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-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

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

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

.cookie-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.cookie-accept:hover {
    background: #d49730;
}

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

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

.feature-list {
    list-style: none;
    margin: 24px 0;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    text-align: center;
    padding: 48px 0;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

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

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

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

.quote-block {
    background: var(--light);
    padding: 32px 40px;
    border-left: 4px solid var(--accent);
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}

.quote-block p {
    font-size: 19px;
    font-style: italic;
    margin-bottom: 12px;
}

.quote-block cite {
    font-size: 14px;
    color: var(--text-light);
    font-style: normal;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

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

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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