:root {
    --primary: #2f8f8a;
    --primary-dark: #174a58;
    --accent: #d9a441;
    --bg: #0f1f3d;
    --panel: rgba(255,255,255,0.07);
    --panel-strong: rgba(255,255,255,0.12);
    --text: #f7fbfa;
    --text-soft: rgba(247,251,250,0.78);
    --text-muted: rgba(247,251,250,0.66);
    --line: rgba(255,255,255,0.12);
    --shadow: 0 24px 60px rgba(0,0,0,0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    background: rgba(8, 22, 34, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-weight: 700;
    letter-spacing: 0.22em;
    font-size: 0.95rem;
    color: var(--text);
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu li {
    position: relative;
}

.menu a,
.dropdown-toggle {
    color: var(--text-soft);
    transition: color 0.2s ease;
}

.menu a:hover,
.dropdown-toggle:hover {
    color: white;
}

.menu-dropdown {
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(8, 22, 34, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    z-index: 1100;
}

.dropdown-menu.active {
    display: flex;
}

.dropdown-menu a {
    display: block;
    color: var(--text);
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 140px 0 120px;
    text-align: center;
    background: linear-gradient(135deg, rgba(8, 22, 34, 0.88), rgba(13, 33, 54, 0.92)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920') center/cover no-repeat;
}

.hero h1 {
    font-size: clamp(1.2rem, 3vw, 3.8rem);
    max-width: 860px;
    margin: 0 auto;
    line-height: 1;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-soft);
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.btn-primary,
.btn-secondary,
.read-more-btn,
.carousel-btn {
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 18px 40px rgba(47, 143, 138, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(47, 143, 138, 0.33);
}

.btn-secondary {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(1.2rem, 3vw, 3.8rem);
    line-height: 1.05;
}

.section-heading p,
.lead-copy {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1rem;
}

.overview-section {
    padding: 120px 0;
}

.overview-grid,
.image-band,
.image-band.reverse,
.engagement-layout {
    display: grid;
    gap: 32px;
}

.overview-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    row-gap: 28px;
}

.overview-grid > .section-kicker {
    margin-top: 8px;
}

.overview-grid h2 {
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 3.2vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.overview-grid .lead-copy {
    margin: 0;
}

.overview-panel {
    grid-column: 1 / -1;
    max-width: 100%;
}

.overview-panel,
.service-card,
.insight-card,
.why-card,
.vm-card,
.deliverable-card,
.process-step,
.case-card,
.card-link {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.overview-panel,
.service-card,
.insight-card,
.why-card,
.vm-card,
.deliverable-card,
.process-step,
.case-card,
.card-link {
    padding: 28px;
    margin-bottom: 20px;
}

.overview-content {
    padding: 80px 0;
    background: var(--bg);
}

.overview-grid-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.overview-text h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.overview-text p {
    color: var(--text-soft);
    margin-bottom: 20px;
    line-height: 1.6;
}

.overview-text ul {
    color: var(--text-soft);
    padding-left: 20px;
}

.overview-text li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.overview-benefits {
    margin-bottom: 80px;
}

.overview-benefits h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.benefit-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.benefit-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.overview-process h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 20px;
    font-size: 1.2rem;
}

.process-step h4 {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.process-details {
    margin-top: 20px;
}

.process-details ul {
    color: var(--text-soft);
    padding-left: 20px;
    margin: 0;
}

.process-details li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.process-methodology {
    margin-top: 80px;
}

.process-methodology h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.methodology-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.methodology-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.methodology-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.process-commitments {
    margin-top: 80px;
}

.process-commitments h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.commitment-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.commitment-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.commitment-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.insight-grid,
.services-grid,
.why-grid,
.deliverables-grid,
.process-timeline,
.link-grid {
    display: grid;
    gap: 24px;
}

.insight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-benefits {
    margin-top: 80px;
}

.services-benefits h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.benefits-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-overview-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.benefit-overview-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.benefit-overview-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.services-process {
    margin-top: 80px;
}

.services-process h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.process-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.process-overview-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.process-overview-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.process-overview-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.services-industries {
    margin-top: 80px;
}

.services-industries h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.industry-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.industry-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.industry-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.why-differentiators {
    padding: 80px 0;
    background: var(--bg);
}

.why-differentiators h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.differentiator-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.differentiator-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.differentiator-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.why-results {
    padding: 80px 0;
}

.why-results h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 12px;
    font-weight: 500;
}

.stat-item p {
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.why-testimonials {
    padding: 80px 0;
    background: var(--bg);
}

.why-testimonials h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.testimonial-item blockquote {
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-item cite {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
}

.deliverables-standards {
    padding: 80px 0;
    background: var(--bg);
}

.deliverables-standards h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.standard-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.standard-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.standard-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.deliverables-support {
    padding: 80px 0;
}

.deliverables-support h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.support-tier {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.support-tier h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.support-tier p {
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-tier ul {
    color: var(--text-soft);
    padding-left: 20px;
    margin: 0;
}

.support-tier li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.deliverables-guarantee {
    padding: 80px 0;
    background: var(--bg);
}

.deliverables-guarantee h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.guarantee-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.guarantee-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.guarantee-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.guarantee-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.why-grid,
.deliverables-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-preview,
.featured-insights,
.process-overview,
.testimonials-section,
.page-links,
.contact-section,
.cta-final {
    padding: 110px 0;
}

.services-preview {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-preview .section-heading {
    margin-bottom: 52px;
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 0;
}

.service-preview-card {
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.service-preview-card--workflow-bg {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.9) 0%, rgba(8, 22, 34, 0.74) 42%, rgba(8, 22, 34, 0.2) 100%),
        url("custom-workflow-background.png") center / cover no-repeat;
}

.service-preview-card--workflow-bg:hover {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.86) 0%, rgba(8, 22, 34, 0.68) 42%, rgba(8, 22, 34, 0.16) 100%),
        url("custom-workflow-background.png") center / cover no-repeat;
}

.service-preview-card--data-bg {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.9) 0%, rgba(8, 22, 34, 0.74) 42%, rgba(8, 22, 34, 0.2) 100%),
        url("data-analytics-background.png") center / cover no-repeat;
}

.service-preview-card--data-bg:hover {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.86) 0%, rgba(8, 22, 34, 0.68) 42%, rgba(8, 22, 34, 0.16) 100%),
        url("data-analytics-background.png") center / cover no-repeat;
}

.service-preview-card--sap-bg {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.9) 0%, rgba(8, 22, 34, 0.74) 42%, rgba(8, 22, 34, 0.2) 100%),
        url("sap-excellence-background.png") center / cover no-repeat;
}

.service-preview-card--sap-bg:hover {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.86) 0%, rgba(8, 22, 34, 0.68) 42%, rgba(8, 22, 34, 0.16) 100%),
        url("sap-excellence-background.png") center / cover no-repeat;
}

.service-preview-card--process-bg {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.9) 0%, rgba(8, 22, 34, 0.74) 42%, rgba(8, 22, 34, 0.2) 100%),
        url("process-optimization-background.png") center / cover no-repeat;
}

.service-preview-card--process-bg:hover {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.86) 0%, rgba(8, 22, 34, 0.68) 42%, rgba(8, 22, 34, 0.16) 100%),
        url("process-optimization-background.png") center / cover no-repeat;
}

.service-preview-card--reporting-bg {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.9) 0%, rgba(8, 22, 34, 0.74) 42%, rgba(8, 22, 34, 0.2) 100%),
        url("reporting-intelligence-background.png") center / cover no-repeat;
}

.service-preview-card--reporting-bg:hover {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.86) 0%, rgba(8, 22, 34, 0.68) 42%, rgba(8, 22, 34, 0.16) 100%),
        url("reporting-intelligence-background.png") center / cover no-repeat;
}

.service-preview-card--operations-bg {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.9) 0%, rgba(8, 22, 34, 0.74) 42%, rgba(8, 22, 34, 0.2) 100%),
        url("operations-support-background.png") center / cover no-repeat;
}

.service-preview-card--operations-bg:hover {
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.86) 0%, rgba(8, 22, 34, 0.68) 42%, rgba(8, 22, 34, 0.16) 100%),
        url("operations-support-background.png") center / cover no-repeat;
}

.service-preview-card--workflow-bg .service-preview-icon,
.service-preview-card--workflow-bg h3,
.service-preview-card--workflow-bg p,
.service-preview-card--workflow-bg .preview-link,
.service-preview-card--data-bg .service-preview-icon,
.service-preview-card--data-bg h3,
.service-preview-card--data-bg p,
.service-preview-card--data-bg .preview-link,
.service-preview-card--sap-bg .service-preview-icon,
.service-preview-card--sap-bg h3,
.service-preview-card--sap-bg p,
.service-preview-card--sap-bg .preview-link,
.service-preview-card--process-bg .service-preview-icon,
.service-preview-card--process-bg h3,
.service-preview-card--process-bg p,
.service-preview-card--process-bg .preview-link,
.service-preview-card--reporting-bg .service-preview-icon,
.service-preview-card--reporting-bg h3,
.service-preview-card--reporting-bg p,
.service-preview-card--reporting-bg .preview-link,
.service-preview-card--operations-bg .service-preview-icon,
.service-preview-card--operations-bg h3,
.service-preview-card--operations-bg p,
.service-preview-card--operations-bg .preview-link {
    position: relative;
    z-index: 1;
}

.service-preview-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.94);
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex: 0 0 auto;
    transition: color 0.25s ease, transform 0.25s ease;
}

.service-preview-card::after {
    content: "";
    position: absolute;
    inset: auto 28px 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.7;
}

.service-preview-card:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(217, 164, 65, 0.28);
}

.service-preview-card:hover .service-preview-icon {
    color: var(--accent);
    transform: translateY(-2px);
}

.service-preview-card h3 {
    color: white;
    margin: 0 0 14px;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.service-preview-card p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0 0 24px;
}

.preview-link {
    margin-top: auto;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.preview-link:hover {
    color: white;
}

.stats-section {
    background: var(--bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 16px;
    font-weight: 500;
}

.stat-item p {
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.insights-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.insight-preview-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    overflow: hidden;
}

.insight-preview-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.insight-preview-card h3 {
    color: var(--accent);
    margin: 0 12px 16px;
    font-size: 1.2rem;
}

.insight-preview-card p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0 12px 20px;
}

.insight-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin: auto 12px 8px;
    transition: color 0.25s ease;
}

.insight-link:hover {
    color: var(--primary-dark);
}

.process-steps-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.process-step-home {
    text-align: center;
    position: relative;
}

.step-number-home {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 24px;
    font-size: 1.3rem;
}

.process-step-home h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.process-step-home p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.process-visual {
    margin: 0 auto 50px;
    max-width: 1040px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.process-visual--page {
    margin-bottom: 56px;
}

.process-visual img {
    width: 100%;
    border-radius: 16px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.testimonial-card blockquote {
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 1rem;
}

.testimonial-card cite {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
}

.service-card,
.insight-card,
.why-card,
.vm-card,
.deliverable-card,
.process-step,
.case-card,
.card-link {
    overflow: hidden;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.service-card {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.services-grid .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.24;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.services-grid .service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.94), rgba(8, 22, 34, 0.58)),
        linear-gradient(180deg, rgba(8, 22, 34, 0.12), rgba(8, 22, 34, 0.72));
}

.services-grid .service-card > * {
    position: relative;
    z-index: 1;
}

.services-grid .service-card:hover::before {
    opacity: 0.36;
    transform: scale(1.03);
}

#custom-workflow-solutions::before {
    background-image: url("custom-workflow-background.png");
}

#data-workflow-management::before {
    background-image: url("data-analytics-background.png");
}

#sap-support::before {
    background-image: url("sap-excellence-background.png");
}

#process-optimization::before {
    background-image: url("process-optimization-background.png");
}

#reporting-execution::before {
    background-image: url("reporting-intelligence-background.png");
}

#operations-support::before {
    background-image: url("operations-support-background.png");
}

.service-card-icon {
    display: block;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.94);
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.insight-card {
    position: relative;
}

.insight-card-icon {
    display: block;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    padding: 9px;
    color: var(--accent);
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    border-radius: 12px;
    background: rgba(217, 164, 65, 0.1);
    border: 1px solid rgba(217, 164, 65, 0.22);
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-card,
.insight-card,
.why-card,
.vm-card,
.deliverable-card,
.process-step,
.card-link {
    cursor: pointer;
}

.service-card:hover,
.insight-card:hover,
.why-card:hover,
.vm-card:hover,
.deliverable-card:hover,
.process-step:hover,
.case-card:hover,
.card-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    border-color: rgba(217, 164, 65, 0.28);
}

.service-card:hover .service-card-icon {
    color: var(--accent);
    transform: translateY(-2px);
}

.insight-card:hover .insight-card-icon,
.insight-card.active .insight-card-icon {
    color: white;
    background: rgba(47, 143, 138, 0.22);
    border-color: rgba(47, 143, 138, 0.42);
    transform: translateY(-2px);
}

.service-header h3,
.why-header h3,
.vm-card h3,
.process-step h3,
.deliverable-card h3,
.case-header span,
.card-link h3 {
    margin: 0 0 16px;
    color: white;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.service-short p,
.why-short p,
.vm-card p,
.deliverable-card p,
.case-preview p,
.card-link p {
    line-height: 1.8;
    color: var(--text-soft);
}

.vm-values {
    margin-top: 80px;
}

.vm-values h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.value-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.value-item h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.value-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.vm-principles {
    margin-top: 80px;
}

.vm-principles h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.principles-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.principle-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.principle-section h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.principle-section p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.service-detail,
.insight-detail,
.why-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.service-card.active .service-detail,
.insight-card.active .insight-detail,
.why-card.active .why-detail {
    max-height: 1200px;
    padding-top: 18px;
}

.service-detail p,
.insight-detail p,
.why-detail p {
    color: var(--text-soft);
    margin: 0 0 16px;
}

.image-band,
.image-band.reverse {
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    overflow: hidden;
    margin: 72px auto;
    max-width: 1180px;
}

.image-band.reverse .image-band-media {
    order: 2;
}

.image-band.reverse .image-band-copy {
    order: 1;
}

.image-band-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-band-copy {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.image-band-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.05;
}

.band-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.band-points span {
    display: inline-flex;
    padding: 14px 16px;
    border-left: 4px solid var(--accent);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
}

.engagement-layout {
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
}

.engagement-list {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.engagement-list div {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.engagement-list strong {
    display: block;
    margin-bottom: 10px;
    color: white;
}

.engagement-models {
    padding: 80px 0;
    background: var(--bg);
}

.engagement-models h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.model-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.model-card h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.model-card p {
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 20px;
}

.model-card ul {
    color: var(--text-soft);
    padding-left: 20px;
    margin: 0;
}

.model-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.engagement-process {
    padding: 80px 0;
}

.engagement-process h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.process-timeline-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 20px;
    font-size: 1.2rem;
}

.timeline-item h4 {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.timeline-item p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.engagement-commitments {
    padding: 80px 0;
    background: var(--bg);
}

.engagement-commitments h3 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
}

.commitments-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.commitment-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
}

.commitment-block h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.commitment-block p {
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.success {
    text-align: center;
    padding: 150px 0 110px;
}

.success .case-card {
    position: relative;
    max-width: unset;
    margin: 0;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(20, 40, 58, 0.65), rgba(20, 40, 58, 0.55));
    border: 1px solid rgba(217, 164, 65, 0.16);
    transition: all 0.3s ease;
    overflow: hidden;
}

.success .case-card::before,
.success .case-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.success .case-card::before {
    z-index: 0;
    inset: 20px 28px auto;
    height: 136px;
    opacity: 0.9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.success .case-card::after {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(8, 22, 34, 0.08) 0%, rgba(8, 22, 34, 0.08) 156px, rgba(8, 22, 34, 0.92) 210px, rgba(8, 22, 34, 0.98) 100%),
        linear-gradient(90deg, rgba(8, 22, 34, 0.18), rgba(8, 22, 34, 0.04) 50%, rgba(8, 22, 34, 0.18));
}

.success .case-card > * {
    position: relative;
    z-index: 2;
}

.success .case-card:hover {
    border-color: rgba(217, 164, 65, 0.32);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.success .case-card:hover::before {
    opacity: 1;
    transform: scale(1.015);
}

.case-card--hedgefund::before {
    background-image: url("assets/case-banners/hedgefund-trade-ops.svg");
}

.case-card--investment::before {
    background-image: url("assets/case-banners/investment-operations.svg");
}

.case-card--exception::before {
    background-image: url("assets/case-banners/exception-intelligence.svg");
}

.case-card--milk::before {
    background-image: url("assets/case-banners/predictive-milk-production.svg");
}

.case-card--herd::before {
    background-image: url("assets/case-banners/herd-health-intelligence.svg");
}

.case-card {
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.case-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin: 20px 28px 0;
    min-height: 86px;
    padding: 18px 20px;
    background: linear-gradient(90deg, rgba(14, 66, 73, 0.9), rgba(47, 143, 138, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: white;
}

.case-header .date {
    white-space: nowrap;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.case-preview {
    padding: 74px 52px 34px;
    text-align: left;
}

.read-more-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.carousel-track {
    display: flex;
    width: 400%;
    transition: transform 0.5s ease;
}

.success-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 20px 0;
    max-width: 940px;
    margin: 0 auto;
}

.success .case-card {
    max-width: unset;
    margin: 0;
}

.case-preview {
    padding: 24px;
    text-align: left;
}

.case-card.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(217, 164, 65, 0.32);
}

.case-expanded {
    padding: 0 24px 28px;
    text-align: left;
    animation: caseExpand 0.24s ease both;
}

.case-expanded::before {
    content: "";
    display: block;
    margin-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-expanded h4 {
    margin: 0 0 14px;
    color: var(--accent);
}

.case-expanded ul {
    padding-left: 20px;
    margin: 16px 0;
}

.case-expanded li {
    margin-bottom: 10px;
}

.case-expanded-actions {
    display: flex;
    justify-content: center;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-bottom-collapse {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: rgba(255, 255, 255, 0.16);
}

@keyframes caseExpand {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: rgba(8, 22, 34, 0.75);
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    width: min(980px, 100%);
    max-height: 85vh;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(8, 22, 34, 0.95), rgba(20, 40, 58, 0.92));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.modal-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.modal-date {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.modal-body {
    padding: 24px;
    overflow: auto;
    max-height: calc(85vh - 120px);
    color: var(--text-soft);
    line-height: 1.7;
}

.modal-body h4 {
    margin: 0 0 14px;
    color: var(--accent);
}

.modal-body ul {
    padding-left: 20px;
    margin: 16px 0;
}

.modal-body li {
    margin-bottom: 10px;
}

.case-study-detail {
    color: var(--text-soft);
}

.service-detail-page {
    padding-bottom: 90px;
}

.service-detail-page .case-study-header {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.service-detail-page .case-study-header::before,
.service-detail-page .case-study-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.service-detail-page .case-study-header::before {
    z-index: 0;
    opacity: 0.72;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-detail-page .case-study-header::after {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.96) 0%, rgba(8, 22, 34, 0.78) 42%, rgba(8, 22, 34, 0.28) 100%),
        linear-gradient(180deg, rgba(8, 22, 34, 0.18), rgba(8, 22, 34, 0.72));
}

.service-detail-page .case-study-header > * {
    position: relative;
    z-index: 2;
}

.service-workflow .case-study-header::before {
    background-image: url("custom-workflow-background.png");
}

.service-data .case-study-header::before {
    background-image: url("data-analytics-background.png");
}

.service-sap .case-study-header::before {
    background-image: url("sap-excellence-background.png");
}

.service-process .case-study-header::before {
    background-image: url("process-optimization-background.png");
}

.service-reporting .case-study-header::before {
    background-image: url("reporting-intelligence-background.png");
}

.service-operations .case-study-header::before {
    background-image: url("operations-support-background.png");
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-breadcrumb a {
    color: var(--accent);
    font-weight: 600;
    transition: color 0.2s ease;
}

.service-breadcrumb a:hover {
    color: white;
}

.service-signal {
    display: grid;
    grid-template-columns: repeat(4, minmax(42px, 1fr));
    gap: 10px;
    max-width: 360px;
    margin-top: 34px;
    opacity: 0.95;
}

.service-signal span {
    min-height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-signal span::after {
    content: "";
    position: absolute;
    inset: auto 10px 10px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-workflow .service-signal span:nth-child(2),
.service-workflow .service-signal span:nth-child(4),
.service-process .service-signal span:nth-child(3),
.service-operations .service-signal span:nth-child(2) {
    transform: translateY(16px);
}

.service-data .service-signal span {
    min-height: 70px;
}

.service-data .service-signal span:nth-child(1),
.service-data .service-signal span:nth-child(4),
.service-reporting .service-signal span:nth-child(2) {
    transform: translateY(10px);
}

.service-sap .service-signal {
    grid-template-columns: repeat(4, 56px);
}

.service-sap .service-signal span {
    min-height: 56px;
    border-radius: 10px;
}

.service-reporting .service-signal span::after {
    inset: 10px 10px auto;
}

.service-operations .service-signal span::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 12px;
    left: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.service-snapshot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0 30px;
}

.service-snapshot div {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-snapshot span {
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.service-snapshot p {
    margin: 0;
    line-height: 1.6;
}

.service-outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0 10px;
}

.service-outcome-grid span {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 118px;
    justify-content: center;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-outcome-grid strong {
    color: white;
    font-size: 1.2rem;
}

.case-study-detail p {
    margin: 0 0 16px;
}

.case-study-eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.case-body-section {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 10px;
}

.case-stat-grid span {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 110px;
    justify-content: center;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-stat-grid strong {
    color: white;
    font-size: 1.3rem;
}

.case-study-figure {
    margin: 22px 0 0;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    overflow: auto;
}

.case-study-figure img {
    width: 100%;
    min-width: 660px;
    border-radius: 8px;
}

.case-figure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.case-figure-grid .case-study-figure {
    margin: 0;
}

.case-figure-grid .case-study-figure img {
    min-width: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
}

.cta-final {
    background: linear-gradient(135deg, rgba(8, 22, 34, 0.94), rgba(20, 40, 58, 0.95));
    text-align: center;
}

.cta-final h2 {
    margin: 0 auto 18px;
    max-width: 820px;
    font-size: clamp(2.6rem, 3.8vw, 3.8rem);
}

.cta-final p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-soft);
}

.content-rich-section {
    padding: 90px 0;
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.content-rich-section h2 {
    margin: 12px 0 18px;
    max-width: 860px;
    color: white;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.rich-intro {
    max-width: 820px;
    margin: 0 0 36px;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.8;
}

.visual-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    align-items: stretch;
    margin: 0 0 36px;
}

.visual-feature-media {
    min-height: 320px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.visual-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.visual-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-radius: 18px;
    background: rgba(47, 143, 138, 0.12);
    border: 1px solid rgba(47, 143, 138, 0.24);
}

.visual-feature-copy h3 {
    margin: 0 0 14px;
    color: white;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.12;
}

.visual-feature-copy p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.rich-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rich-grid.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rich-panel {
    padding: 26px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.rich-panel h3,
.rich-panel h4 {
    margin: 0 0 12px;
    color: white;
    font-size: 1.12rem;
}

.rich-panel p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.rich-panel ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--text-soft);
    line-height: 1.7;
}

.rich-panel li {
    margin-bottom: 8px;
}

.rich-panel strong {
    color: white;
}

.rich-note {
    margin-top: 24px;
    padding: 22px 24px;
    color: var(--text-soft);
    line-height: 1.75;
    background: rgba(217, 164, 65, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
}

.contact-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 56px;
    align-items: start;
}

.contact-copy h2 {
    margin: 14px 0 18px;
    max-width: 660px;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.contact-details {
    display: grid;
    gap: 10px;
    margin-top: 32px;
    color: var(--text-soft);
}

.contact-details a {
    color: var(--accent);
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: rgba(247, 251, 250, 0.86);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(8, 22, 34, 0.52);
    color: var(--text);
    font: inherit;
    padding: 14px 15px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(217, 164, 65, 0.62);
    background: rgba(8, 22, 34, 0.72);
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.12);
}

.contact-submit {
    width: fit-content;
    border: none;
    cursor: pointer;
}

.contact-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

.contact-response {
    min-height: 24px;
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
}

.contact-response.success {
    color: #91e0bf;
}

.contact-response.error {
    color: #ffb3a7;
}

.footer {
    padding: 36px 0 60px;
    text-align: center;
    color: var(--text-soft);
}

.footer a {
    color: var(--text-soft);
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
}

/* Case Study Pages */
.case-study-page {
    padding: 60px 0;
}

.case-study-header {
    margin-bottom: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-page .case-study-header {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.case-study-page .case-study-header::before,
.case-study-page .case-study-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.case-study-page .case-study-header::before {
    z-index: 0;
    opacity: 0.28;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.case-study-page .case-study-header::after {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 22, 34, 0.96) 0%, rgba(8, 22, 34, 0.76) 48%, rgba(8, 22, 34, 0.38) 100%),
        linear-gradient(180deg, rgba(8, 22, 34, 0.18), rgba(8, 22, 34, 0.76));
}

.case-study-page .case-study-header > * {
    position: relative;
    z-index: 2;
}

.case-study-investment .case-study-header::before {
    background-image: url("case-studies/investment-ops-1.png");
}

.case-study-exception .case-study-header::before {
    background-image: url("case-studies/exception-intelligence-1.png");
}

.case-study-milk .case-study-header::before {
    background-image: url("case-studies/predictive-milk-1.png");
}

.case-study-herd .case-study-header::before {
    background-image: url("case-studies/herd-health-1.png");
}

.case-study-hedgefund .case-study-header::before {
    background-image: url("case-studies/hedgefund-diagnostics.png");
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #eab85b;
}

.case-study-header h1 {
    margin: 12px 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: white;
}

.case-study-header .case-study-eyebrow {
    margin-bottom: 16px;
}

.case-date {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.case-study-detail h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: white;
}

.case-study-detail h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.case-study-nav {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.visible {
    display: inline-flex;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 1001;
}

.page-links {
    padding-top: 80px;
}

main > section:first-child:not(.hero) {
    padding-top: 140px;
}

section,
[id] {
    scroll-margin-top: 96px;
}

.card-link {
    display: block;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.card-link h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.card-link p {
    margin: 0;
    color: var(--text-soft);
}

@media (max-width: 1100px) {
    .overview-grid,
    .image-band,
    .image-band.reverse,
    .engagement-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .image-band.reverse .image-band-media,
    .image-band.reverse .image-band-copy {
        order: initial;
    }

    .process-timeline,
    .services-grid,
    .insight-grid,
    .visual-feature,
    .rich-grid,
    .rich-grid.two-column,
    .why-grid,
    .deliverables-grid,
    .success-grid,
    .link-grid,
    .band-points,
    .case-stat-grid {
        grid-template-columns: 1fr;
    }

    .service-outcome-grid {
        grid-template-columns: 1fr;
    }

    .service-snapshot {
        grid-template-columns: 1fr;
    }

    .case-preview .read-more-btn {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .case-figure-grid {
        grid-template-columns: 1fr;
    }

    .services-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carousel-nav {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .container {
        padding: 0 18px;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .section-heading h2 {
        font-size: 2.4rem;
    }

    .overview-section,
    .services-preview,
    .featured-insights,
    .process-overview,
    .testimonials-section,
    .page-links,
    .contact-section,
    .content-rich-section,
    .cta-final {
        padding: 76px 0;
    }

    .success {
        padding: 130px 0 76px;
    }

    main > section:first-child:not(.hero) {
        padding-top: 118px;
    }

    .overview-grid h2 {
        font-size: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-form {
        padding: 24px;
    }

    .overview-panel,
    .service-preview-card {
        padding: 24px;
    }

    .service-signal {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }

    .service-sap .service-signal {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-preview-grid,
    .insights-preview-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .menu {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        overflow-x: auto;
        padding: 0 2px 4px;
        font-size: 0.86rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .navbar {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px 10px;
    }

    .logo {
        width: 100%;
        text-align: center;
        font-size: 0.78rem;
        letter-spacing: 0.2em;
        white-space: nowrap;
    }

    .menu::-webkit-scrollbar {
        display: none;
    }

    .menu li {
        flex: 0 0 auto;
    }

    .menu a,
    .dropdown-toggle {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.045);
        white-space: nowrap;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
    }

    .cta {
        flex-direction: column;
    }

    .image-band-copy {
        padding: 32px;
    }

    .success .case-card::before {
        inset: 16px 16px auto;
        height: 120px;
    }

    .case-header {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 16px 16px 0;
        padding: 16px;
        min-height: 112px;
        align-content: start;
    }

    .case-header span {
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .case-header .date {
        width: fit-content;
        padding-top: 4px;
        color: rgba(255, 255, 255, 0.78);
        font-size: 0.82rem;
    }

    .case-preview {
        padding: 66px 26px 28px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
    }
}
