:root {
    --primary: #2c3e50;
    --secondary: #8e44ad;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --muted: #6c757d;
    --success: #27ae60;
    --bg-warm: #fdf6f0;
    --bg-cool: #f0f4f8;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --border-light: #dee2e6;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: 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-primary);
    background: #fff;
}

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

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

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

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

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

.header {
    background: var(--dark);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.ad-disclosure {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-text {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 550px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.btn-dark {
    background: var(--dark);
    color: #fff;
}

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

.section {
    padding: 100px 0;
}

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

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

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

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--primary);
}

.section-dark .section-header h2 {
    color: #fff;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.story-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.story-block:nth-child(even) {
    flex-direction: row-reverse;
}

.story-img {
    flex: 1;
    min-width: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--bg-cool);
}

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

.story-text {
    flex: 1;
    min-width: 0;
}

.story-text h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.story-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.feature-card {
    flex: 1 1 280px;
    max-width: 350px;
    padding: 40px 32px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

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

.services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
}

.service-img {
    width: 200px;
    flex-shrink: 0;
    background-color: var(--bg-cool);
}

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

.service-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h4 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.service-price {
    display: flex;
    align-items: center;
    gap: 16px;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
}

.price-note {
    font-size: 0.85rem;
    color: var(--muted);
}

.testimonials-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.testimonial {
    flex: 1 1 320px;
    max-width: 400px;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.15;
    line-height: 1;
}

.testimonial p {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

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

.testimonial-role {
    font-size: 0.85rem;
    color: var(--muted);
}

.cta-banner {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-banner p {
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-section {
    background: var(--bg-warm);
    padding: 100px 0;
}

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

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-wrapper > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    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 {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

.about-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: #fff;
    text-align: center;
}

.about-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

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

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

.about-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-img {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--bg-cool);
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.value-item {
    flex: 1 1 200px;
    padding: 24px;
    background: var(--bg-cool);
    border-radius: var(--radius-sm);
}

.value-item h4 {
    color: var(--secondary);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.9rem;
    margin: 0;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--primary);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

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

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

.contact-form {
    flex: 1;
    background: var(--bg-cool);
    padding: 40px;
    border-radius: var(--radius);
}

.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

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

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

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

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

.footer-col a:hover {
    color: #fff;
}

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

.footer-bottom p {
    margin-bottom: 8px;
}

.disclaimer {
    background: var(--bg-cool);
    padding: 40px 0;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

.disclaimer p {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page {
    padding: 120px 0 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
}

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

.legal-page p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.legal-page ul {
    margin: 16px 0 16px 24px;
    color: var(--text-secondary);
}

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

.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

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

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

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

.thanks-content p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    display: none;
}

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

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

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

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

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

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

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

.cookie-accept:hover {
    background: #219a52;
}

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

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

.references {
    background: var(--bg-cool);
    padding: 60px 0;
}

.references h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.references li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

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

@media (max-width: 992px) {
    .story-block,
    .story-block:nth-child(even) {
        flex-direction: column;
    }

    .about-grid,
    .contact-grid {
        flex-direction: column;
    }

    .service-item {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
    }

    .nav.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

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

    .section {
        padding: 60px 0;
    }

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

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