:root {
    --color-primary: #1f6fb2;
    --color-secondary: #f5d061;
    --color-light: #f4f6fb;
    --color-dark: #1c2540;
    --color-text: #2e2f37;
    --color-muted: #6b7185;
    --color-border: #dfe4ee;
    --max-width: 1160px;
    --radius: 14px;
    --transition: 0.3s ease;
}

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

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background-color: #ffffff;
    color: var(--color-text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

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

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    color: var(--color-dark);
    margin-top: 0;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

p {
    margin: 0 0 1rem;
}

ul, ol {
    padding-left: 1.2rem;
}

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

.section {
    padding: 4rem 0;
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

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

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

.main-nav a {
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
}

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

.nav-toggle {
    display: none;
}

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

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    position: relative;
    height: 3px;
    width: 100%;
    background: var(--color-dark);
    border-radius: 3px;
    transition: transform var(--transition);
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-label span::before {
    top: -8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

.hero {
    background: linear-gradient(140deg, rgba(31, 111, 178, 0.08), rgba(245, 208, 97, 0.1));
    padding: 5rem 0 4rem;
}

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

.hero-text ul {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 0;
    display: grid;
    gap: 0.8rem;
}

.hero-text li {
    background: #ffffff;
    border-left: 4px solid var(--color-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 18px rgba(31, 111, 178, 0.1);
}

.page-hero {
    background: linear-gradient(180deg, rgba(31, 111, 178, 0.08), rgba(255, 255, 255, 0));
    padding: 4rem 0;
}

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

.pillars-grid,
.modules-grid,
.story-grid,
.approach-grid,
.values-inner,
.usecases-grid,
.service-grid,
.guidance-grid,
.faq-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pillars-grid article,
.modules-grid article,
.story-grid article,
.approach-grid article,
.usecases-grid article,
.service-grid article,
.guidance-grid article,
.faq-grid article {
    background: var(--color-light);
    border-radius: var(--radius);
    padding: 1.6rem;
    border: 1px solid rgba(31, 111, 178, 0.1);
}

.methodology-inner,
.insights-inner,
.service-detail-inner,
.contact-info-grid,
.values-inner,
service-insights-inner,
contact-guidance .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.methodology-visual,
.insights-visual,
.page-hero-visual,
.mission-visual,
.service-detail-visual,
.hero-visual {
    position: relative;
}

.methodology-visual::after,
.insights-visual::after,
.page-hero-visual::after,
.mission-visual::after,
.service-detail-visual::after,
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(245, 208, 97, 0.3);
    pointer-events: none;
}

.pathway-timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-step {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 1.6rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(31, 111, 178, 0.08);
}

.resources-grid,
.service-insights-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}

.resource-card,
.insight-card,
.values-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 1.8rem;
    border: 1px solid rgba(31, 111, 178, 0.15);
    box-shadow: 0 10px 30px rgba(0, 24, 63, 0.06);
}

.process-steps {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.process-step {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.8rem;
    position: relative;
    background: #ffffff;
}

.process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal-hero {
    background: linear-gradient(180deg, rgba(31, 111, 178, 0.1), rgba(255, 255, 255, 0));
    padding: 4rem 0 3rem;
}

.legal-section {
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--color-border);
    padding: 0.9rem;
    text-align: left;
    background: #ffffff;
}

.cookie-table th {
    background: rgba(31, 111, 178, 0.08);
}

.contact-form {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    padding: 2rem;
    display: grid;
    gap: 1.2rem;
}

.form-group {
    display: grid;
    gap: 0.4rem;
}

label {
    font-weight: 600;
    color: var(--color-dark);
}

input,
textarea {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    font-size: 1rem;
    font-family: inherit;
    transition: border var(--transition), box-shadow var(--transition);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    border: none;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.btn:hover {
    background: #18588d;
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: #51576c;
}

.form-success,
.form-error {
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
}

.form-success {
    background: rgba(61, 214, 157, 0.15);
    color: #1f6f5a;
    border: 1px solid rgba(61, 214, 157, 0.35);
}

.form-error {
    background: rgba(255, 99, 71, 0.15);
    color: #c0392b;
    border: 1px solid rgba(255, 99, 71, 0.3);
}

.site-footer {
    background: var(--color-dark);
    color: #ffffff;
    padding: 3.5rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.footer-note {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 2.5rem;
    padding-top: 1.4rem;
    text-align: center;
    font-size: 0.95rem;
    color: #d0d4e6;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 24px 48px rgba(0, 24, 63, 0.15);
    border: 1px solid var(--color-border);
    padding: 1.6rem;
    z-index: 1000;
    display: none;
}

.cookie-banner__content {
    display: grid;
    gap: 1rem;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cookie-link {
    font-weight: 600;
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content,
    .page-hero-inner,
    .methodology-inner,
    .insights-inner,
    .service-detail-inner,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual,
    .page-hero-visual,
    .methodology-visual,
    .insights-visual,
    .mission-visual,
    .service-detail-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-inner {
        min-height: 64px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-toggle-label {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(28, 37, 64, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .main-nav a {
        color: #ffffff;
        font-size: 1.4rem;
    }

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

    .cookie-banner {
        left: 1rem;
        right: 1rem;
        max-width: unset;
        bottom: 1rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    body {
        font-size: 0.97rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 4rem;
    }
}
@media (max-width: 480px) {
    .nav-toggle-label {
        width: 32px;
        height: 24px;
    }

    .hero-text ul {
        gap: 0.6rem;
    }

    .contact-form {
        padding: 1.4rem;
    }

    .process-step {
        padding: 1.4rem;
    }
}