:root {
    --main-text-color: #1f2933;
    --main-accent: #1e3a8a;
    --main-background: #f7f7f7;
    --dark-surface: #374151;
    --dark-text: #f3f4f6;
    --muted-text: #4b5563;
    --border-light: #e5e7eb;
    --dark-text-bright: #ffffff;
    --light-blue-accent: #60a5fa;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: var(--main-background);
    color: var(--main-text-color);
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
p, li, label {
    color: inherit;
    font-family: inherit;
}

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

.navbar-nav .nav-link:hover {
    color: var(--main-accent);
}

.footer-disclaimer {
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    background-color: var(--border-light);
    color: var(--dark-text);
    padding: 0.4em;
    font-size: 0.6em;
}

/* Hero */
.hero-section {
    background: var(--main-background);
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    line-height: 0.95;
    font-weight: 700;
    color: var(--main-text-color);
}

.hero-subtitle {
    font-size: 1.2em;
    font-weight: 100;
}


.hero-title__line {
    display: block;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1;
}

.hero-title__ampersand {
    display: block;
    margin: -0.1em 0 -0.1em 0.2em;
    font-size: clamp(1rem, 4vw, 3rem);
    line-height: 0.9;
    font-weight: 300;
    color: var(--light-blue-accent);
}

.hero-text .lead {
    margin-top: 2rem;
    max-width: 36rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Shared section header */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: underline;
    color: var(--main-text-color);
}

.section-header-dark .section-title {
    color: var(--dark-text-bright);
}

.section-icon-box {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main-accent);
    border-radius: 0.375rem;
    transition: transform 160ms ease, background 160ms ease;
}

.section-icon-box-dark {
    background: rgba(255, 255, 255, 0.08);
}

.section-icon {
    width: 24px;
    height: 24px;
    color: var(--dark-text-bright);
    transition: transform 160ms ease;
}

.section-icon-box-dark .section-icon {
    color: rgba(255, 255, 255, 0.85);
}

.section-header:hover .section-icon-box {
    transform: scale(1.08);
}

/* Dark services section */
.services-dark-section {
    background: var(--dark-surface);
    color: var(--dark-text);
}

.services-dark-intro,
.services-dark-footer {
    max-width: 820px;
}

.services-dark-intro {
    margin-bottom: 1.75rem;
}

.services-dark-footer {
    margin-top: 2rem;
}

.services-dark-intro p,
.services-dark-footer p {
    margin: 0;
    line-height: 1.75;
    color: var(--dark-text-bright);
}

.services-dark-intro p {
    font-size: 1.15rem;
}

.services-dark-footer p {
    font-size: 1.05rem;
    color: var(--dark-text);
}

.services-dark-card {
    padding: 1.75rem 1.875rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    height: 100%;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.services-dark-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.18);
}

.services-dark-card h3 {
    position: relative;
    margin: 0 0 1.125rem;
    padding-top: 0.875rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text-bright);
}

.services-dark-card h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--light-blue-accent);
    border-radius: 999px;
}

.services-dark-card ul {
    margin: 0;
    padding-left: 1.125rem;
}

.services-dark-card li {
    margin-bottom: 0.75rem;
    line-height: 1.65;
    color: #e5e7eb;
}

/* How it works */
.how-it-works-section {
    background: var(--main-background);
}

.how-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--main-accent);
    border-radius: 0.75rem;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.how-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    border-color: #d6deeb;
}

.how-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
}

.how-card__step {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main-accent);
    color: var(--dark-text-bright);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.how-card__title {
    margin: 0 0 0.625rem;
    font-size: 1.7rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--main-text-color);
}

.how-card__price {
    display: inline-block;
    margin: 0 0 1.5rem;
    padding: 0.5rem 0.75rem;
    background: #eef4ff;
    border-radius: 999px;
    color: var(--main-accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.how-card__subtitle {
    margin: 0 0 0.625rem;
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--main-text-color);
}

.how-card__list {
    margin: 0 0 1.375rem;
    padding-left: 1.125rem;
    color: var(--muted-text);
}

.how-card__text {
    color: var(--muted-text);
}

.how-card__list li {
    margin-bottom: 0.625rem;
    line-height: 1.6;
}

.how-card__note {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.97rem;
    line-height: 1.6;
    color: var(--main-text-color);
    font-weight: 500;
}

/* About / contact */
.about-contact-section {
    background: var(--main-background);
}

.about-card,
.contact-card {
    padding: 2rem;
    border-radius: 0.75rem;
    height: 100%;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.about-card {
    background: var(--dark-surface);
    color: var(--dark-text);
}

.about-card p {
    margin: 0 0 1rem;
    line-height: 1.7;
    color: var(--border-light);
}

.about-card strong {
    color:var(--dark-text-bright);
    font-weight:500;
}

.about-identity {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.about-identity::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 46px;
    background: var(--light-blue-accent);
    border-radius: 2px;
}

.about-identity__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.about-identity__meta {
    margin-top: 0.375rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control {
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
}

.contact-form .form-control:focus {
    border-color: var(--main-accent);
    box-shadow: 0 0 0 0.15rem rgba(30, 58, 138, 0.15);
}

.contact-form .btn-primary {
    background: var(--main-accent);
    border-color: var(--main-accent);
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.1s ease;
}

.contact-form .btn-primary:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

.form-control::placeholder {
    color: #9ca3af;
    opacity: 1;
    font-size: 0.9em;
}

.form-select::placeholder {
    color: #9ca3af;
    opacity: 1;
    font-size: 0.9em;
}

/* Utilities */
.min-vh-55 {
    min-height: 55vh;
}

/* Cookies */
.cookie-banner {
    position: fixed !important;
    right: 1rem !important;
    bottom: 1rem !important;
    width: min(420px, calc(100vw - 2rem)) !important;
    background: #fff !important;
    color: #1f2933 !important;
    border: 1px solid rgba(31, 41, 51, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18) !important;
    z-index: 999999 !important;

    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate3d(24px, 40px, 0) !important;
    transition: opacity 0.45s ease, transform 0.45s ease !important;
}

.cookie-banner.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
}

.cookie-banner__content {
    padding: 1rem;
}

.cookie-banner__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.cookie-banner__desc {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    color: #52606d;
}

.cookie-banner__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 1.8rem;
    }

    .about-card,
    .contact-card {
        padding: 1.75rem;
    }

    .hero-section {
        padding-top: 1.2rem !important;
        padding-bottom: 1rem !important;
    }

    .hero-text {
        position: relative;
        overflow: hidden;
        padding: 2rem 1.25rem;
        border-radius: 1rem;
        isolation: isolate;
        backdrop-filter: blur(1px);
    }

    .hero-text::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("/images/hero10.webp");
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
        opacity: 0.58;
        z-index: -2;
        transform: scale(0.95);
    }

    .hero-image {
        display: none;
    }

    .hero-title__line {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .hero-title__ampersand {
        margin-left: 0.5em;
        font-size: clamp(3.4rem, 13vw, 5rem);
        line-height: 0.8;
        opacity: 0.9;
    }

    .hero-text .lead {
        margin-top: 1.5rem;
    }

    .hero-subtitle {
        font-weight: 200;
        font-size: 1.1em;
    }
}

@media (max-width: 575.98px) {

    .nav-link {
        text-align:center;
        padding:2px 2px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services-dark-intro p,
    .services-dark-footer p {
        font-size: 1rem;
    }

    .how-card,
    .about-card,
    .contact-card,
    .services-dark-card {
        padding: 1.375rem;
    }

    .how-card__title {
        font-size: 1.2rem;
    }

    .contact-form .form-control {
        min-height: 46px;
    }

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

    .hero-text {
        padding: 1.5rem 1rem;
        border-radius: 0.875rem;
    }

    .hero-title__line {
        font-size: clamp(1.9rem, 11vw, 2.8rem);
    }

    .hero-title__ampersand {
        margin-left: 0.2em;
        margin-top: 0.05em;
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .hero-text .lead {
        font-size: 1rem;
    }

    .cookie-banner {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
        border-radius: 12px;
    }

    .cookie-banner__actions {
        flex-direction: column;
    }

    .cookie-banner__actions .btn {
        width: 100%;
    }
}