:root {
    --color-coral: #FF6F61;
    --color-linen: #FAF0E6;
    --color-indigo: #3F51B5;
    --color-graphite: #3A3A3A;
    --color-white: #FFFFFF;
    --color-muted: #6C6C6C;
    --font-primary: "Inter", Arial, sans-serif;
    --radius-base: 12px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 40px rgba(58, 58, 58, 0.1);
}

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

body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--color-graphite);
    background-color: var(--color-white);
    line-height: 1.6;
}

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

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

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1160px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

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

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

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--color-white);
}

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

h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
}

h2 {
    font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.3rem, 2vw + 0.6rem, 1.8rem);
    margin-bottom: 1rem;
}

p {
    margin: 0 0 1.2rem 0;
}

ul {
    margin: 0 0 1.2rem 1.2rem;
    padding: 0;
}

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

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

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-graphite);
}

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

.main-nav a {
    font-weight: 500;
    color: var(--color-graphite);
    padding: 8px 0;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
    border-color: var(--color-coral);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle-label span {
    width: 26px;
    height: 2px;
    background-color: var(--color-graphite);
    display: block;
}

.hero {
    padding-top: 120px;
}

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

.hero-content .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-indigo);
    font-size: 0.85rem;
}

.hero-content p {
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.button.primary:hover {
    background-color: #ff5a48;
    color: var(--color-white);
}

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

.button.secondary:hover {
    background-color: var(--color-indigo);
    color: var(--color-white);
}

.hero-subpage {
    padding-top: 110px;
}

.hero-legal {
    padding-top: 120px;
    text-align: center;
}

.hero-legal p {
    max-width: 760px;
    margin: 0 auto;
}

.hero-media {
    position: relative;
}

.hero-media::after {
    content: "";
    position: absolute;
    top: 20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border-radius: var(--radius-base);
    background: rgba(255, 111, 97, 0.12);
    z-index: -1;
}

.hero-media img {
    box-shadow: var(--shadow-soft);
}

.features-grid,
.modules-grid,
.services-grid,
.methods-grid,
.faq-grid,
.process-grid {
    display: grid;
    gap: 28px;
}

.features-grid,
.modules-grid,
.services-grid,
.methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card,
.module-card,
.service-card,
.method-card {
    background-color: var(--color-white);
    border-radius: var(--radius-base);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.section-dark .module-card,
.section-dark .method-card {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

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

.list-check li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
}

.list-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-indigo);
    box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.15);
}

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

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.image-wrapper {
    position: relative;
}

.image-wrapper::after {
    content: "";
    position: absolute;
    inset: 20px -20px -20px 20px;
    border-radius: var(--radius-base);
    border: 2px solid rgba(63, 81, 181, 0.15);
    z-index: -1;
}

.resource-list {
    display: grid;
    gap: 20px;
}

.table-responsive {
    border-radius: var(--radius-base);
    overflow-x: auto;
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

thead {
    background-color: rgba(63, 81, 181, 0.08);
}

th, td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(58, 58, 58, 0.08);
    font-size: 0.98rem;
}

tbody tr:last-child td {
    border-bottom: none;
}

.final-cta {
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.12), rgba(255, 111, 97, 0.12));
}

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

.timeline {
    display: grid;
    gap: 24px;
}

.timeline-item {
    background-color: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--color-indigo);
}

.process-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-step {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-base);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list {
    list-style: none;
    margin: 24px 0 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contact-form-section {
    background-color: var(--color-white);
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-soft);
    padding: 48px;
}

.contact-form {
    display: grid;
    gap: 22px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

input[type="text"],
input[type="email"],
textarea {
    border: 1px solid rgba(58, 58, 58, 0.18);
    border-radius: var(--radius-base);
    padding: 14px 16px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-primary);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--color-indigo);
    outline: none;
    box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.15);
}

textarea {
    resize: vertical;
    min-height: 160px;
}

.form-hint {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
}

.alert {
    padding: 18px 22px;
    border-radius: var(--radius-base);
    font-weight: 600;
}

.alert.success {
    background-color: rgba(63, 81, 181, 0.15);
    color: var(--color-graphite);
}

.alert.error {
    background-color: rgba(255, 111, 97, 0.18);
    color: var(--color-graphite);
}

.legal-section {
    padding: 70px 0;
}

.legal-section h2 {
    margin-bottom: 1rem;
}

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

.legal-list li {
    margin-bottom: 0.8rem;
}

.site-footer {
    background-color: #1f1f1f;
    color: rgba(255, 255, 255, 0.86);
    padding: 70px 0 30px;
}

.site-footer h3,
.site-footer h4 {
    color: var(--color-white);
}

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

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.86);
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--color-coral);
}

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

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-graphite);
    color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-base);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    max-width: 420px;
    width: calc(100% - 32px);
    z-index: 1500;
    display: none;
}

.cookie-banner a {
    color: var(--color-coral);
}

.cookie-banner__inner {
    display: grid;
    gap: 16px;
}

.cookie-banner .button {
    justify-self: start;
}

@media (max-width: 1024px) {
    .hero-grid,
    .two-column,
    .final-cta-inner {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .hero {
        padding-top: 100px;
    }
    .hero-subpage {
        padding-top: 100px;
    }
    .two-column.reverse {
        direction: ltr;
    }
    .image-wrapper::after {
        inset: 14px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 16px 0;
    }
    .main-nav {
        position: fixed;
        inset: 0;
        background-color: rgba(31, 31, 31, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    .main-nav a {
        font-size: 1.4rem;
        color: var(--color-white);
        border-bottom: none;
    }
    .nav-toggle-label {
        display: flex;
    }
    .nav-toggle:checked ~ .main-nav {
        transform: translateY(0);
    }
    .nav-toggle:checked ~ .main-nav a {
        padding: 12px 24px;
    }
    .nav-toggle:checked ~ .main-nav::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(31, 31, 31, 0.95);
    }
    .hero-grid {
        gap: 32px;
    }
    .hero-media::after {
        display: none;
    }
    .contact-form-section {
        padding: 32px 24px;
    }
    table {
        min-width: 540px;
    }
    .section {
        padding: 70px 0;
    }
    .legal-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 90px;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .button {
        width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner {
        bottom: 16px;
        padding: 18px 20px;
    }
    th, td {
        padding: 14px 16px;
        font-size: 0.92rem;
    }
    .section {
        padding: 60px 0;
    }
    .legal-section {
        padding: 50px 0;
    }
    .footer-grid {
        gap: 28px;
    }
    .header-inner {
        padding: 14px 0;
    }
}