:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --secondary: #c9a227;
    --secondary-light: #d4af37;
    --dark: #1a202c;
    --light: #f7fafc;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(26, 54, 93, 0.12);
    --shadow-lg: 0 10px 40px rgba(26, 54, 93, 0.18);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

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

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

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

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

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

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

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

.btn-white:hover {
    background: var(--light);
    transform: translateY(-2px);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    padding: 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

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

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

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Split Screen Layout */
.split-section {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

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

.split-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
}

.split-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.split-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(44, 82, 130, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: var(--white);
}

/* Hero Section */
.hero {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.hero .split-content {
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    color: var(--secondary);
    font-size: 2.4rem;
    margin-bottom: 4px;
}

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

/* Standard Sections */
.section {
    padding: 100px 0;
}

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

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

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

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

.service-card {
    flex: 1 1 340px;
    max-width: 380px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

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

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

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

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

/* Features Split */
.features-split {
    display: flex;
    align-items: center;
    gap: 80px;
}

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

.features-content {
    flex: 1;
}

.features-visual {
    flex: 1;
    position: relative;
}

.features-visual img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-check svg {
    width: 14px;
    height: 14px;
    fill: var(--dark);
}

/* Testimonials */
.testimonials-wrap {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--gray-light);
    font-family: Georgia, serif;
    line-height: 1;
}

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

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

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

.testimonial-info h4 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

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

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Form Styles */
.form-section {
    background: var(--light);
}

.form-wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.form-info {
    flex: 1;
}

.form-container {
    flex: 1;
    background: var(--white);
    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: 500;
    color: var(--dark);
}

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

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

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

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

/* Contact Info */
.contact-info-list {
    list-style: none;
    margin-top: 32px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

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

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

.contact-text h4 {
    margin-bottom: 4px;
}

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

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

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

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

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

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

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

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

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

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.sticky-cta .btn {
    box-shadow: var(--shadow-lg);
    padding: 16px 28px;
}

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

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
}

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

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

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

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

/* 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(--light) 0%, var(--white) 100%);
}

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

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

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

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

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

/* About Page */
.page-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    opacity: 0.85;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.team-card {
    flex: 1 1 280px;
    max-width: 320px;
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 600;
}

.team-card h3 {
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 16px;
    display: block;
}

.team-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Values */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.value-item {
    flex: 1 1 280px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.value-item h4 {
    margin-bottom: 12px;
}

.value-item p {
    color: var(--gray);
    margin: 0;
}

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

.legal-content h1 {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
}

.legal-content p,
.legal-content li {
    color: var(--gray);
}

.legal-content ul {
    margin: 16px 0 16px 24px;
}

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

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--secondary);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.timeline-year {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .split-section {
        flex-direction: column;
        min-height: auto;
    }

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

    .split-content {
        padding: 60px 24px;
    }

    .split-visual {
        min-height: 400px;
    }

    .features-split {
        flex-direction: column;
        gap: 40px;
    }

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

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

    .hero-stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
    }

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

    .nav-menu li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-light);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .section {
        padding: 60px 0;
    }

    .footer-grid {
        gap: 32px;
    }

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

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

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

    .service-card {
        padding: 32px 24px;
    }

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