/*
Theme Name: TechZiel
Author: Admin
Description: A modern, lightweight B2B theme
Version: 1.3.2
Text Domain: techziel
*/

:root {
    --bg-color: #111827;
    --text-color: #F9FAFB;
    --accent-color: #C2185B;
    --surface-color: color-mix(in srgb, var(--bg-color) 92%, white 8%);
    --muted-text: color-mix(in srgb, var(--text-color) 72%, transparent);
    --border-color: color-mix(in srgb, var(--text-color) 20%, transparent);
    --card-surface: #1F2937;
    --footer-bg: #0B0F1A;
}

.theme-cyber {
    --bg-color: #0F172A;
    --text-color: #FFFFFF;
    --accent-color: #06B6D4;
    --card-surface: #1E293B;
    --footer-bg: #060A14;
}

.theme-corporate {
    --bg-color: #FFFFFF;
    --text-color: #1F2937;
    --accent-color: #1E3A8A;
    --card-surface: #F1F5F9;
    --footer-bg: #1E293B;
}

/* =========================================================
   LIGHT THEME
   ========================================================= */
.theme-light {
    --bg-color: #F8F9FB;
    --text-color: #1A202C;
    --accent-color: #B5174F;
    --surface-color: #FFFFFF;
    --muted-text: #5A6475;
    --border-color: #D1D9E0;
    --card-surface: #FFFFFF;
    --footer-bg: #1A202C;
}

/* Logo: in dark themes the logo is inverted to white. In light theme it shows naturally. */
.theme-light .site-branding img {
    filter: none !important;
}

/* Header surface */
.theme-light .site-header {
    background: #FFFFFF;
    border-bottom-color: #D1D9E0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Nav links */
.theme-light .primary-menu a,
.theme-light .primary-nav .menu a {
    color: #1A202C;
}

/* Cards / surfaces that hard-code dark hex values */
.theme-light .service-card,
.theme-light .experience-card,
.theme-light .industry-card,
.theme-light .service-summary-card,
.theme-light .engagement-card,
.theme-light .case-card,
.theme-light .case-card--featured,
.theme-light .home-support-panel,
.theme-light .proof-band-item,
.theme-light .delivery-step,
.theme-light .services-final-cta,
.theme-light .case-studies-final-cta,
.theme-light .homepage-cta-banner,
.theme-light .contact-form-wrapper,
.theme-light .privacy-contact-form,
.theme-light .legal-cta,
.theme-light .services-supporting__panel,
.theme-light .about-tech-stack {
    background: #FFFFFF !important;
    border-color: #D1D9E0 !important;
    color: inherit;
}

.theme-light .service-card:hover,
.theme-light .experience-card:hover,
.theme-light .industry-card:hover,
.theme-light .service-summary-card:hover,
.theme-light .case-card:hover,
.theme-light .case-card:focus-within {
    background: #FFFFFF !important;
    box-shadow: 0 12px 28px rgba(181,23,79,0.13) !important;
}

/* Stats strip */
.theme-light .homepage-stats {
    background: #EAEFF5;
}

/* Footer stays dark even in light mode — it has its own palette */
.theme-light .site-footer-modern {
    background-color: #1A202C !important;
}

/* Inputs */
.theme-light input,
.theme-light textarea,
.theme-light select {
    background: #FFFFFF;
    color: #1A202C;
    border-color: #C0CAD5;
}

.theme-light .privacy-contact-form__field input,
.theme-light .privacy-contact-form__field select,
.theme-light .privacy-contact-form__field textarea {
    background: #F1F5F9;
    color: #1A202C;
    border-color: #C0CAD5;
}

/* Article borders */
.theme-light article,
.theme-light .not-found,
.theme-light .comments-area {
    background: #FFFFFF;
    border-color: #D1D9E0;
}

.theme-light .comment-list .comment-body {
    background: #F1F5F9;
    border-color: #D1D9E0;
}

/* Hero image visual box */
.theme-light .home-hero-fold__visual {
    background: #FFFFFF;
    border-color: rgba(181,23,79,0.12);
    box-shadow:
        0 0 0 1px rgba(181,23,79,0.07),
        0 8px 20px rgba(0,0,0,0.07),
        0 24px 40px rgba(0,0,0,0.09);
}

.theme-light .home-hero-fold__visual::before {
    background: linear-gradient(
        to bottom,
        rgba(248,249,251,0.18) 0%,
        transparent 22%,
        transparent 76%,
        rgba(248,249,251,0.22) 100%
    );
}

/* Hero image dashboard — desaturate slightly in light mode so it doesn't clash */
.theme-light .home-hero-fold__img {
    filter: brightness(0.97) saturate(0.92);
}

/* GTranslate in light mode */
.theme-light #gtranslate_wrapper select,
.theme-light .gtranslate_wrapper select,
.theme-light select.gt_selector {
    background-color: #FFFFFF !important;
    color: #1A202C !important;
    border-color: #C0CAD5 !important;
}

.theme-light #gtranslate_wrapper select option,
.theme-light .gtranslate_wrapper select option,
.theme-light select.gt_selector option {
    background-color: #FFFFFF !important;
    color: #1A202C !important;
}

/* Muted text overrides for hard-coded colours in some sections */
.theme-light .home-hero-fold__subtext,
.theme-light .services-hero__subtitle,
.theme-light .case-studies-hero__subtitle,
.theme-light .engagement-card p,
.theme-light .homepage-cta-banner p,
.theme-light .services-final-cta p,
.theme-light .case-studies-final-cta p {
    color: #5A6475 !important;
}

.theme-light .homepage-cta-banner {
    background: linear-gradient(135deg, #EEF1F5 0%, #F8F9FB 100%) !important;
    border-top: 1px solid #D1D9E0 !important;
    border-bottom: 1px solid #D1D9E0 !important;
}

.theme-light .homepage-cta-banner h2 {
    color: #1A202C !important;
}

/* Tech stack tags */
.theme-light .tech-stack-tags span {
    background: #F1F5F9;
    border-color: #C0CAD5;
    color: #1A202C;
}

/* Cookie banner */
.theme-light .cookie-banner {
    background: #FFFFFF !important;
    border-color: #D1D9E0 !important;
    color: #1A202C;
}

.theme-light .cookie-content p {
    color: #5A6475;
}

/* About tech stack box */
.theme-light .about-tech-stack {
    background: #F1F5F9 !important;
    border-color: #C0CAD5 !important;
}

/* Delivery steps */
.theme-light .delivery-process {
    border-color: #D1D9E0;
}

.theme-light .delivery-step + .delivery-step {
    border-left-color: #D1D9E0;
}

/* Footer legal strip always dark */
.theme-light .footer-legal {
    color: #9CA3AF;
}

/* Blog post meta */
.theme-light .post-meta,
.theme-light .blog-card__meta,
.theme-light .blog-card__excerpt {
    color: #5A6475;
}

/* =========================================================
   THEME SWITCHER BUTTON
   ========================================================= */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 0.25rem;
}

.theme-switcher__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    min-height: 30px;
    padding: 0.35rem 0.85rem;
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.1s;
    white-space: nowrap;
    box-shadow: none;
    transform: none;
}

.theme-switcher__btn:hover,
.theme-switcher__btn:focus {
    border-color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color) 10%, transparent);
    color: var(--accent-color);
    transform: none;
    box-shadow: none;
    text-decoration: none;
    filter: none;
}

.theme-switcher__icon {
    font-size: 0.9rem;
    line-height: 1;
}

/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: var(--accent-color);
    color: #fff;
    z-index: 1000;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

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

.site-header,
.site-footer,
.site-main {
    width: min(1100px, 92%);
    margin-inline: auto;
}

.site-header,
.site-footer {
    padding: 1rem 0;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-branding img {
    line-height: 1;
}

.site-branding {
    flex-shrink: 0;
}

.custom-logo-link {
    white-space: nowrap;
}

.header-brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    color: var(--text-color);
    line-height: 1;
}

.primary-nav {
    min-width: 0;
    margin-left: auto;
}

.site-main {
    padding: 2rem 0;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-widget-title {
    margin-bottom: 0.6rem;
}

.primary-menu,
.primary-nav .menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.primary-menu a,
.primary-nav .menu a {
    display: inline-block;
    padding: 0.35rem 0.5rem;
    border-radius: 0.35rem;
    transition: all 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-nav .menu a:hover,
.primary-nav .menu a:focus {
    background: color-mix(in srgb, var(--accent-color) 18%, transparent);
    text-decoration: none;
    color: var(--accent-color);
}

.hero {
    padding: 4rem 0 2rem;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.hero__subtitle {
    max-width: 65ch;
    margin-bottom: 1.25rem;
}

.hero-section {
    padding: 6rem 0 4rem;
    text-align: left;
}

.hero-section__container {
    width: 100%;
}

/* =========================================================
   HOMEPAGE TWO-COLUMN HERO FOLD
   ========================================================= */
.home-hero-fold {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0 4.5rem;
}

.home-hero-fold__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-hero-fold__eyebrow {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.home-hero-fold__heading {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 1.4rem;
    max-width: 540px;
}

.home-hero-fold__subtext {
    font-size: 1.1rem;
    color: var(--muted-text);
    line-height: 1.7;
    max-width: 490px;
    margin-bottom: 2rem;
}

.home-hero-fold__cta-group {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.home-hero-fold__cta {
    display: inline-block;
    padding: 0.7rem 1.35rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.home-hero-fold__cta--primary {
    background: var(--accent-color);
    color: #fff;
    border: 1px solid transparent;
}

.home-hero-fold__cta--primary:hover,
.home-hero-fold__cta--primary:focus {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--accent-color) 40%, transparent);
    text-decoration: none;
    color: #fff;
}

.home-hero-fold__cta--ghost {
    background: transparent;
    color: var(--text-color);
    border: 1px solid color-mix(in srgb, var(--border-color) 80%, white 20%);
}

.home-hero-fold__cta--ghost:hover,
.home-hero-fold__cta--ghost:focus {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.home-hero-fold__trust {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.home-hero-fold__trust li {
    font-size: 0.82rem;
    color: var(--muted-text);
    padding-left: 1.3rem;
    position: relative;
}

.home-hero-fold__trust li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.78rem;
}

.home-hero-fold__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.home-hero-fold__visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--bg-color) 80%, white 20%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 0 0 1px rgba(194, 24, 91, 0.08),
        0 8px 16px rgba(0,0,0,0.2),
        0 24px 48px rgba(0,0,0,0.28),
        0 0 80px rgba(194, 24, 91, 0.06);
}

.home-hero-fold__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--bg-color) 15%, transparent) 0%,
        transparent 22%,
        transparent 76%,
        color-mix(in srgb, var(--bg-color) 22%, transparent) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.home-hero-fold__visual.animate-on-scroll {
    opacity: 0;
    transform: translate3d(18px, 10px, 0) rotate(1.5deg);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.home-hero-fold__visual.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0.4deg);
}

.home-hero-fold__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hero-section__kicker {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.hero-section__title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 650px;
}

.hero-section__accent {
    color: var(--accent-color);
}

.hero-section__subtitle {
    font-size: 1.25rem;
    color: #9CA3AF;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-vitals-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: auto;
}

.hero__cta,
button,
input[type="submit"] {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero__cta:hover,
.hero__cta:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    text-decoration: none;
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

article,
.not-found,
.comments-area {
    padding: 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--surface-color);
    margin-bottom: 1rem;
}

.comments-title {
    margin-bottom: 0.9rem;
}

.comment-list {
    padding-left: 1.1rem;
}

.comment-list .comment {
    margin-bottom: 1rem;
}

.comment-list .comment-body {
    background: color-mix(in srgb, var(--bg-color) 94%, white 6%);
    border: 1px solid var(--border-color);
    border-radius: 0.6rem;
    padding: 0.8rem;
}

.comment-meta,
.no-comments {
    color: var(--muted-text);
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

p,
ul,
ol {
    margin-bottom: 0.9rem;
}

.post-meta {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.25rem 0;
}

.page-numbers {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 0.35rem;
    margin-right: 0.35rem;
}

.page-numbers.current {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--bg-color) 94%, white 6%);
    color: var(--text-color);
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    margin-top: 1rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.screen-reader-text:focus {
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: var(--accent-color);
    color: #fff;
    z-index: 1000;
}

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

.products-grid > article,
.products-grid > .product-card {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    background: var(--surface-color);
}

.techziel-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.service-card {
    background-color: #1F2937;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 0.65rem;
}

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

.service-card__eyebrow,
.service-card__outcome {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-card__list {
    margin: 1rem 0;
    padding-left: 1.1rem;
}

.service-card__list li {
    margin-bottom: 0.65rem;
    color: var(--muted-text);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--accent-color) 22%, transparent);
    background-color: #252D3D;
}

/* =========================================================
   PREMIUM SERVICES PAGE STYLES
   ========================================================= */
/* 1. Hero */
.services-hero {
    padding: 7rem 0 4.5rem;
    text-align: center;
}

.services-hero h1 {
    font-size: clamp(2.4rem, 5.8vw, 3.7rem);
    line-height: 1.16;
    max-width: 860px;
    margin: 0 auto 1.3rem;
}

.services-hero__subtitle {
    max-width: 680px;
    margin: 0 auto 2.4rem;
    color: var(--muted-text);
    font-size: 1.12rem;
    line-height: 1.7;
}

.services-hero__cta-group {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

/* 2. Industry entry cards */
.industry-verticals {
    padding: 2rem 0 4.8rem;
}

.industry-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.industry-card {
    background: linear-gradient(150deg, color-mix(in srgb, var(--bg-color) 92%, white 8%), color-mix(in srgb, var(--bg-color) 98%, white 2%));
    border: 1px solid color-mix(in srgb, var(--border-color) 75%, transparent);
    border-radius: 14px;
    padding: 1.7rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.industry-card h3 {
    font-size: 1.12rem;
    margin-bottom: 0.65rem;
}

.industry-card p {
    color: var(--muted-text);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
}

.industry-card__cta {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent-color);
}

.industry-card:hover,
.industry-card:focus-within {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--accent-color) 48%, var(--border-color));
    box-shadow: 0 14px 24px color-mix(in srgb, var(--accent-color) 16%, transparent);
}

/* 3. Core solutions grid */
.services-summary-grid {
    padding: 0 0 5.1rem;
}

.services-summary-grid > h2 {
    font-size: clamp(1.9rem, 4.3vw, 2.6rem);
    margin-bottom: 1.4rem;
}

.services-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.service-summary-card {
    background: linear-gradient(150deg, color-mix(in srgb, var(--bg-color) 90%, white 10%), color-mix(in srgb, var(--bg-color) 96%, white 4%));
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
    border-radius: 14px;
    padding: 1.7rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-summary-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.service-summary-card__desc {
    color: var(--muted-text);
    line-height: 1.58;
    margin-bottom: 0.9rem;
    flex: 1;
}

.service-summary-card__features {
    padding-left: 1rem;
    margin: 0 0 1rem;
}

.service-summary-card__features li {
    color: var(--muted-text);
    margin-bottom: 0.45rem;
}

.service-summary-card__link {
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.92rem;
}

.service-summary-card:hover,
.service-summary-card:focus-within {
    transform: translateY(-9px);
    border-color: color-mix(in srgb, var(--accent-color) 55%, var(--border-color));
    box-shadow: 0 16px 28px color-mix(in srgb, var(--accent-color) 20%, transparent);
}

/* 4. Proof cards */
.engagement-areas {
    padding: 0 0 5.5rem;
}

.engagement-areas h2 {
    font-size: clamp(1.95rem, 4.5vw, 2.75rem);
    margin-bottom: 1.5rem;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.engagement-card {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color) 16%, var(--bg-color)), color-mix(in srgb, var(--bg-color) 90%, white 10%));
    border: 1px solid color-mix(in srgb, var(--accent-color) 32%, var(--border-color));
    border-radius: 14px;
    padding: 1.55rem;
    min-height: 220px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.engagement-card__kicker {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent-color) 88%, white 12%);
    margin-bottom: 0.6rem;
}

.engagement-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.engagement-card p {
    color: var(--muted-text);
    margin-bottom: 0;
}

.engagement-card:hover,
.engagement-card:focus-within {
    transform: translateY(-7px);
    box-shadow: 0 18px 30px color-mix(in srgb, var(--accent-color) 22%, transparent);
}

/* 5. Connected delivery model */
.delivery-model {
    padding: 0 0 5.5rem;
}

.delivery-model h2 {
    font-size: clamp(1.95rem, 4.5vw, 2.75rem);
    margin-bottom: 1.5rem;
}

.delivery-process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
    border-radius: 14px;
    overflow: hidden;
}

.delivery-step {
    background: color-mix(in srgb, var(--bg-color) 92%, white 8%);
    padding: 1.4rem 1rem;
    text-align: center;
    position: relative;
}

.delivery-step + .delivery-step {
    border-left: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}

.delivery-step__number {
    color: var(--accent-color);
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.delivery-step__title {
    margin: 0;
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 600;
}

/* 6. Final CTA */
.services-final-cta {
    padding: 4.3rem 1.8rem;
    text-align: center;
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--bg-color) 88%, white 12%), color-mix(in srgb, var(--bg-color) 95%, white 5%));
    margin-bottom: 1.5rem;
}

.services-final-cta h2 {
    font-size: clamp(2rem, 4.8vw, 2.95rem);
    margin-bottom: 0.8rem;
}

.services-final-cta p {
    max-width: 700px;
    margin: 0 auto 1.65rem;
    color: var(--muted-text);
    line-height: 1.7;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .industry-cards-grid,
    .services-grid-cards,
    .engagement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .delivery-process {
        grid-template-columns: 1fr;
    }

    .delivery-step + .delivery-step {
        border-left: 0;
        border-top: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
    }
}

@media (max-width: 680px) {
    .services-hero {
        padding: 4.8rem 0 3.2rem;
    }

    .services-hero__cta-group,
    .final-cta-actions {
        flex-direction: column;
    }

    .industry-cards-grid,
    .services-grid-cards,
    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .industry-card,
    .service-summary-card,
    .engagement-card {
        min-height: 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.hero-vitals-img--secondary {
    width: 100%;
}

.home-support-section {
    margin: 0 0 4rem;
}

.home-support-panel {
    background: linear-gradient(145deg, color-mix(in srgb, var(--bg-color) 90%, white 10%), color-mix(in srgb, var(--bg-color) 97%, white 3%));
    border: 1px solid color-mix(in srgb, var(--border-color) 78%, transparent);
    border-radius: 16px;
    padding: 2.2rem;
}

.home-support-panel h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
}

.home-support-panel p {
    color: var(--muted-text);
    max-width: 70ch;
}

.home-support-panel ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.35rem;
}

.home-support-panel li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.9rem;
    color: var(--muted-text);
}

.home-support-panel li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* --- 1. THE LOGO BLEND MODE MAGIC --- */
/* Your image is Black on White. We need it to be White on Transparent for the dark header. */
.techziel-blend-logo {
    /* Invert flips black to white, and white to black */
    filter: invert(1) brightness(1.2) !important;

    /* Screen takes the new black background and makes it 100% transparent */
    mix-blend-mode: screen !important;

    /* Prevents the image from adding weird spacing below it */
    display: block !important;
}

/* =========================================================
   SHARED EDITORIAL INTRO BLOCKS
   ========================================================= */
.services-intro,
.about-mission,
.contact-intro {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.services-intro p,
.about-mission p,
.contact-intro p {
    font-size: 1.2rem;
    color: #9CA3AF;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.experience-card {
    background: #1F2937;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover,
.experience-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.techziel-page-content {
    max-width: 820px;
    margin: 0 auto;
}

.techziel-page-content h2,
.techziel-page-content h3 {
    margin-top: 2rem;
}

.techziel-page-content ul,
.techziel-page-content ol {
    padding-left: 1.25rem;
}

.services-supporting {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.services-supporting__panel {
    background: color-mix(in srgb, var(--bg-color) 92%, white 8%);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.services-supporting__panel ul {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.services-supporting__panel li {
    margin-bottom: 0.65rem;
}

.legal-cta {
    margin: 3rem auto 0;
    max-width: 820px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--bg-color) 90%, white 10%);
    text-align: center;
}

.legal-cta p {
    color: var(--muted-text);
    max-width: 60ch;
    margin: 0.75rem auto 1.5rem;
}

.legal-privacy-form-wrap {
    margin-top: 2.5rem;
}

.privacy-contact-form {
    margin: 0 auto;
    max-width: 820px;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--bg-color) 90%, white 10%);
}

.privacy-contact-form p {
    color: var(--muted-text);
}

.privacy-contact-form__notice {
    margin: 1rem 0 1.5rem;
    border-radius: 0.6rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.privacy-contact-form__notice.is-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #bbf7d0;
}

.privacy-contact-form__notice.is-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fecaca;
}

.privacy-contact-form__field {
    margin-bottom: 1rem;
}

.privacy-contact-form__field label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-weight: 600;
}

.privacy-contact-form__field input,
.privacy-contact-form__field select,
.privacy-contact-form__field textarea {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--bg-color) 86%, white 14%);
    color: var(--text-color);
    padding: 0.65rem 0.75rem;
}

.privacy-contact-form__field textarea {
    resize: vertical;
}

.privacy-contact-form__field--hidden {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.privacy-contact-form__actions {
    margin-top: 1.25rem;
}

/* =========================================================
   LANGUAGE TABS (Privacy Policy)
   ========================================================= */
.privacy-lang-tabs {
    margin-bottom: 3rem;
}

.privacy-lang-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #374151;
    margin-bottom: 2rem;
}

.privacy-lang-tabs__btn {
    /* reset button defaults */
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
    outline: none;
    /* tab styling */
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.privacy-lang-tabs__btn:hover {
    color: var(--text-color);
    background: rgba(255,255,255,0.04);
}

.privacy-lang-tabs__btn.is-active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.privacy-lang-tabs__btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

.privacy-lang-tabs__panel {
    display: none;
}

.privacy-lang-tabs__panel.is-active {
    display: block;
}

/* =========================================================
   SITE TITLE FALLBACK LINK (header — no logo set)
   ========================================================= */
.site-title-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}
.site-title-link:hover,
.site-title-link:focus {
    color: var(--accent-color);
}

/* =========================================================
   FOOTER NAV MENU
   ========================================================= */
.site-footer-modern {
    background-color: #0B0F1A;
    width: 100% !important;
    padding: 80px 5% !important;
    color: #9CA3AF;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid-modern {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .footer-grid-modern {
        grid-template-columns: 1fr;
    }
}

.footer-col-center {
    text-align: center;
}

.footer-col-right {
    text-align: left;
}

@media (min-width: 769px) {
    .footer-col-right {
        text-align: right;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-heading {
    color: #FFFFFF;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col {
    flex: 1;
}

.footer-body-copy {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.footer-muted {
    opacity: 0.7;
}

.footer-contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus {
    text-decoration: none;
    transform: translateX(3px);
}

.footer-nav-pill-modern {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-pill-heading {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-compliance-copy {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.footer-compliance-icons {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #FFFFFF;
    opacity: 0.5;
}

.footer-legal {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    opacity: 0.5;
    color: #6B7280;
}

.footer-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    justify-content: center;
}
.footer-nav-menu ul li a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}
.footer-nav-menu ul li a:hover,
.footer-nav-menu ul li a:focus {
    color: var(--accent-color);
    transition: color 0.2s ease;
}
.footer-copy {
    color: #6B7280;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}
.footer-copy a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-copy a:hover {
    color: var(--accent-color);
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background: var(--accent-color);
    color: white;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

#backToTop:active {
    transform: translateY(0);
}

/* =========================================================
   HOMEPAGE — STATS STRIP
   ========================================================= */
.homepage-stats {
    background: var(--card-bg, #1F2937);
    padding: 4rem 2rem;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}
.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}
.stat-label {
    font-size: 0.95rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =========================================================
   HOMEPAGE — SERVICES PREVIEW
   ========================================================= */
.homepage-services-preview {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   HOMEPAGE — CTA BANNER
   ========================================================= */
.homepage-cta-banner {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 5rem 2rem;
    text-align: center;
}
.homepage-cta-banner h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--text-color);
    margin-bottom: 1rem;
}
.homepage-cta-banner p {
    max-width: 620px;
    margin: 0 auto 2.5rem auto;
    color: #9CA3AF;
    font-size: 1.1rem;
    line-height: 1.7;
}
.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.cta-secondary {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.25s ease, color 0.25s ease;
}
.cta-secondary:hover,
.cta-secondary:focus {
    background: var(--accent-color);
    color: #fff;
}

/* =========================================================
   RESPONSIVE — HOMEPAGE SECTIONS
   ========================================================= */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-section__subtitle {
        font-size: 1.05rem;
    }

    .cta-banner-actions {
        flex-direction: column;
    }
    .homepage-cta-banner {
        padding: 3.5rem 1.25rem;
    }
}

.about-tech-stack {
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    text-align: center;
    padding: 3rem;
    background: #0F172A;
    border-radius: 16px;
    border: 1px solid #374151;
}

.tech-stack-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tech-stack-tags span {
    display: inline-flex;
    align-items: center;
    background: #111827;
    color: var(--text-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #374151;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-stack-tags span:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-color) 18%, transparent);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .site-header,
    .site-footer,
    .site-main {
        width: 94%;
    }

    .hero {
        padding-top: 2.5rem;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .primary-menu,
    .primary-nav .menu {
        flex-wrap: wrap;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .footer-widgets-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 960px) {
    .feature-split {
        grid-template-columns: 1fr 1fr;
    }

    .techziel-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .site-header {
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .primary-nav {
        width: 100%;
    }

    .primary-menu,
    .primary-nav .menu {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.5rem 0.75rem;
    }

    .home-hero-fold {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0 2.5rem;
    }

    .home-hero-fold__right {
        justify-content: flex-start;
    }

    .home-hero-fold__visual {
        max-width: 100%;
    }

    .home-hero-fold__visual.animate-on-scroll {
        transform: translate3d(0, 10px, 0);
    }

    .home-hero-fold__visual.animate-on-scroll.is-visible {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    .header-brand-name {
        font-size: 1.35rem;
    }

    .gtranslate_wrapper select,
    select.gt_selector {
        min-width: 120px;
    }
}

/* --- 2. THE GTRANSLATE DARK MODE OVERRIDE --- */
/* GTranslate is stubborn, so we target every possible class/ID it might use */
#gtranslate_wrapper select,
.gtranslate_wrapper select,
select.gt_selector {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    outline: none !important;
}

/* Make sure the dropdown options aren't invisible white-on-white */
#gtranslate_wrapper select option,
.gtranslate_wrapper select option,
select.gt_selector option {
    background-color: #111827 !important;
    color: #ffffff !important;
}

/* Keep language selector readable in light mode, including arrow colour. */
.theme-light #gtranslate_wrapper select,
.theme-light .gtranslate_wrapper select,
.theme-light select.gt_selector {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 2rem !important;
    color: #1A202C !important;
    background-color: #FFFFFF !important;
    border-color: #C0CAD5 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath fill='%231A202C' d='M5.5 7.5L10 12l4.5-4.5 1.5 1.5-6 6-6-6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.6rem center !important;
    background-size: 12px 12px !important;
}

.theme-light #gtranslate_wrapper select option,
.theme-light .gtranslate_wrapper select option,
.theme-light select.gt_selector option {
    background-color: #FFFFFF !important;
    color: #1A202C !important;
}

/* --- Footer Horizontal Menu --- */
.footer-menu-flex {
    display: flex;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-menu-flex li a {
    color: #D1D5DB !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-menu-flex li a:hover {
    color: var(--accent-color, #EC4899) !important;
}

/* --- Sitemap Pill Polish --- */
.footer-nav-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
}

.footer-links-list li {
    margin-bottom: 8px;
}

.footer-links-list li a {
    font-size: 0.95rem;
    color: #D1D5DB !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-list li a:hover {
    color: var(--accent-color) !important;
}

/* --- Floating Cookie Toast --- */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 380px !important;
    max-width: 90%;
    background: #111827 !important;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    font-size: 0.85rem !important;
    line-height: 1.5;
    margin: 0 !important;
    color: #9CA3AF;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    border-radius: 8px !important;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--accent-color, #EC4899);
    color: white;
}

.cookie-btn.reject {
    background: transparent;
    border: 1px solid #4B5563;
    color: #9CA3AF;
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cookie-link {
    color: #9CA3AF;
    font-size: 0.8rem;
    text-decoration: underline;
    margin-left: auto;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 5%;
        width: 90% !important;
        bottom: 20px;
    }

    .footer-col {
        text-align: left !important;
    }

    .cookie-buttons {
        flex-wrap: wrap;
    }

    .cookie-link {
        margin-left: 0;
        width: 100%;
    }
}

/* --- Single Case Study Template --- */
.case-study-hero {
    background: linear-gradient(135deg, color-mix(in srgb, var(--bg-color) 92%, black 8%) 0%, var(--bg-color) 100%);
    border: 1px solid color-mix(in srgb, var(--accent-color) 24%, transparent);
    border-radius: 16px;
    padding: 3.5rem 2rem;
    margin-bottom: 2rem;
}

.case-study-kicker {
    display: inline-block;
    color: var(--accent-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.case-study-hero h1 {
    margin-bottom: 0.9rem;
    line-height: 1.1;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.case-study-subtitle {
    max-width: 70ch;
    color: color-mix(in srgb, var(--text-color) 82%, transparent);
    font-size: 1.05rem;
}

/* Case studies archive */
.case-studies-archive,
.case-studies-page {
    padding-top: 1.5rem;
}

.case-studies-hero,
.case-studies-featured,
.case-studies-additional,
.case-studies-proof-band,
.case-studies-final-cta {
    margin: 0 0 5rem;
}

.case-studies-hero {
    text-align: center;
    padding: 4.75rem 0 0.5rem;
}

.case-studies-hero__trust-line {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.case-studies-hero__kicker {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.case-studies-hero h1 {
    font-size: clamp(2.5rem, 5.6vw, 3.85rem);
    max-width: 900px;
    margin: 0 auto 1.2rem;
}

.case-studies-hero__subtitle {
    max-width: 720px;
    margin: 0 auto 2.4rem;
    color: var(--muted-text);
    font-size: 1.08rem;
    line-height: 1.72;
}

.case-studies-featured > h2,
.case-studies-additional > h2,
.case-studies-proof-band > h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    margin-bottom: 1.25rem;
}

.case-studies-grid {
    display: grid;
    gap: 1.35rem;
}

.case-studies-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.case-studies-grid--additional {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.case-card {
    background: linear-gradient(145deg, color-mix(in srgb, var(--bg-color) 90%, white 10%), color-mix(in srgb, var(--bg-color) 96%, white 4%));
    border: 1px solid color-mix(in srgb, var(--border-color) 78%, transparent);
    border-radius: 14px;
    min-height: 280px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.case-card--featured {
    min-height: 330px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--bg-color) 87%, white 13%), color-mix(in srgb, var(--bg-color) 95%, white 5%));
}

.case-card__kicker {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
}

.case-card h3 {
    font-size: 1.12rem;
    line-height: 1.32;
    margin-bottom: 0.55rem;
}

.case-card h3 a {
    color: var(--text-color);
}

.case-card__summary {
    color: var(--muted-text);
    margin-bottom: 0.8rem;
    line-height: 1.58;
}

.case-card__highlights {
    margin: 0 0 0.9rem;
    padding-left: 1rem;
}

.case-card__highlights li {
    color: var(--muted-text);
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.case-card__outcome {
    color: var(--muted-text);
    margin-bottom: 0.9rem;
    line-height: 1.55;
}

.case-card__link {
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.92rem;
}

.case-card:hover,
.case-card:focus-within {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--accent-color) 60%, var(--border-color));
    box-shadow: 0 14px 26px color-mix(in srgb, var(--accent-color) 18%, transparent);
}

.proof-band-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.proof-band-item {
    border: 1px solid color-mix(in srgb, var(--accent-color) 24%, var(--border-color));
    border-radius: 12px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--bg-color) 89%, white 11%), color-mix(in srgb, var(--bg-color) 96%, white 4%));
    min-height: 140px;
    padding: 1.15rem;
    display: flex;
    align-items: flex-end;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.proof-band-item p {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.45;
}

.proof-band-item:hover,
.proof-band-item:focus-within {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--accent-color) 52%, var(--border-color));
    box-shadow: 0 14px 24px color-mix(in srgb, var(--accent-color) 14%, transparent);
}

.case-studies-final-cta {
    border: 1px solid color-mix(in srgb, var(--border-color) 68%, transparent);
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--bg-color) 88%, white 12%), color-mix(in srgb, var(--bg-color) 96%, white 4%));
    padding: 4.2rem 2rem;
    text-align: center;
}

.case-studies-final-cta h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(2.1rem, 4.8vw, 2.95rem);
}

.case-studies-final-cta p {
    max-width: 720px;
    margin: 0 auto 1.6rem;
    color: var(--muted-text);
    line-height: 1.68;
}

.case-studies-final-cta__actions {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .case-studies-grid--featured,
    .case-studies-grid--additional {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-band-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .case-studies-grid--featured,
    .case-studies-grid--additional,
    .proof-band-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-final-cta__actions {
        flex-direction: column;
    }
}

.case-study-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 1.5rem;
    align-items: start;
}

.case-study-content,
.case-study-sidebar {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.4rem;
}

.case-study-content h2,
.case-study-content h3 {
    margin-top: 1.2rem;
}

.case-study-sidebar-title {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.key-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.key-result-item {
    border: 1px solid color-mix(in srgb, var(--accent-color) 22%, transparent);
    border-radius: 10px;
    padding: 0.8rem;
    background: color-mix(in srgb, var(--bg-color) 88%, white 12%);
}

.key-result-value {
    display: block;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.key-result-label {
    color: color-mix(in srgb, var(--text-color) 78%, transparent);
    font-size: 0.9rem;
}

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

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.5rem;
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    padding: 0.6rem 0;
    list-style: none;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: "/";
    opacity: 0.45;
    font-size: 0.8rem;
}

.breadcrumbs__link {
    color: var(--muted-text);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumbs__current {
    color: var(--text-color);
    font-weight: 500;
}

/* =========================================================
   BLOG CARD (listing + homepage preview)
   ========================================================= */
.blog-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
    text-decoration: none;
}

.blog-card:hover,
.blog-card:focus-within {
    transform: translateY(-7px);
    border-color: color-mix(in srgb, var(--accent-color) 55%, var(--border-color));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--accent-color) 16%, transparent);
}

.blog-card__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
}

.blog-card__cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-color) 28%, transparent);
    border-radius: 2rem;
    padding: 0.2rem 0.6rem;
    text-decoration: none;
}

.blog-card__title {
    font-size: 1.12rem;
    line-height: 1.32;
    margin: 0 0 0.55rem;
    color: var(--text-color);
    text-decoration: none;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover,
.blog-card__title a:focus {
    color: var(--accent-color);
    text-decoration: none;
}

.blog-card__meta {
    font-size: 0.82rem;
    color: var(--muted-text);
    margin-bottom: 0.7rem;
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: var(--muted-text);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-card__read-more {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
}

.blog-card__read-more:hover,
.blog-card__read-more:focus {
    text-decoration: underline;
}

/* =========================================================
   BLOG LISTING PAGE
   ========================================================= */
.blog-listing {
    padding-top: 1rem;
}

.blog-listing__header {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.blog-listing__header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
}

.blog-listing__header p {
    color: var(--muted-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-listing__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .blog-listing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-listing__grid {
        grid-template-columns: 1fr;
    }
}

.blog-listing__pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

/* =========================================================
   SINGLE BLOG POST
   ========================================================= */
.single-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2.5rem;
    align-items: start;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }
    .single-post-sidebar {
        order: -1;
    }
}

.single-post-article {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2.2rem;
}

.single-post-article h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.single-post-article .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.single-post-article .post-meta-cats {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.single-post-content {
    font-size: 1.05rem;
    line-height: 1.78;
}

.single-post-content h2 {
    font-size: clamp(1.4rem, 3.2vw, 1.85rem);
    margin-top: 2.2rem;
    margin-bottom: 0.7rem;
}

.single-post-content h3 {
    font-size: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 0.55rem;
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.2rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.single-post-content p {
    margin-bottom: 1.15rem;
}

.single-post-tags {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.single-post-tags__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 0.25rem;
}

.single-post-tags__tag {
    font-size: 0.8rem;
    color: var(--muted-text);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 0.2rem 0.65rem;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}

.single-post-tags__tag:hover,
.single-post-tags__tag:focus {
    color: var(--accent-color);
    border-color: var(--accent-color);
    text-decoration: none;
}

/* Sidebar */
.single-post-sidebar {
    position: sticky;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.single-post-sidebar__widget {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.35rem;
}

.single-post-sidebar__widget h3 {
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted-text);
    margin-bottom: 1rem;
}

.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-posts-list li a {
    font-size: 0.93rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}

.related-posts-list li a:hover,
.related-posts-list li a:focus {
    color: var(--accent-color);
    text-decoration: none;
}

.related-posts-list li {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.related-posts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Post navigation (prev/next) */
.single-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 600px) {
    .single-post-nav {
        grid-template-columns: 1fr;
    }
}

.single-post-nav__item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}

.single-post-nav__item:hover,
.single-post-nav__item:focus {
    border-color: var(--accent-color);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--accent-color) 16%, transparent);
    transform: translateY(-3px);
    text-decoration: none;
}

.single-post-nav__item--next {
    text-align: right;
}

.single-post-nav__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent-color);
}

.single-post-nav__title {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.38;
}

/* =========================================================
   HOMEPAGE BLOG PREVIEW SECTION
   ========================================================= */
.homepage-blog-preview {
    padding: 4.5rem 0 2rem;
}

.homepage-blog-preview__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.homepage-blog-preview__header h2 {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    margin: 0;
}

.homepage-blog-preview__all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    white-space: nowrap;
}

.homepage-blog-preview__all:hover,
.homepage-blog-preview__all:focus {
    text-decoration: underline;
}

.homepage-blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .homepage-blog-preview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .homepage-blog-preview__grid {
        grid-template-columns: 1fr;
    }
    .homepage-blog-preview__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

