:root {
    --primary: #2c1654;
    --secondary: #6b4c9a;
    --accent: #d4a853;
    --light: #f8f5ff;
    --dark: #1a0e2e;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 4px 20px rgba(44, 22, 84, 0.15);
    --shadow-strong: 0 8px 40px rgba(44, 22, 84, 0.25);
}

* {
    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);
}

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

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

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

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

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

/* Navigation */
.nav-wrapper {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-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);
    letter-spacing: -0.5px;
}

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

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

.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: width 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Editorial */
.hero-editorial {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%236b4c9a" stroke-width="0.5" opacity="0.3"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23d4a853" stroke-width="0.3" opacity="0.4"/><circle cx="50" cy="50" r="20" fill="none" stroke="%236b4c9a" stroke-width="0.2" opacity="0.3"/></svg>') center/contain no-repeat;
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-editorial h1 {
    color: var(--white);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-editorial p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

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

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

.btn-primary:hover {
    background: #e6b864;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4);
}

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

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

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

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

/* Editorial Article Sections */
.article-section {
    padding: 70px 20px;
}

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

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

.article-section.dark-bg h2,
.article-section.dark-bg h3 {
    color: var(--white);
}

.article-section.dark-bg p {
    color: rgba(255, 255, 255, 0.85);
}

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

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

.article-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.article-text {
    max-width: 700px;
    margin: 0 auto;
}

.article-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-text h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 40px 0 20px;
}

/* Inline Image */
.inline-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.inline-image.wide {
    margin-left: -80px;
    margin-right: -80px;
    max-width: calc(100% + 160px);
}

/* Pull Quote */
.pull-quote {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 40px 50px;
    margin: 50px -40px;
    border-radius: 8px;
    position: relative;
}

.pull-quote p {
    color: var(--white);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.pull-quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.5;
    font-family: Georgia, serif;
}

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

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 30px;
    width: calc(33.333% - 20px);
    min-width: 280px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

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

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

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

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

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

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

/* Testimonials */
.testimonial-block {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    margin: 30px 0;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    border-radius: 4px 0 0 4px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
}

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

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

.author-info strong {
    display: block;
    color: var(--primary);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Contact Form */
.form-wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--shadow-strong);
    max-width: 600px;
    margin: 0 auto;
}

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

.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 18px;
    border: 2px solid #e0d8ec;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(107, 76, 154, 0.1);
}

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

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

/* Inline CTA */
.inline-cta {
    background: linear-gradient(135deg, var(--light) 0%, #efe8f7 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 50px 0;
}

.inline-cta h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.inline-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Info Box */
.info-box {
    background: var(--light);
    border-left: 4px solid var(--accent);
    padding: 25px 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.info-box p {
    margin: 0;
    color: var(--text);
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 50px 20px;
    flex-wrap: wrap;
}

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

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

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

/* Contact Info */
.contact-info-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-info-item {
    flex: 1;
    min-width: 250px;
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
}

.contact-info-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Footer */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    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 {
    color: var(--white);
    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);
    transition: color 0.3s ease;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

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

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

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

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

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

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

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

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

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

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

/* Thanks Page */
.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--light) 0%, #efe8f7 100%);
}

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

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

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

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

.thanks-content p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 30px;
}

/* Legal Pages */
.legal-page {
    padding: 60px 20px;
}

.legal-header {
    background: var(--primary);
    padding: 60px 20px;
    text-align: center;
}

.legal-header h1 {
    color: var(--white);
    font-size: 2.5rem;
}

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

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

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

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

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

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

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

.about-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

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

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

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

.about-story-image {
    flex: 1;
    min-width: 300px;
}

.about-story-image img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.services-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.services-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-detail {
    display: flex;
    gap: 40px;
    padding: 50px 0;
    border-bottom: 1px solid #e0d8ec;
    flex-wrap: wrap;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-content {
    flex: 2;
    min-width: 300px;
}

.service-detail-sidebar {
    flex: 1;
    min-width: 250px;
}

.price-box {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.price-box .price-amount {
    font-size: 2.2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .service-card {
        width: 100%;
    }

    .inline-image.wide {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .pull-quote {
        margin: 30px 0;
        padding: 30px;
    }

    .stats-row {
        gap: 30px;
    }

    .stat-item {
        width: 45%;
    }

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

    .footer-col {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .hero-editorial {
        padding: 60px 20px;
    }

    .hero-editorial h1 {
        font-size: 1.8rem;
    }

    .article-section {
        padding: 50px 15px;
    }

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

    .stats-row {
        flex-direction: column;
        gap: 25px;
    }

    .stat-item {
        width: 100%;
    }

    .footer-col {
        width: 100%;
    }

    .sticky-cta {
        right: 10px;
        bottom: 80px;
    }
}
