:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #ed8936;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
    --success: #48bb78;
    --error: #f56565;
}

* {
    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-color: var(--bg);
}

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 20px;
}

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

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

.header-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);
}

.ad-disclosure {
    background-color: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 15px;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

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

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* Hero Section - Editorial Style */
.hero-editorial {
    padding: 80px 0 60px;
    background-color: var(--bg-alt);
}

.hero-editorial .container-narrow {
    text-align: center;
}

.hero-editorial h1 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.hero-image-wrapper {
    margin: 40px 0;
    background-color: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* 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-color: var(--primary);
    color: white;
}

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

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

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

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

.btn-accent:hover {
    background-color: #dd6b20;
    color: white;
}

/* Editorial Content Sections */
.editorial-section {
    padding: 60px 0;
}

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

.editorial-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.editorial-section h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 15px;
    margin-top: 30px;
}

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

.inline-image {
    margin: 35px 0;
    background-color: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

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

.inline-image.small {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.inline-image.small img {
    height: 250px;
}

/* Services Section */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

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

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

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

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Split Content */
.split-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin: 50px 0;
}

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

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
    background-color: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

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

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-section .btn-accent {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Inline CTA */
.inline-cta {
    background-color: var(--bg-alt);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
    border-left: 4px solid var(--accent);
}

.inline-cta h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

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

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

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

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

.contact-item {
    flex: 1 1 250px;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    margin-top: 0;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

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

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

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

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.7);
}

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

.footer-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    max-width: 800px;
    margin: 20px auto 0;
    line-height: 1.6;
}

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

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

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

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

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

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

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

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

.cookie-accept:hover {
    background-color: #dd6b20;
}

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

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

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

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

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

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

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

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

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

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

.legal-page h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 40px;
    margin-bottom: 15px;
}

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

.legal-page ul {
    margin-bottom: 20px;
    margin-left: 25px;
}

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

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

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

.about-hero .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.value-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 0;
}

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

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

.sticky-cta .btn {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 12px 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
    }

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

    .mobile-menu-toggle {
        display: block;
    }

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

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

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

    .service-card {
        flex: 1 1 100%;
    }

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

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

    .ad-disclosure {
        display: none;
    }

    .header-inner {
        position: relative;
    }
}

@media (max-width: 480px) {
    .hero-editorial h1 {
        font-size: 1.7rem;
    }

    .editorial-section h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
