:root {
    --color-lavender: #d4c2fc;
    --color-white: #ffffff;
    --color-gold: #d9a441;
    --color-navy: #1f2a44;
    --color-grey: #616b80;
    --color-light-grey: #f7f7fb;
    --color-border: #e2e3ef;
    --color-success: #2f855a;
    --color-error: #c53030;
    --max-width: 1180px;
    --radius-large: 16px;
    --radius-medium: 12px;
    --radius-small: 8px;
    --shadow-soft: 0 18px 40px rgba(31, 42, 68, 0.12);
    --shadow-light: 0 8px 24px rgba(31, 42, 68, 0.08);
    --transition-base: 0.25s ease;
    font-size: 16px;
}

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

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--color-navy);
    background-color: var(--color-light-grey);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1, h2, h3, h4 {
    margin-top: 0;
    color: var(--color-navy);
    font-weight: 700;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

.container {
    width: min(100%, calc(var(--max-width) + 2rem));
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

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

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

.hero {
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, rgba(212, 194, 252, 0.45), rgba(31, 42, 68, 0.08));
}

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

.hero-narrow {
    max-width: 840px;
}

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

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-medium);
    font-weight: 600;
    transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
    border: 1px solid transparent;
    cursor: pointer;
}

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

.button-primary:hover,
.button-primary:focus {
    background-color: #172038;
    transform: translateY(-2px);
}

.button-secondary {
    background-color: transparent;
    border-color: var(--color-navy);
    color: var(--color-navy);
}

.button-secondary:hover,
.button-secondary:focus {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.site-header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(31, 42, 68, 0.08);
}

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

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

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

.site-nav a {
    font-weight: 600;
    color: var(--color-grey);
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--color-navy);
}

.site-nav a.active {
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-medium);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--color-border);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    position: relative;
    width: 1.4rem;
    height: 2px;
    background: var(--color-navy);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

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

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

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

.nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
}

.nav-toggle:checked + .nav-toggle-label span::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:checked ~ .site-nav {
    transform: translateX(0);
    visibility: visible;
}

.site-nav {
    transition: transform var(--transition-base);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .nav-toggle {
        display: block;
        position: absolute;
        width: 0;
        height: 0;
        opacity: 0;
    }
    .nav-toggle-label {
        display: flex;
    }
    .site-nav {
        position: fixed;
        inset: 0;
        background-color: rgba(20, 25, 43, 0.98);
        transform: translateX(100%);
        padding: 6rem 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
    }
    .site-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .site-nav a {
        color: var(--color-white);
        font-size: 1.4rem;
    }
    .site-nav a.active {
        border-color: var(--color-gold);
    }
}

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

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse > * {
    direction: ltr;
}

.media-card {
    background: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

.key-points {
    list-style: none;
    padding: 0;
}

.key-points li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.75rem;
}

.key-points li::before {
    content: "";
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 0.75rem;
    height: 0.75rem;
    background: linear-gradient(135deg, var(--color-lavender), var(--color-gold));
    border-radius: 50%;
}

.timeline {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.timeline-step {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-large);
    padding: 1.8rem;
    box-shadow: var(--shadow-light);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.stats-grid div {
    background: rgba(212, 194, 252, 0.25);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    text-align: center;
}

.cards-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: rgba(255, 255, 255, 0.96);
    padding: 1.8rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
}

.resource-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.resource-list {
    list-style: disc;
    padding-left: 1.2rem;
}

.compliance-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.milestones {
    list-style: decimal;
    line-height: 1.7;
}

.approach-grid,
.values-grid,
.tools-grid,
.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
    background: var(--color-white);
    padding: 1.8rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
}

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

.process-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.process-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.7rem;
    height: 0.7rem;
    background: var(--color-gold);
    border-radius: 50%;
}

.faq {
    max-width: 880px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.2rem 0;
}

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

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

.contact-details li {
    margin-bottom: 0.75rem;
}

.form-wrapper {
    max-width: 760px;
}

.contact-form {
    display: grid;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

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

.form-row.checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-medium);
    border: 1px solid var(--color-border);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-white);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--color-lavender);
    box-shadow: 0 0 0 3px rgba(212, 194, 252, 0.35);
    outline: none;
}

.form-feedback {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-medium);
    font-weight: 600;
}

.form-feedback.success {
    background: rgba(47, 133, 90, 0.1);
    color: var(--color-success);
}

.form-feedback.error {
    background: rgba(197, 48, 48, 0.1);
    color: var(--color-error);
}

.cta-panel {
    text-align: center;
    background: linear-gradient(135deg, rgba(31, 42, 68, 0.92), rgba(212, 194, 252, 0.8));
    border-radius: var(--radius-large);
    padding: 3rem;
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.site-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    color: var(--color-white);
    font-size: 1.3rem;
    display: inline-block;
    margin-bottom: 1rem;
}

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

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    max-width: 420px;
    background: var(--color-white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem;
    z-index: 50;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.cookie-banner.is-hidden {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
}

.cookie-content h2 {
    margin-bottom: 0.75rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.legal {
    font-size: 1rem;
}

.legal h2 {
    margin-top: 2.5rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    .split-layout.reverse {
        direction: ltr;
    }
    .hero {
        padding-top: 5rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
    .cta-panel {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 540px) {
    .section {
        padding: 3.5rem 0;
    }
    .hero {
        padding: 4rem 0 3.5rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .form-row.checkbox {
        flex-direction: column;
    }
    .legal-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .button {
        width: 100%;
    }
    .timeline {
        grid-template-columns: 1fr;
    }
}