:root {
    --dark: #07111f;
    --dark-2: #0d1b2d;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #f0a500;
    --primary-hover: #d89200;
    --primary-soft: #fff6df;
    --border: #e5e7eb;
    --light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 12px 30px rgba(2, 8, 23, 0.08);
    --shadow-hover: 0 20px 44px rgba(2, 8, 23, 0.13);
    --radius: 18px;
    --radius-sm: 12px;
    --section-space: 5.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--primary-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    letter-spacing: -0.3px;
}

p {
    max-width: 68ch;
}

/* Navigation */

.rait-navbar {
    min-height: 82px;
    z-index: 1030;
}

.navbar-brand {
    color: var(--text);
    font-size: 1.7rem;
    font-weight: 800;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--text);
}

.navbar-brand img {
    object-fit: contain;
}

.rait-navbar .nav-link {
    padding: 0.75rem 0.85rem !important;
    color: var(--text);
    font-weight: 700;
}

.rait-navbar .nav-link:hover,
.rait-navbar .nav-link:focus,
.rait-navbar .nav-link.show,
.rait-navbar .nav-link.active,
.rait-navbar .dropdown > .nav-link.active {
    color: var(--primary) !important;
}

.rait-navbar .dropdown-toggle::after {
    margin-left: 0.4rem;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.rait-navbar .dropdown.show > .dropdown-toggle::after,
.rait-navbar .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}

.rait-navbar .dropdown-menu {
    display: block;
    visibility: hidden;
    min-width: 240px;
    margin-top: 0;
    padding: 0.65rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    opacity: 0;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(2, 8, 23, 0.14);
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.rait-navbar .dropdown:hover > .dropdown-menu,
.rait-navbar .dropdown.show > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.rait-navbar .dropdown-item {
    padding: 0.8rem 0.95rem;
    border-radius: 9px;
    color: var(--text);
    font-weight: 650;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.rait-navbar .dropdown-item:hover,
.rait-navbar .dropdown-item:focus,
.rait-navbar .dropdown-item.active,
.rait-navbar .dropdown-item:active {
    padding-left: 1.1rem;
    color: var(--primary);
    background: var(--primary-soft);
}

/* Buttons */

.btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #111827;
    font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
    color: #111827;
}

/* Homepage hero */

.rait-hero {
    padding: 5rem 0 4rem;
    background:
        linear-gradient(rgba(7, 17, 31, 0.87), rgba(7, 17, 31, 0.9)),
        var(--hero-image) center / cover no-repeat;
    color: var(--white);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: #ffd166;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.rait-hero h1 {
    margin-bottom: 1.2rem;
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.35rem);
    font-weight: 800;
    line-height: 1.05;
}

.rait-hero .lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
}

.hero-points {
    display: grid;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-points i,
.mini-contact i {
    margin-right: 0.5rem;
    color: #ffd166;
}

.hero-card {
    margin-top: 2rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(0, 12, 32, 0.75);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
}

.hero-card h2 {
    color: var(--white);
    font-weight: 800;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.9);
}

.mini-contact {
    display: grid;
    gap: 0.85rem;
}

.mini-contact a {
    color: var(--white);
}

/* Shared sections and cards */

.rait-section {
    padding: var(--section-space) 0;
}

.rait-section-light,
.bg-light {
    background: var(--light) !important;
}

.section-heading {
    max-width: 900px;
    margin-right: auto;
    margin-bottom: 2.75rem;
    margin-left: auto;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.section-heading p {
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.08rem;
}

.service-card,
.info-card,
.content-box-light,
.contact-card,
.contact-form-card,
.pricing-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-card,
.info-card {
    height: 100%;
    padding: 1.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.info-card:hover {
    border-color: rgba(240, 165, 0, 0.35);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-card i,
.info-card > i {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.service-card h3,
.info-card h3 {
    margin-bottom: 0.55rem;
    font-weight: 800;
}

.service-card p,
.info-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.card-link {
    display: block;
    color: inherit;
}

.card-link:hover {
    color: inherit;
}

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

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--white);
}

.section-dark .lead,
.section-dark .section-heading p {
    color: rgba(255, 255, 255, 0.78);
}

.about-highlight {
    display: grid;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    background: var(--dark-2);
}

.about-highlight i {
    color: var(--primary);
    font-size: 2.4rem;
}

.about-highlight strong {
    font-size: 1.3rem;
}

.about-highlight span {
    color: rgba(255, 255, 255, 0.78);
}

.content-box-light {
    padding: 2rem;
}

.content-box-light h2,
.content-box-light h3 {
    font-weight: 800;
}

.about-list {
    display: grid;
    gap: 0.75rem;
}

.about-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.about-list-item i {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: var(--primary);
}

/* CTA */

.contact-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff8e6, var(--white));
}

.contact-cta h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.contact-cta p {
    margin: 0 auto 2rem;
    color: var(--muted);
}

.service-cta-box {
    max-width: 850px;
    padding: 3rem 2.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f5f7fa;
}

.service-cta-box p {
    margin-right: auto;
    margin-left: auto;
}

/* Generic subpage */

.subpage-hero {
    padding: 5rem 0;
    background: var(--dark);
    color: var(--white);
}

.subpage-hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
}

.subpage-hero .lead {
    color: rgba(255, 255, 255, 0.88);
}

.page-content {
    max-width: 900px;
}

/* Service page */

.hero-subpage {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.hero-subpage.hero-has-image {
    display: flex;
    min-height: 480px;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
}

.hero-subpage.hero-has-image h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
}

.hero-subpage.hero-has-image .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.25rem;
    line-height: 1.7;
}

.service-section-image,
.service-gallery-image {
    width: 100%;
    object-fit: cover;
}

.service-section-image {
    max-height: 520px;
}

.service-gallery-image {
    aspect-ratio: 4 / 3;
}

/* GDPR page */

.gdpr-hero {
    min-height: 575px !important;
    padding: 5.5rem 0;
    background-position: center;
    background-size: cover;
}

.gdpr-hero .col-lg-9 {
    max-width: 880px;
}

.gdpr-intro,
.gdpr-help,
.gdpr-challenges,
.gdpr-related,
.faq-section,
.gdpr-cta {
    padding-top: 4.75rem !important;
    padding-bottom: 4.75rem !important;
}

.gdpr-intro .section-heading {
    margin-bottom: 2.25rem;
}

.gdpr-intro .row,
.gdpr-challenges .row,
.gdpr-process .row {
    margin-top: 0 !important;
}

.section-intro-text {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
}

.section-intro-text p {
    margin-right: auto;
    margin-left: auto;
}

.section-intro-text p:last-child,
.gdpr-rich-text p:last-child {
    margin-bottom: 0;
}

.gdpr-intro .info-card {
    min-height: 205px;
    padding: 1.75rem;
}

.gdpr-help .content-box-light {
    height: 100%;
}

.gdpr-rich-text ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.gdpr-challenges .service-card {
    min-height: 235px;
    padding: 1.75rem;
}

.gdpr-process {
    padding-top: 4.75rem !important;
    padding-bottom: 4.75rem !important;
}

.gdpr-process .section-heading {
    margin-bottom: 2.25rem;
}

.gdpr-process .about-box {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.gdpr-process .about-box:hover {
    border-color: rgba(240, 165, 0, 0.55);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-4px);
}

.gdpr-process .about-box p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.process-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: var(--primary);
    color: #061426;
    font-weight: 800;
}

.gdpr-related .content-box-light {
    height: 100%;
    box-shadow: none;
}

.faq-section .section-heading {
    margin-bottom: 2rem;
}

.faq-section .accordion {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.faq-section .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--border);
}

.faq-section .accordion-item:last-child {
    border-bottom: 0;
}

.faq-section .accordion-button {
    padding: 1rem 1.1rem;
    color: var(--text);
    background: var(--white);
    font-weight: 650;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--text);
    background: #e8f1ff;
}

.faq-section .accordion-body {
    color: var(--text);
}

.gdpr-cta .service-cta-box {
    max-width: 760px;
}

/* Pricing */

.pricing-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 2rem;
    text-align: center;
}

.pricing-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.pricing-card .price {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
}

.pricing-card p {
    flex: 1;
    color: var(--muted);
}

.pricing-card .btn {
    margin-top: 1.5rem;
}

/* Contact page */

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 2rem;
    align-items: start;
}

.contact-card,
.contact-form-card {
    padding: 2.2rem;
}

.contact-card h2,
.contact-form-card h2 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-info div {
    color: var(--muted);
    font-size: 1.05rem;
}

.contact-info i {
    margin-right: 0.6rem;
    color: var(--primary);
}

.contact-form .form-control {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(240, 165, 0, 0.15);
}

.contact-form textarea {
    min-height: 160px;
}

.contact-form button {
    padding: 0.8rem 1.5rem;
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #111827;
    font-weight: 800;
}

.contact-form button:hover {
    background: var(--primary-hover);
}

/* Footer */

.rait-footer {
    background: #050d18;
    color: var(--white);
}

.rait-footer h2,
.rait-footer h3,
.rait-footer h4,
.rait-footer h5 {
    color: var(--white);
}

.rait-footer a {
    color: var(--white);
}

.rait-footer a:hover {
    color: var(--primary);
}

.footer-muted {
    color: rgba(255, 255, 255, 0.68);
}

.footer-links {
    display: grid;
    gap: 0.65rem;
}

/* Responsive */

@media (min-width: 992px) {
    .hero-card {
        margin-top: 3rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-space: 4.5rem;
    }

    .rait-hero {
        padding: 5rem 0;
    }

    .navbar-collapse {
        padding: 1rem 0;
    }

    .rait-navbar .nav-link {
        padding: 0.6rem 0 !important;
    }

    .rait-navbar .dropdown-menu {
        position: static;
        visibility: visible;
        margin: 0.25rem 0 0.75rem;
        padding: 0.4rem 0 0.4rem 1rem;
        border: 0;
        border-left: 3px solid var(--primary);
        border-radius: 0;
        opacity: 1;
        box-shadow: none;
        transform: none;
    }

    .rait-navbar .dropdown-item {
        padding: 0.6rem 0.75rem;
    }

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

    .gdpr-hero {
        min-height: 500px !important;
    }
}

@media (max-width: 767.98px) {
    .section-heading {
        margin-bottom: 2rem;
    }

    .hero-subpage.hero-has-image,
    .gdpr-hero {
        min-height: 440px !important;
    }

    .gdpr-intro,
    .gdpr-help,
    .gdpr-challenges,
    .gdpr-related,
    .faq-section,
    .gdpr-cta,
    .gdpr-process {
        padding-top: 3.75rem !important;
        padding-bottom: 3.75rem !important;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-space: 4rem;
    }

    .hero-card,
    .service-card,
    .info-card,
    .content-box-light,
    .contact-card,
    .contact-form-card,
    .pricing-card,
    .gdpr-process .about-box {
        padding: 1.4rem;
    }

    .hero-subpage,
    .gdpr-hero {
        padding: 4rem 0;
    }

    .hero-subpage.hero-has-image h1 {
        font-size: clamp(2.15rem, 12vw, 3.2rem);
    }

    .hero-subpage.hero-has-image .lead {
        font-size: 1.05rem;
    }

    .service-cta-box {
        padding: 2rem 1.25rem;
    }
}

/* WYSIWYG content */

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

.wysiwyg-content > :first-child {
    margin-top: 0;
}

.wysiwyg-content > :last-child {
    margin-bottom: 0;
}

.wysiwyg-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.wysiwyg-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.wysiwyg-content p {
    margin-bottom: 1.25rem;
}

.wysiwyg-content ul,
.wysiwyg-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.wysiwyg-content li + li {
    margin-top: 0.4rem;
}

.wysiwyg-content a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}


/* Cookie consent */

.cookie-consent[hidden],
.cookie-consent__preferences[hidden],
.cookie-consent__button[hidden],
.cookie-settings-button[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
    background: rgba(7, 17, 31, 0.58);
    backdrop-filter: blur(5px);
    animation: cookie-fade 0.25s ease;
}

.cookie-consent__dialog {
    width: min(720px, 100%);
    max-height: calc(100vh - 3rem);
    padding: 2.5rem;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    animation: cookie-popup 0.35s ease;
}

.cookie-consent__dialog h2 {
    margin: 0 0 0.8rem;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
}

.cookie-consent__dialog p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-consent__dialog a {
    color: #ffd166;
    font-weight: 700;
}

.cookie-consent__dialog a:hover,
.cookie-consent__dialog a:focus {
    color: var(--primary);
}

.cookie-consent__preferences {
    display: grid;
    gap: 0.9rem;
    margin: 1.5rem 0;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-consent__preferences label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.cookie-consent__preferences input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary);
}

.cookie-consent__preferences input:disabled {
    cursor: not-allowed;
}

.cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cookie-consent__button {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 12px;
    background: var(--primary);
    color: #111827;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
    color: #111827;
    box-shadow: 0 8px 18px rgba(240, 165, 0, 0.2);
    transform: translateY(-1px);
}

.cookie-consent__button:focus-visible,
.cookie-settings-button:focus-visible {
    outline: 3px solid rgba(255, 209, 102, 0.45);
    outline-offset: 3px;
}

.cookie-settings-button {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 9990;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(2, 8, 23, 0.18);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus-visible {
    border-color: var(--primary);
    color: var(--primary-hover);
    transform: translateY(-1px);
}

@keyframes cookie-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes cookie-popup {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent,
    .cookie-consent__dialog {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .cookie-consent__actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .cookie-consent {
        align-items: flex-end;
        padding: 0.75rem;
    }

    .cookie-consent__dialog {
        max-height: calc(100vh - 1.5rem);
        padding: 1.4rem 1rem;
        border-radius: 16px;
    }

    .cookie-consent__dialog h2 {
        font-size: 1.5rem;
    }

    .cookie-settings-button {
        right: 0.75rem;
        bottom: 0.75rem;
    }
}
