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

:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --secondary-color: #4a5568;
    --accent-color: #c53030;
    --light-blue: #ebf8ff;
    --white: #ffffff;
    --light-gray: #f7fafc;
    --gray: #e2e8f0;
    --dark-gray: #2d3748;
    --text-color: #1a202c;
    --text-light: #718096;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-icon {
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
    padding: 40px 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

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

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

.btn-primary:hover {
    background: #9b2c2c;
    border-color: #9b2c2c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.problems-solutions {
    background: var(--light-gray);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.problem-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.problem-card p {
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.service-content p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: #9b2c2c;
}

.who-we-serve {
    background: var(--light-gray);
}

.who-we-serve .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.serve-content h2 {
    text-align: left;
}

.serve-content p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.serve-list {
    list-style: none;
    margin-bottom: 20px;
}

.serve-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--secondary-color);
}

.serve-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.serve-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

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

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.form-content h2 {
    color: var(--white);
    text-align: left;
    margin-bottom: 20px;
}

.form-content p {
    opacity: 0.9;
}

.quote-form,
.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
}

.page-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.about-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    text-align: left;
}

.about-content p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

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

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--secondary-color);
}

.what-we-do .services-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-summary-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.service-summary-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-summary-item ul {
    list-style: none;
}

.service-summary-item li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--secondary-color);
}

.service-summary-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

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

.experience-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.experience-content h2 {
    margin-bottom: 30px;
}

.experience-content p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-area .area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.area-item {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.area-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 20px;
    font-style: italic;
}

.cta-section {
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--accent-color);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--light-gray);
}

.services-detail .service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

.service-detail-image {
    height: 100%;
    min-height: 400px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content {
    padding: 40px;
}

.service-detail-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.service-detail-content p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-detail-content h3 {
    color: var(--primary-color);
    margin: 20px 0 15px;
    font-size: 1.1rem;
}

.service-detail-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-detail-content li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--secondary-color);
}

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

.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
}

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

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

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.legal-info {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
}

.legal-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.legal-info p {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

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

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.map-address {
    text-align: center;
    color: var(--secondary-color);
    margin-top: 20px;
    font-weight: 500;
}

.legal-content {
    padding-top: 40px;
}

.legal-article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.legal-article h2 {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
}

.legal-article h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-article h3 {
    color: var(--primary-color);
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.legal-article p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.legal-article ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-article li {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.legal-article address {
    font-style: normal;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

.cookie-table th {
    background: var(--primary-color);
    color: var(--white);
}

.cookie-table td {
    color: var(--secondary-color);
}

.cookie-table tr:nth-child(even) {
    background: var(--light-gray);
}

.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    color: var(--secondary-color);
    flex: 1;
    min-width: 250px;
}

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

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 500;
}

.cookie-option p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px;
    padding-left: 30px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .form-wrapper,
    .who-we-serve .container,
    .about-section .about-grid,
    .contact-section .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .service-detail-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--gray);
    }

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

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

    h2 {
        font-size: 1.75rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .legal-article {
        padding: 30px;
    }

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

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        padding: 12px 24px;
        width: 100%;
    }

    section {
        padding: 50px 0;
    }
}
