:root {
    --primary: #2d5a7b;
    --primary-dark: #1e3d52;
    --secondary: #4a9b8f;
    --accent: #e8a849;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #f7f9fb;
    --bg-white: #ffffff;
    --bg-dark: #1a2634;
    --border: #dce4eb;
    --success: #27ae60;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 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;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-white);
}

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

a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

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

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

/* Ad Disclosure Banner */
.ad-disclosure {
    background: var(--bg-dark);
    color: #a0aec0;
    padding: 8px 0;
    font-size: 12px;
    text-align: center;
}

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

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

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

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

/* Split Section Layout */
.split-section {
    display: flex;
    min-height: 500px;
}

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

.split-content,
.split-image {
    flex: 1;
    display: flex;
}

.split-content {
    align-items: center;
    padding: 60px;
    background: var(--bg-white);
}

.split-content.bg-light {
    background: var(--bg-light);
}

.split-content.bg-primary {
    background: var(--primary);
    color: white;
}

.split-content.bg-primary h2,
.split-content.bg-primary p {
    color: white;
}

.split-content.bg-primary .btn-primary {
    background: var(--accent);
    color: var(--text);
}

.split-content-inner {
    max-width: 520px;
}

.split-image {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    background-color: var(--bg-dark);
}

.hero .split-content {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 80px 60px;
}

.hero .split-content h1,
.hero .split-content p {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text);
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero .lead {
    color: rgba(255,255,255,0.9);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #d69a3e;
    transform: translateY(-2px);
}

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

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

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Features Grid */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.feature-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Section Spacing */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Services Cards */
.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-image {
    height: 200px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

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

.service-body {
    padding: 24px;
}

.service-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.price-unit {
    font-size: 14px;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-light);
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Benefits List */
.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

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

.benefit-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Form Styles */
.form-section {
    background: var(--bg-light);
}

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

.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;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

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

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 0;
}

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

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-text h4 {
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #a0aec0;
    padding: 60px 0 0;
}

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

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

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    margin-bottom: 12px;
    font-size: 15px;
}

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

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

.footer-col ul a {
    color: #a0aec0;
    font-size: 15px;
}

.footer-col ul a:hover {
    color: white;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

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

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

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

.footer-legal a {
    color: #a0aec0;
    font-size: 14px;
}

.footer-legal a:hover {
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

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

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

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

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

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

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

.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

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

.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
}

/* Thanks Page */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

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

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

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

.thanks-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

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

/* Legal Pages */
.legal-page {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.legal-content .last-updated {
    color: var(--text-light);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
}

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

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

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

/* Disclaimer */
.disclaimer {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin: 40px 0;
    border-left: 4px solid var(--secondary);
}

.disclaimer p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* References */
.references {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
    margin-top: 60px;
}

.references h3 {
    margin-bottom: 20px;
}

.references ol {
    padding-left: 24px;
}

.references li {
    margin-bottom: 12px;
    font-size: 14px;
}

.references a {
    color: var(--primary);
    word-break: break-word;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.about-hero h1 {
    color: white;
}

.about-hero p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

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

.team-member {
    text-align: center;
    max-width: 280px;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 600;
    margin: 0 auto 16px;
}

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

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

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

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

    .split-image {
        min-height: 300px;
    }

    .split-content {
        padding: 40px 24px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        min-height: auto;
    }

    .hero .split-content {
        padding: 60px 24px;
    }

    .section {
        padding: 60px 0;
    }

    .stats-grid {
        gap: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    .form-wrapper {
        padding: 24px;
    }

    .footer-grid {
        gap: 32px;
    }

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

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

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

    .btn {
        width: 100%;
    }

    h1 {
        font-size: 28px;
    }

    .service-card {
        min-width: 100%;
    }

    .testimonial-card {
        min-width: 100%;
    }
}
