:root {
    --primary: #4338ca;
    --accent: #6366f1;
    --background: #eef2ff;
    --text: #3730a3;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #cbd5e1;
    --dark-gray: #334155;
    --shadow: rgba(67, 56, 202, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

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

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

.nav-split {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-left, .nav-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-left {
    justify-content: flex-end;
    flex: 1;
}

.nav-right {
    justify-content: flex-start;
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-split a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-split a:hover,
.nav-split a.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
    padding: 1rem 0;
}

.mobile-menu a {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--background);
    display: block;
}

.hero-animated {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--background));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

.hero-content h1 {
    color: var(--text);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow);
}

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

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

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

.btn-accent:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow);
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--background);
}

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

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--dark-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--dark-gray);
    margin: 0;
}

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

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-box h2 {
    color: var(--white);
}

.newsletter-box p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 1rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-align: left;
}

.checkbox-label input {
    width: auto;
}

.checkbox-label a {
    color: var(--white);
    text-decoration: underline;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

.footer {
    background: var(--text);
    color: var(--white);
}

.footer-content {
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

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

.footer-column a:hover {
    color: var(--white);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-contact:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.services-detail-grid {
    display: grid;
    gap: 4rem;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
}

.service-detail ul {
    list-style: none;
    padding: 0;
}

.service-detail ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-detail ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step p {
    margin: 0;
    color: var(--dark-gray);
}

.additional-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.additional-service {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.additional-service h3 {
    color: var(--primary);
}

.additional-service p {
    margin: 0;
    color: var(--dark-gray);
}

.cta-section {
    background: var(--background);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

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

.map-section {
    margin-top: 3rem;
}

.map-section iframe {
    width: 100%;
    display: block;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
}

.approach-item h3 {
    color: var(--primary);
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
}

.value-card h3 {
    color: var(--primary);
}

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

.legal-content {
    padding: 3rem 0;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--primary);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--medium-gray);
}

.cookie-table th {
    background: var(--background);
    color: var(--text);
    font-weight: 600;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px var(--shadow);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    margin-top: 70px;
}

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

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-icon svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    color: var(--primary);
}

.thanks-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .nav-left, .nav-right {
        display: none;
    }

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

    .mobile-menu {
        display: flex;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
    }

    .mobile-menu-toggle {
        order: 2;
    }

    .mobile-menu {
        order: 3;
        width: 100%;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-animated {
        min-height: 70vh;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .floating-contact {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .floating-contact svg {
        width: 20px;
        height: 20px;
    }

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

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}