:root {
    --primary: #2d5a8c;
    --primary-dark: #1e3d5c;
    --accent: #e8943a;
    --accent-hover: #d17f2a;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --bg: #ffffff;
    --bg-alt: #f4f7fa;
    --bg-dark: #1a2a3a;
    --border: #dde4eb;
    --shadow: rgba(45, 90, 140, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

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

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

h1, h2, h3, h4, h5 {
    line-height: 1.3;
    font-weight: 600;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1.2rem;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.1rem;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 148, 58, 0.35);
}

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

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

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 36px;
    height: 36px;
}

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

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

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

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

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

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* Hero Editorial */
.hero-editorial {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

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

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-editorial h1 {
    margin-bottom: 24px;
}

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

.hero-image {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

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

/* Section Styles */
.section {
    padding: 80px 0;
}

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

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

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

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

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

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

/* Editorial Content */
.editorial-content {
    font-size: 1.1rem;
}

.editorial-content p {
    margin-bottom: 1.5rem;
}

.editorial-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.editorial-quote {
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    margin: 40px 0;
    background: var(--bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-light);
}

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

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

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

/* Split Section */
.split-section {
    display: flex;
    align-items: center;
    gap: 64px;
}

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

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px var(--shadow);
}

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

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

.service-card {
    flex: 1 1 320px;
    max-width: 380px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.service-card h3 {
    margin-bottom: 12px;
}

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

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

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

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

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

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Testimonials */
.testimonial-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.testimonial {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 8px 32px var(--shadow);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text);
}

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

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

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

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

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* Form */
.form-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1a26 100%);
    padding: 100px 0;
}

.form-wrapper {
    display: flex;
    gap: 64px;
    align-items: center;
}

.form-info {
    flex: 1;
    color: #fff;
}

.form-info h2 {
    color: #fff;
    margin-bottom: 20px;
}

.form-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.form-benefits {
    list-style: none;
}

.form-benefits li {
    padding: 12px 0;
    padding-left: 36px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.form-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.form-container {
    flex: 1;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

/* Contact Page */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.contact-info-block {
    flex: 1 1 300px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

.contact-details h4 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-map {
    flex: 1 1 400px;
    min-height: 360px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Page */
.about-intro {
    display: flex;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.about-intro-content {
    flex: 1;
}

.about-intro-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px var(--shadow);
}

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

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

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

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

.team-member h4 {
    margin-bottom: 4px;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

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

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

.thanks-content h1 {
    margin-bottom: 20px;
}

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 72px 0 32px;
}

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

.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: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-brand {
    flex: 2 1 300px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: #fff;
    padding: 20px 24px;
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    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;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

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

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

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

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

.cookie-reject {
    padding: 10px 24px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    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: 0 8px 24px rgba(232, 148, 58, 0.4);
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

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

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

.legal-content h2 {
    margin-top: 48px;
    margin-bottom: 20px;
}

.legal-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 28px;
}

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

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

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

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

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

.inline-cta .btn:hover {
    background: var(--accent-hover);
}

/* Features Grid */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.feature-item {
    flex: 1 1 280px;
    padding: 32px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

.feature-item h4 {
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: 0 4px 20px var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav .btn {
        display: none;
    }

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

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

    .form-wrapper {
        flex-direction: column;
    }

    .about-intro {
        flex-direction: column;
    }

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

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

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

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

    .section {
        padding: 56px 0;
    }

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

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

    .form-container {
        padding: 28px;
    }

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

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

    .sticky-cta .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
