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

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent-light: #ff6b6b;
    --text: #f1f1f1;
    --text-dark: #222;
    --bg-light: #f8f9fa;
    --bg-cream: #faf7f2;
    --shadow: 0 4px 24px rgba(0,0,0,0.12);
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: #fff;
}

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

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

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

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Navigation */
.nav-wrapper {
    background: var(--primary);
    padding: 0;
    position: relative;
    z-index: 1000;
}

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

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

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

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

.nav-links a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

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

.hero-editorial::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(233,69,96,0.15) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-editorial h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    line-height: 1.3;
}

.hero-editorial .lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 36px;
    position: relative;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,69,96,0.35);
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    padding: 14px 36px;
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Article Sections */
.article-section {
    padding: 80px 0;
}

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

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

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

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

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

.article-header .subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.dark-bg .article-header .subtitle {
    color: rgba(255,255,255,0.7);
}

.prose {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #444;
}

.prose p {
    margin-bottom: 24px;
}

.prose-highlight {
    background: linear-gradient(to right, rgba(233,69,96,0.1), transparent);
    border-left: 4px solid var(--accent);
    padding: 24px 30px;
    margin: 32px 0;
    font-style: italic;
    font-size: 1.15rem;
}

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

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

.inline-image figcaption {
    padding: 12px 16px;
    background: var(--bg-light);
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

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

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card-image {
    height: 180px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-image svg {
    width: 80px;
    height: 80px;
    color: var(--accent);
}

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

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

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
}

/* Testimonials */
.testimonial-block {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 40px 0;
    position: relative;
}

.testimonial-block::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--accent);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: #555;
    margin-bottom: 24px;
    padding-left: 40px;
}

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

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

.testimonial-info h4 {
    font-size: 1rem;
    color: var(--primary);
}

.testimonial-info span {
    font-size: 0.85rem;
    color: #888;
}

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

.cta-inline h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

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

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

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

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

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

.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 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

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

/* Contact Info */
.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

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

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

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.contact-details p {
    font-size: 0.95rem;
    color: #666;
}

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

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

.sticky-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(233,69,96,0.4);
    font-weight: 600;
}

.sticky-cta a:hover {
    background: var(--accent-light);
    color: #fff;
}

/* Footer */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 64px 0 24px;
}

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

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

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

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

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

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

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

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

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

.cookie-banner.show {
    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 1 400px;
    font-size: 0.95rem;
}

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

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

.cookie-accept {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.cookie-accept:hover {
    background: var(--accent-light);
}

.cookie-reject {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-reject:hover {
    border-color: #fff;
}

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

.thanks-content h1 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.thanks-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
}

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

.thanks-icon svg {
    width: 50px;
    height: 50px;
    color: #fff;
}

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

.legal-section h1 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 32px;
}

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

.legal-section p,
.legal-section ul {
    margin-bottom: 16px;
    color: #555;
}

.legal-section ul {
    padding-left: 24px;
}

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

/* About Page */
.about-hero {
    background: var(--secondary);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.about-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

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

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

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

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
}

.team-member h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-member .role {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-member p {
    font-size: 0.95rem;
    color: #666;
}

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

.stat-item {
    text-align: center;
    flex: 1 1 150px;
}

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

.stat-label {
    font-size: 0.95rem;
    color: #666;
    margin-top: 8px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-editorial {
        padding: 60px 0 50px;
    }

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

    .article-header h2 {
        font-size: 1.7rem;
    }

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

    .footer-grid {
        gap: 32px;
    }

    .testimonial-block {
        padding: 28px 20px;
    }

    .testimonial-text,
    .testimonial-author {
        padding-left: 0;
    }

    .testimonial-block::before {
        display: none;
    }

    .stats-row {
        gap: 24px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .sticky-cta {
        bottom: 16px;
        right: 16px;
    }

    .sticky-cta a {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

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

    .cta-inline {
        padding: 32px 24px;
    }

    .cta-inline h3 {
        font-size: 1.3rem;
    }
}
