/* ========================================
   Reset and Base Styles
   ======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

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

a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e8b923;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #34495e;
}

.small-text {
    font-size: 0.875rem;
    color: #7f8c8d;
}

/* ========================================
   Container and Layout
   ======================================== */

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

.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* ========================================
   Header and Navigation
   ======================================== */

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    border-bottom-color: #e8b923;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Sections
   ======================================== */

.hero {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ffffff;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
}

.hero-small {
    background-color: #34495e;
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
}

.hero-small h1 {
    margin-bottom: 0.5rem;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #e8b923;
    color: #2c3e50;
}

.btn-primary:hover {
    background-color: #d4a521;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 185, 35, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #2c3e50;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ========================================
   Grids and Layouts
   ======================================== */

.services-grid,
.features-grid,
.testimonials-grid,
.values-grid,
.team-grid,
.benefits-comparison,
.link-cards,
.directions-grid,
.industries-grid,
.responsibility-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card,
.testimonial-card,
.value-card,
.team-member,
.comparison-card,
.link-card,
.direction-card,
.industry-item,
.responsibility-item {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 280px;
}

.intro-grid,
.content-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.intro-text,
.intro-visual,
.column-text {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 280px;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1 1 60%;
    min-width: 300px;
}

.contact-visual {
    flex: 1 1 35%;
    min-width: 280px;
}

/* ========================================
   Cards and Blocks
   ======================================== */

.service-card,
.value-card,
.direction-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.value-card:hover,
.direction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-icon,
.direction-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-icon svg,
.direction-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #e8b923;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #34495e;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: #2c3e50;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: #7f8c8d;
}

/* ========================================
   Stats Section
   ======================================== */

.stats-section {
    background-color: #2c3e50;
    color: #ffffff;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}

.stat-item {
    flex: 1 1 200px;
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e8b923;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: #ecf0f1;
}

/* ========================================
   Process Steps
   ======================================== */

.process-steps,
.process-steps-detailed {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step,
.process-step-detail {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 220px;
    text-align: center;
}

.step-number,
.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: #e8b923;
    color: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========================================
   Team Section
   ======================================== */

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

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.team-avatar svg {
    width: 100%;
    height: 100%;
}

.team-role {
    color: #e8b923;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ========================================
   Timeline
   ======================================== */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ecf0f1;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    flex-shrink: 0;
    width: 100px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e8b923;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* ========================================
   Benefits Section
   ======================================== */

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.comparison-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #ecf0f1;
}

.comparison-card.highlighted {
    border-color: #e8b923;
    background-color: #fffbf0;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.comparison-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e8b923;
    font-weight: 700;
}

.comparison-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
    font-size: 0.875rem;
    color: #7f8c8d;
}

/* ========================================
   Services Page
   ======================================== */

.services-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e8b923;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    border-color: #e8b923;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-info {
    flex: 1;
}

.service-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.service-info p {
    color: #34495e;
    margin-bottom: 0;
}

.service-price {
    flex-shrink: 0;
    text-align: right;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e8b923;
    white-space: nowrap;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-block {
    margin-bottom: 2rem;
}

.contact-block h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.info-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.info-box h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.company-details {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
}

.detail-value {
    color: #34495e;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #34495e;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ffffff;
}

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

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
}

/* ========================================
   Thank You Page
   ======================================== */

.thank-you-section {
    padding: 6rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.thank-you-icon svg {
    width: 100%;
    height: 100%;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.link-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #ecf0f1;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.link-card:hover {
    border-color: #e8b923;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.link-card h3 {
    color: #2c3e50;
}

.link-card p {
    color: #34495e;
    margin-bottom: 0;
}

/* ========================================
   Legal Pages
   ======================================== */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text {
    line-height: 1.8;
}

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    padding-top: 1rem;
    border-top: 2px solid #ecf0f1;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #34495e;
}

.legal-text ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

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

.legal-text a {
    color: #e8b923;
    text-decoration: underline;
}

.legal-text a:hover {
    color: #d4a521;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookies-table th,
.cookies-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ecf0f1;
}

.cookies-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.cookies-table tr:hover {
    background-color: #f8f9fa;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    flex: 1 1 calc(25% - 1.5rem);
    min-width: 200px;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    color: #ecf0f1;
}

.footer-col a:hover {
    color: #e8b923;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* ========================================
   Cookie Banner and Modal
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    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: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #e8b923;
    text-decoration: underline;
}

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

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #7f8c8d;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.cookie-option {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
}

.cookie-option label {
    display: flex;
    gap: 1rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
}

.cookie-option strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.cookie-option p {
    margin: 0;
    font-size: 0.875rem;
    color: #7f8c8d;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

/* ========================================
   Section Titles
   ======================================== */

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: #34495e;
}

/* ========================================
   Responsive Design - Mobile First
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

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

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

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

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .service-card,
    .testimonial-card,
    .value-card,
    .team-member,
    .comparison-card,
    .direction-card {
        flex: 1 1 100%;
    }

    .intro-text,
    .intro-visual,
    .column-text {
        flex: 1 1 100%;
    }

    .process-step,
    .process-step-detail {
        flex: 1 1 calc(50% - 1rem);
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-year {
        width: auto;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .service-item {
        flex-direction: column;
        gap: 1rem;
    }

    .service-price {
        text-align: left;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .stats-grid {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .process-step,
    .process-step-detail {
        flex: 1 1 100%;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .industry-item {
        flex: 1 1 100%;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ========================================
   Accessibility
   ======================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2c3e50;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid #e8b923;
    outline-offset: 2px;
}