:root {
    --primary: #2c3e50;
    --secondary: #8e44ad;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #1a252f;
    --white: #ffffff;
    --gray: #7f8c8d;
    --success: #27ae60;
    --bg-alt: #f8f9fa;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 8px;
}

* {
    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(--dark);
    background: var(--white);
}

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

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

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

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

.narrow {
    max-width: 760px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ad-notice {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
}

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

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

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

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

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

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

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

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

/* Hero */
.hero {
    position: relative;
    min-height: 70vh;
    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.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero .lead {
    font-size: 20px;
    color: var(--light);
    margin-bottom: 32px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

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

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

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

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

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

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

/* Sections */
section {
    padding: 80px 0;
}

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

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

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--primary);
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 48px;
}

/* Editorial Content */
.editorial {
    padding: 60px 24px;
}

.editorial h2 {
    font-size: 28px;
    margin: 48px 0 24px;
    color: var(--primary);
}

.editorial h3 {
    font-size: 22px;
    margin: 32px 0 16px;
    color: var(--dark);
}

.editorial p {
    margin-bottom: 24px;
    font-size: 18px;
}

.editorial blockquote {
    border-left: 4px solid var(--secondary);
    padding: 24px 32px;
    margin: 40px 0;
    background: var(--bg-alt);
    font-style: italic;
    font-size: 20px;
}

.editorial .inline-img {
    margin: 40px 0;
    background-color: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.editorial .inline-img figcaption {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--gray);
    text-align: center;
}

/* Split Layout */
.split {
    display: flex;
    align-items: center;
    gap: 60px;
}

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

.split-content {
    flex: 1;
}

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

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

/* Services Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.service-card {
    flex: 1 1 340px;
    max-width: 380px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.service-card-img {
    height: 200px;
    background-color: var(--light);
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
}

.service-card-body {
    padding: 28px;
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

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

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

/* Testimonials */
.testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 32px 0;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--light);
    overflow: hidden;
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark);
}

.testimonial-role {
    font-size: 14px;
    color: var(--gray);
}

/* Form */
.form-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 24px;
}

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

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 8px;
}

.form-wrapper .subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 32px;
}

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

.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 16px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 16px;
    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;
}

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

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

.benefits-list li {
    padding: 16px 0;
    padding-left: 48px;
    position: relative;
    border-bottom: 1px solid var(--light);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 16px;
    width: 28px;
    height: 28px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

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

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 16px;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 24px 24px;
}

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

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

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

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

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

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

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

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

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.disclaimer {
    font-size: 12px;
    color: var(--gray);
    max-width: 800px;
    margin: 24px auto 0;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
}

/* References */
.references {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--light);
}

.references h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

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

.references li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--gray);
}

.references a {
    word-break: break-all;
}

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

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

.cookie-inner {
    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: 280px;
}

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

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    padding: 100px 24px 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 16px;
}

.page-header .breadcrumb {
    color: var(--light);
}

.page-header .breadcrumb a {
    color: var(--light);
}

/* Content Pages */
.content-page {
    padding: 60px 24px;
}

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

.content-page h3 {
    font-size: 20px;
    margin: 32px 0 12px;
}

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

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

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

/* Contact Info */
.contact-info {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius);
    margin: 40px 0;
}

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

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

.contact-details h4 {
    margin-bottom: 4px;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
    margin: 0;
}

/* Thanks Page */
.thanks-wrapper {
    min-height: 60vh;
    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;
    font-size: 48px;
    color: var(--white);
}

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

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    padding: 80px 24px;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

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

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--light);
        display: none;
    }

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

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

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

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

    .split {
        flex-direction: column;
    }

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

    .stats {
        gap: 32px;
    }

    .form-wrapper {
        padding: 32px 24px;
    }

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

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