@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --color-primary: #1F6FEB;
    --color-secondary: #00C389;
    --color-accent: #F59E0B;
    --color-background: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-text: #0F172A;
    --color-muted: #94A3B8;
    --font-base: 'Inter', Arial, sans-serif;
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.05);
    --max-width: 1140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

h1, h2, h3, h4 {
    margin-top: 0;
    color: var(--color-text);
    line-height: 1.2;
}

p {
    margin-top: 0;
}

ul {
    padding-left: 1.2rem;
}

.section-spacing {
    padding: 80px 20px;
}

.surface {
    background-color: var(--color-surface);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.container.narrow {
    max-width: 760px;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.hero {
    background: linear-gradient(120deg, rgba(31, 111, 235, 0.08), rgba(0, 195, 137, 0.08));
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.hero-content .btn,
.hero-content .btn-secondary {
    margin-right: 16px;
}

.hero-image img {
    box-shadow: var(--shadow-md);
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.highlight-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.highlight-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    position: absolute;
    left: 0;
    top: 10px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.stat-card {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-primary);
}

.stat-label {
    color: var(--color-muted);
    margin: 0;
}

.module-grid,
.service-grid,
.case-grid,
.pillar-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 32px;
}

.module-card,
.service-card,
.case-card,
.pillar-card {
    background-color: var(--color-surface);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover,
.service-card:hover,
.case-card:hover,
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.module-card ul,
.service-card ul {
    padding-left: 1rem;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checklist li::before {
    content: '✔';
    color: var(--color-secondary);
    font-weight: 700;
    margin-right: 12px;
    margin-top: 4px;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.timeline li {
    margin-bottom: 16px;
    padding-left: 20px;
    border-left: 3px solid var(--color-accent);
}

.timeline li strong {
    display: block;
    margin-bottom: 4px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--color-surface);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-item button:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-left: 16px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.contact-section {
    background-color: var(--color-primary);
    color: #fff;
}

.contact-section h2,
.contact-section p,
.contact-section a {
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.contact-details li {
    margin-bottom: 12px;
}

.contact-form {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
}

input,
textarea {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: var(--font-base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.15);
    outline: none;
}

textarea {
    resize: vertical;
}

.form-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-form .form-disclaimer {
    color: var(--color-muted);
    margin-top: 16px;
}

.btn,
.btn-secondary {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.btn {
    background-color: var(--color-secondary);
    color: #0B1120;
    box-shadow: var(--shadow-sm);
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: rgba(31, 111, 235, 0.12);
    color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(31, 111, 235, 0.2);
    transform: translateY(-2px);
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus {
    border-color: var(--color-primary);
    text-decoration: none;
}

.main-nav a.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

#nav-toggle,
.nav-toggle-label {
    display: none;
}

.nav-close {
    display: none;
}

.nav-overlay {
    display: none;
}

.site-footer {
    background-color: #0B1120;
    color: #E2E8F0;
    padding: 60px 20px 30px 20px;
}

.site-footer a {
    color: #E2E8F0;
}

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

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.7);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    left: 10px;
}

.image-frame {
    box-shadow: var(--shadow-md);
    border-radius: 16px;
    overflow: hidden;
}

.image-banner {
    margin-top: 32px;
}

.legal-list {
    padding-left: 1.2rem;
}

.legal-list li {
    margin-bottom: 12px;
}

.confirmation-details {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
}

.confirmation-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.confirmation-details li {
    margin-bottom: 10px;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    background: #0B1120;
    color: #fff;
    padding: 20px 24px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 2000;
}

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

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.cookie-banner .btn-secondary {
    background-color: rgba(226, 232, 240, 0.1);
    color: #fff;
}

.sticky-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background-color: var(--color-accent);
    color: #0B1120;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 1500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticky-cta:hover,
.sticky-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.3);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .hero-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 32px;
    }

    .hero-content .btn,
    .hero-content .btn-secondary {
        margin-bottom: 12px;
    }

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

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--color-surface);
        transform: translateX(100%);
        transition: transform 0.2s ease;
        box-shadow: -6px 0 24px rgba(15, 23, 42, 0.15);
        padding: 80px 24px 24px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    #nav-toggle:checked ~ .main-nav {
        transform: translateX(0);
    }

    .nav-toggle-label {
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 20px;
        cursor: pointer;
    }

    .nav-toggle-label span {
        height: 3px;
        width: 100%;
        border-radius: 2px;
        background: var(--color-text);
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 24px;
        font-size: 2rem;
        color: var(--color-text);
        cursor: pointer;
    }

    .nav-overlay {
        display: none;
    }

    #nav-toggle:checked ~ .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
    }

    .nav-wrapper {
        padding: 16px 20px;
    }
}

@media (max-width: 640px) {
    .section-spacing {
        padding: 64px 18px;
    }

    .hero-content .btn,
    .hero-content .btn-secondary {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    .stat-grid,
    .module-grid,
    .service-grid,
    .case-grid,
    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

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

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}