/*
Theme Name: CV Apple
Theme URI: https://example.com/cv-apple
Author: Codex
Author URI: https://example.com/
Description: Minimalist SEO consultant CV theme inspired by Apple's clean aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cv-apple
Tags: portfolio, resume, seo, minimal
*/

:root {
    color-scheme: light;
    --cv-font-heading: 'DM Sans', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cv-font-body: 'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cv-font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cv-font-mono: 'SFMono-Regular', 'JetBrains Mono', Menlo, monospace;
    --cv-color-ink: #1d1d1f;
    --cv-color-ink-muted: #6e6e73;
    --cv-color-border: #d2d2d7;
    --cv-color-border-strong: #c6c6cc;
    --cv-color-bg: #f5f5f7;
    --cv-color-surface: #fff;
    --cv-color-overlay: rgba(255, 255, 255, 0.75);
    --cv-color-dark: #000;
    --cv-color-accent: #0071e3;
    --cv-color-green-badge-bg: #e6f4ea;
    --cv-color-green-badge-text: #1e8e3e;
    --cv-radius-xxs: 6px;
    --cv-radius-xs: 8px;
    --cv-radius-sm: 12px;
    --cv-radius-md: 18px;
    --cv-radius-lg: 24px;
    --cv-radius-pill: 999px;
    --cv-shadow-soft: 0 30px 60px rgba(0, 0, 0, 0.08);
    --cv-shadow-card: 0 18px 38px rgba(0, 0, 0, 0.09);
    --cv-shell-width: min(1128px, 92vw);
}

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

body {
    margin: 0;
    font-family: var(--cv-font-body);
    color: var(--cv-color-ink);
    background: var(--cv-color-bg);
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

a:focus-visible,
a:hover {
    color: var(--cv-color-accent);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', var(--cv-font-system);
    font-weight: 600;
    color: var(--cv-color-ink);
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.02em;
}

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

.cv-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cv-main,
main.cv-content,
.cv-content {
    flex: 1;
}

/* Global navigation */
.cv-global-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-top: 4px solid var(--cv-color-dark);
    background: var(--cv-color-overlay);
    backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.cv-nav-inner {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.cv-logo {
    color: var(--cv-color-ink);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.cv-logo-text {
    font-family: 'DM Sans', var(--cv-font-system);
    font-weight: 700;
    font-size: 24px;
    color: #000;
    letter-spacing: -0.03em;
    line-height: 1;
}

.cv-logo-dot {
    color: #8B4513; /* Brown tone */
}

.cv-logo svg {
    display: none;
}

.cv-nav-list {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
    color: var(--cv-color-ink);
}

.cv-nav-list li {
    display: flex;
}

.cv-nav-list a {
    padding: 0.25rem 0.35rem;
    font-weight: 500;
}

.cv-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.cv-nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--cv-color-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease;
    color: var(--cv-color-ink);
}

.cv-nav-icon svg {
    width: 18px;
    height: 18px;
}

.cv-nav-icon svg path {
    fill: currentColor;
}

.cv-nav-icon:hover,
.cv-nav-icon:focus-visible {
    background: rgba(0, 0, 0, 0.06);
}

/* Hero */
.cv-hero-block {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 4rem 0 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.cv-hero-intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv-display {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

.cv-lead {
    font-size: 1.1rem;
    color: var(--cv-color-ink-muted);
}

.cv-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.82rem;
    color: var(--cv-color-ink-muted);
}

.cv-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cv-chip {
    border-radius: var(--cv-radius-sm);
    border: 1px solid var(--cv-color-border);
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
    color: var(--cv-color-ink);
    background: var(--cv-color-surface);
}

.cv-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cv-color-ink-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cv-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff3b30;
    display: inline-block;
}

/* Hero Section - Apple Inspired */
.cv-hero-apple {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.cv-hero-content-wrapper {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 48px;
    align-items: center;
}

.cv-hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.cv-portrait-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.cv-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Focus more on the face/top */
}

.cv-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cv-verified-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #2997ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.cv-profile-name {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 12px 0 0;
}

.cv-profile-role {
    font-size: 15px;
    color: #86868b;
    margin: 4px 0 12px;
    line-height: 1.4;
}

.cv-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.cv-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--cv-radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #d2d2d7;
    background: #fff;
    color: #1d1d1f;
}

.cv-badge-pill.available {
    background-color: var(--cv-color-green-badge-bg);
    color: var(--cv-color-green-badge-text);
    border: 1px solid var(--cv-color-green-badge-bg);
}

.cv-badge-pill.location {
    border: 1px solid #d2d2d7;
    color: #1d1d1f;
    background: #fff;
}

.cv-status-dot-small {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--cv-color-green-badge-text);
    animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.cv-location-text {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

.cv-icon-pin {
    color: #1d1d1f;
}

.cv-service-status-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 280px;
}

.cv-service-status-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #86868b;
}

.cv-service-badge-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid #d2d2d7;
    border-radius: var(--cv-radius-sm);
    background: #fff;
}

.cv-service-name {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

.cv-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--cv-radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.cv-status-badge.available {
    background-color: var(--cv-color-green-badge-bg);
    color: var(--cv-color-green-badge-text);
}

.cv-hero-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
}

.cv-hero-headline {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: #000;
}

.cv-text-highlight {
    display: inline-block;
    color: #1d1d1f;
    font-weight: 700;
    font-size: 0.95em;
}

.cv-hero-bio {
    font-size: 19px;
    line-height: 1.5;
    color: #1d1d1f;
    margin-bottom: 32px;
    max-width: 640px;
}

.cv-hero-bio p {
    margin: 0;
}

.cv-action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cv-btn-header {
    background: #fff;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
    padding: 8px 16px;
    border-radius: var(--cv-radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cv-btn-header:hover {
    background: #f5f5f7;
}

.cv-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--cv-radius-pill);
    border: 1px solid #d2d2d7;
    background: #fff;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.cv-btn-outline:hover {
    background: #f5f5f7;
}

.cv-contact-bar .cv-btn {
    font-size: 14px;
    padding: 0.65rem 1.35rem;
    border-radius: var(--cv-radius-pill);
}

.cv-contact-bar .cv-btn--primary {
    background: #fff;
    color: #1d1d1f;
    box-shadow: none;
}

.cv-contact-bar .cv-btn--primary:hover {
    background: #f5f5f7;
}

.cv-contact-bar .cv-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.cv-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.cv-btn {
    border-radius: var(--cv-radius-pill);
    border: none;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.cv-btn--primary {
    background: var(--cv-color-ink);
    color: #fff;
    box-shadow: var(--cv-shadow-card);
}

.cv-btn--ghost {
    background: rgba(0, 0, 0, 0.08);
    color: var(--cv-color-ink);
}

.cv-btn:hover,
.cv-btn:focus-visible {
    transform: translateY(-2px);
}

.cv-hero-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cv-hero-portrait {
    border-radius: var(--cv-radius-lg);
    background: linear-gradient(135deg, #dfe7ff, #ffffff);
    box-shadow: var(--cv-shadow-soft);
    min-height: 320px;
    overflow: hidden;
}

.cv-hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-portrait-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--cv-color-ink-muted);
    font-size: 0.95rem;
}

.cv-hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.cv-hero-card {
    border-radius: var(--cv-radius-md);
    background: var(--cv-color-surface);
    box-shadow: var(--cv-shadow-card);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.cv-hero-card strong {
    font-size: 1.75rem;
    font-family: var(--cv-font-heading);
}

/* Sections */
.cv-section {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 3.5rem 0;
}

.cv-section + .cv-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cv-section-header {
    max-width: 780px;
    margin-bottom: 2rem;
}

.cv-section-title {
    font-size: 40px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cv-section-description {
    font-size: 21px;
    color: var(--cv-color-ink-muted);
    max-width: 700px;
}

.cv-section-header--case {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cv-section-header--case .cv-eyebrow {
    color: #000;
}

.cv-section-divider {
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.08);
}

/* Case Studies Grid */
.cv-case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.cv-case-study-card {
    background: transparent;
    padding: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cv-case-study-card:hover {
    transform: translateY(-4px);
}

.cv-case-title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.cv-case-link-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.cv-case-title-text {
    display: inline-flex;
}

.cv-case-icon-inline {
    width: 32px;
    height: 32px;
    border-radius: var(--cv-radius-xs);
    background: #f5f5f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cv-case-icon-inline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-arrow-icon {
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cv-case-study-card:hover .cv-arrow-icon {
    transform: translateX(4px);
    opacity: 1;
}

.cv-case-url {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 12px;
}
.cv-case-url strong {
    color: #1d1d1f;
    margin-right: 6px;
    font-weight: 600;
}


.cv-case-description {
    font-size: 15px;
    line-height: 1.5;
    color: #1d1d1f;
    margin: 0;
}

.cv-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.cv-service-card {
    border-radius: var(--cv-radius-md);
    padding: 1.75rem;
    background: var(--cv-color-surface);
    border: 1px solid var(--cv-color-border);
    transition: transform 160ms ease, border-color 160ms ease;
}

.cv-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--cv-color-accent);
}

.cv-case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cv-case-card {
    border-radius: var(--cv-radius-md);
    background: var(--cv-color-surface);
    padding: 1.75rem;
    box-shadow: var(--cv-shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cv-case-card span {
    color: var(--cv-color-ink-muted);
    font-size: 0.9rem;
}

.cv-link {
    font-weight: 600;
    color: var(--cv-color-accent);
}

.cv-section--experience {
    padding-top: 4rem;
}

.cv-experience-header {
    margin-bottom: 2rem;
}

.cv-eyebrow--dot {
    position: relative;
    padding-left: 18px;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d1d1f;
}

.cv-eyebrow--dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8a63ff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cv-experience-list {
    border-top: 1px solid #e5e5ea;
    border-bottom: 1px solid #e5e5ea;
}

.cv-experience-item + .cv-experience-item {
    border-top: 1px solid #e5e5ea;
}

.cv-experience-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(120px, auto) 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 24px 0;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.cv-exp-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: var(--cv-radius-sm);
    border: 1px solid #d2d2d7;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cv-exp-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 32px;
}

.cv-exp-period {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6e6e73;
}

.cv-exp-company {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1d1d1f;
}

.cv-exp-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d2d2d7;
    position: relative;
}

.cv-exp-icon::before,
.cv-exp-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #1d1d1f;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cv-exp-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.cv-experience-item.is-open .cv-exp-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.cv-experience-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-left: clamp(0px, 12vw, 320px);
    transition: max-height 0.35s ease, opacity 0.25s ease, padding-top 0.2s ease;
}

.cv-experience-item.is-open .cv-experience-panel {
    max-height: 2600px;
    opacity: 1;
    padding-top: 8px;
    margin-bottom: 20px;
}

.cv-experience-body {
    padding-right: 64px;
    color: #1d1d1f;
}

.cv-experience-body p {
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}

.cv-experience-body p + p {
    margin-top: 0.95rem;
}

@media (max-width: 720px) {
    .cv-experience-toggle {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }

    .cv-exp-icon {
        justify-self: flex-start;
    }

    .cv-experience-panel {
        padding-left: 0;
    }

    .cv-experience-body {
        padding-right: 0;
    }

    .cv-exp-meta {
        margin-left: 0;
    }
}

.cv-insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.cv-insight-card {
    border-radius: var(--cv-radius-md);
    background: #fff;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Case Study Single Page */
.cv-case-single {
    background: #fff;
}

.cv-case-hero {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 80px 40px 60px;
}

.cv-case-hero-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.cv-case-hero-subline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #86868b;
    margin-bottom: 16px;
}

.cv-case-separator {
    opacity: 0.5;
}

.cv-case-hero-title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin-bottom: 24px;
}

.cv-case-excerpt {
    font-size: 21px;
    line-height: 1.5;
    color: #1d1d1f;
    margin-bottom: 40px;
}

.cv-case-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cv-case-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv-case-meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
}

.cv-case-meta-value {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
}

.cv-case-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2997ff;
    transition: color 0.2s ease;
}

.cv-case-link:hover {
    color: #147ce5;
}

.cv-case-hero-image {
    border-radius: var(--cv-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
}

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

.cv-case-sections {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 60px 40px;
}

.cv-case-section {
    margin-bottom: 80px;
    display: flex;
    align-items: flex-start;
}

.cv-case-section + .cv-case-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 60px;
}

.cv-case-section:last-child {
    margin-bottom: 0;
}

.cv-case-section-inner {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.cv-case-section-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.cv-case-section-number {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 14px;
    font-weight: 700;
    color: #2997ff;
    min-width: 40px;
}

.cv-case-section-title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
}

.cv-case-section-content {
    font-size: 17px;
    line-height: 1.7;
    color: #1d1d1f;
    padding-left: 56px;
}

.cv-case-section-content p {
    margin-bottom: 1.2em;
}

.cv-case-section-content p:last-child {
    margin-bottom: 0;
}

.cv-case-navigation {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 60px 40px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #d2d2d7;
}

.cv-case-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: #f5f5f7;
    border-radius: var(--cv-radius-md);
    transition: background 0.3s ease, transform 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.cv-case-nav-link:hover {
    background: #e8e8ed;
    transform: translateY(-2px);
}

.cv-case-nav-link svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.cv-case-nav-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
    margin-bottom: 4px;
}

.cv-case-nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

.cv-case-nav-prev {
    text-align: left;
}

.cv-case-nav-next {
    text-align: right;
    justify-content: flex-end;
}

.cv-case-nav-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    background: #1d1d1f;
    color: #fff;
    border-radius: var(--cv-radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cv-case-nav-all:hover {
    background: #000;
    transform: translateY(-2px);
}

.cv-case-nav-all svg {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .cv-hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cv-hero-visual {
        order: 2;
    }

    .cv-hero-text-area {
        align-items: center;
        text-align: center;
    }

    .cv-case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cv-case-hero-title {
        font-size: 42px;
    }

    .cv-case-section-title {
        font-size: 28px;
    }

    .cv-case-section-content {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .cv-hero-apple {
        padding: 40px 20px 60px;
    }

    .cv-hero-headline {
        font-size: 32px;
    }

    .cv-hero-bio {
        font-size: 18px;
    }

    .cv-service-status-list {
        width: 100%;
    }

    .cv-case-studies-grid {
        grid-template-columns: 1fr;
    }

    .cv-case-hero {
        padding: 60px 20px 40px;
    }

    .cv-case-hero-title {
        font-size: 32px;
    }

    .cv-case-excerpt {
        font-size: 18px;
    }

    .cv-case-sections {
        padding: 40px 20px;
    }

    .cv-case-section {
        margin-bottom: 60px;
    }

    .cv-case-section-title {
        font-size: 24px;
    }

    .cv-case-section-content {
        font-size: 16px;
    }

    .cv-case-navigation {
        flex-direction: column;
        padding: 40px 20px 60px;
    }

    .cv-case-nav-link {
        max-width: 100%;
        width: 100%;
    }
}

.cv-contact-bar {
    max-width: var(--cv-shell-width);
    margin: 3rem auto;
    border-radius: var(--cv-radius-lg);
    background: var(--cv-color-dark);
    color: #f5f5f7;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem;
}

.cv-contact-bar h2 {
    margin: 0.35rem 0;
    color: #fff;
}

.cv-contact-bar p {
    color: rgba(255, 255, 255, 0.7);
}

.cv-contact-bar .cv-btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.cv-contact-action {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cv-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.6rem;
    border-radius: var(--cv-radius-pill);
    background: #fff;
    color: #1d1d1f;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    min-width: 150px;
}

.cv-contact-btn:hover {
    background: #f5f5f7;
}

.cv-contact-secondary {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.cv-contact-secondary a {
    color: #fff;
    text-decoration: underline;
}

/* Content blocks */
.cv-inline-content,
.cv-content {
    max-width: min(860px, 92vw);
    margin: 0 auto 3rem;
    padding: 0 0 3rem;
}

.cv-entry {
    background: var(--cv-color-surface);
    border-radius: var(--cv-radius-md);
    padding: 2rem;
    box-shadow: var(--cv-shadow-card);
}

.cv-entry + .cv-entry {
    margin-top: 2rem;
}

.cv-entry h1,
.cv-entry h2,
.cv-entry h3 {
    font-family: var(--cv-font-heading);
}

.cv-entry img {
    border-radius: var(--cv-radius-sm);
    width: 100%;
    height: auto;
}

.cv-section--blog {
    padding-top: 4rem;
}

.cv-blog-divider {
    height: 1px;
    background: #e5e5ea;
    margin-bottom: 2rem;
}

.cv-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cv-blog-link {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: #1d1d1f;
}

.cv-blog-grid {
    display: grid;
    grid-template-columns: minmax(280px, 520px) 1fr;
    gap: 32px;
    align-items: stretch;
}

.cv-blog-feature {
    position: relative;
    overflow: hidden;
    border-radius: var(--cv-radius-lg);
    min-height: 360px;
    background: #000;
}

.cv-blog-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cv-blog-feature-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.9) 100%);
    color: #fff;
}

.cv-blog-feature-title {
    font-size: 1.6rem;
    margin: 0 0 12px;
    letter-spacing: -0.015em;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.cv-blog-feature-title a {
    color: #fff;
}

.cv-blog-feature-excerpt {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    max-width: 442px;
}

.cv-blog-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.cv-blog-meta--feature {
    margin-top: auto;
}

.cv-blog-meta--feature span {
    color: rgba(255,255,255,0.85);
}

.cv-blog-meta--list span {
    color: #8e8e93;
}

.cv-blog-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-left: 1px solid #e5e5ea;
    padding-left: 32px;
}

.cv-blog-list-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.cv-blog-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cv-blog-list-content h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    font-weight: 600;
    line-height: 1.3;
}

.cv-blog-list-content a {
    color: #1d1d1f;
}

.cv-blog-thumb {
    width: 84px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--cv-radius-sm);
    overflow: hidden;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cv-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cv-blog-list-item:hover .cv-blog-thumb {
    opacity: 1;
    transform: translateX(0);
}

.cv-blog-list-item:hover h3 a {
    color: #1d1d1f;
}

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

    .cv-blog-feature {
        min-height: 320px;
    }

    .cv-blog-list {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #f0f0f0;
        padding-top: 24px;
    }

    .cv-blog-list-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.cv-entry-content ul,
.cv-entry-content ol {
    padding-left: 1.5rem;
}

pre,
code {
    font-family: var(--cv-font-mono);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.35rem;
    border-radius: var(--cv-radius-xxs);
}

.cv-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cv-tag-list a {
    font-size: 0.85rem;
    border-radius: var(--cv-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.3rem 0.75rem;
}

.cv-feed article {
    margin-bottom: 2.5rem;
    background: var(--cv-color-surface);
    padding: 1.75rem;
    border-radius: var(--cv-radius-md);
    box-shadow: var(--cv-shadow-card);
}

.cv-case-meta {
    color: var(--cv-color-ink-muted);
    font-size: 0.9rem;
}

.cv-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.cv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--cv-color-ink);
    font-weight: 600;
}

.cv-pagination .page-numbers.current {
    background: var(--cv-color-ink);
    color: #fff;
}

/* Contact */
.cv-contact-main {
    background: radial-gradient(120% 120% at 20% 20%, rgba(0, 113, 227, 0.08), transparent 45%), radial-gradient(110% 110% at 80% 0%, rgba(0, 0, 0, 0.06), transparent 38%), var(--cv-color-bg);
}

.cv-contact-shell {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 3rem 1rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.cv-contact-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.cv-contact-hero-card {
    background: var(--cv-color-surface);
    border-radius: var(--cv-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--cv-shadow-card);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.cv-contact-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--cv-color-ink-muted);
}

.cv-contact-hero-meta strong {
    color: var(--cv-color-ink);
    font-size: 1.25rem;
    font-family: var(--cv-font-heading);
}

.cv-contact-pills {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.cv-contact-pills li {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.4rem 0.75rem;
    border-radius: var(--cv-radius-pill);
    font-size: 0.95rem;
}

.cv-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.cv-contact-card {
    border-radius: var(--cv-radius-md);
    background: var(--cv-color-surface);
    border: 1px solid var(--cv-color-border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 220px;
}

.cv-contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--cv-radius-sm);
    background: rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cv-contact-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: none;
    fill: var(--cv-color-ink);
}

.cv-contact-link,
.cv-contact-link-btn {
    color: var(--cv-color-accent);
    font-weight: 600;
}

.cv-contact-link-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.cv-contact-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
}

.cv-contact-form-area {
    background: var(--cv-color-surface);
    border-radius: var(--cv-radius-lg);
    padding: 2rem;
    box-shadow: var(--cv-shadow-card);
}

.cv-form-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.cv-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv-form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}

.cv-form-control {
    width: 100%;
    border-radius: var(--cv-radius-sm);
    border: 1px solid var(--cv-color-border);
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    background: #fff;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.cv-form-control:focus {
    outline: none;
    border-color: var(--cv-color-accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.cv-form-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.cv-alert {
    border-radius: var(--cv-radius-sm);
    padding: 0.9rem 1rem;
    font-weight: 600;
}

.cv-alert-success {
    background: rgba(0, 171, 102, 0.1);
    color: #006644;
    border: 1px solid rgba(0, 171, 102, 0.3);
}

.cv-alert-error {
    background: rgba(227, 63, 52, 0.12);
    color: #8a1f1a;
    border: 1px solid rgba(227, 63, 52, 0.3);
}

.cv-contact-submit {
    width: fit-content;
}

.cv-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv-contact-widget {
    background: var(--cv-color-surface);
    border: 1px solid var(--cv-color-border);
    border-radius: var(--cv-radius-md);
    padding: 1.4rem;
}

.cv-contact-address {
    font-style: normal;
    color: var(--cv-color-ink-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.cv-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: var(--cv-radius-pill);
    border: 1px solid var(--cv-color-border);
    padding: 0.65rem 1.2rem;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.cv-btn-small {
    padding: 0.55rem 1rem;
}

.cv-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--cv-color-ink-muted);
}

.cv-contact-list strong {
    color: var(--cv-color-ink);
}

.cv-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.cv-project-card {
    border-radius: var(--cv-radius-md);
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: none;
    backdrop-filter: none;
    transition: transform 140ms ease, opacity 140ms ease;
}

.cv-project-card:hover {
    transform: translateY(-4px);
    opacity: 0.95;
}

.cv-project-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cv-project-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
}

.cv-project-head strong {
    font-size: 1.05rem;
    color: var(--cv-color-ink);
}

.cv-project-head small {
    color: var(--cv-color-ink-muted);
}

.cv-project-meta {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    color: var(--cv-color-ink-muted);
    font-weight: 600;
    font-size: 1rem;
}

.cv-project-duration {
    font-weight: 700;
    color: var(--cv-color-ink);
}

.cv-project-arrow svg {
    color: var(--cv-color-ink-muted);
    opacity: 0.7;
}

.cv-status-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--cv-radius-pill);
    background: #e6f4ea;
    color: #1e8e3e;
    position: relative;
    font-size: 0.95rem;
}

.cv-status-live::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e8e3e;
    box-shadow: 0 0 0 0 rgba(30, 142, 62, 0.5);
    animation: cv-pulse 1.5s infinite;
}

@keyframes cv-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 142, 62, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(30, 142, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 142, 62, 0);
    }
}

/* Footer */
.cv-footer {
    border-top: 1px solid var(--cv-color-border);
    background: #f5f5f7;
    padding: 3.5rem 0 2.5rem;
    color: #1d1d1f;
}

.cv-footer-shell {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0 1rem;
}

.cv-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.cv-footer-column h3 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1d1d1f;
}

.cv-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.95rem;
}

.cv-footer-column a {
    color: #4c4c4f;
}

.cv-footer-contact {
    text-align: center;
    padding: 2.5rem 0;
    border-top: 1px solid #e5e5ea;
    border-bottom: 1px solid #e5e5ea;
}

.cv-footer-contact-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: #4c4c4f;
    margin: 0;
}

.cv-footer-contact-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cv-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.85rem 1.75rem;
    border-radius: var(--cv-radius-pill);
    border: 1px solid #d2d2d7;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 15, 15, 0.06);
    font-weight: 600;
    color: #1d1d1f;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 15, 15, 0.08);
}

.cv-footer-cta-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
}

.cv-footer-cta.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.cv-footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cv-footer-legal-block {
    flex: 1 1 320px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #6e6e73;
}

.cv-footer-legal-block p {
    margin: 0;
}

.cv-footer-legal-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.cv-footer-legal-links a {
    color: #6e6e73;
}

.cv-footer-bottom-right {
    flex: 0 1 auto;
}

.cv-offices-section {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: flex-end;
}

.cv-office-item {
    min-width: 190px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cv-office-name,
.office-name {
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1d1d1f;
}

.cv-office-info-row,
.office-info-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cv-office-time-value,
.office-time-value {
    padding: 8px 12px;
    border-radius: var(--cv-radius-sm);
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px 0 rgba(175, 184, 202, 0.15);
    font-size: 13px;
    line-height: 1.33337;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1d1d1f;
    min-width: 68px;
    text-align: center;
}

.cv-office-status,
.office-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--cv-radius-sm);
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px 0 rgba(175, 184, 202, 0.15);
}

.cv-office-status-dot,
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.cv-office-status--open {
    color: #1e7a34;
    background: #e4f7e9;
    border-color: #cae8d3;
}

.cv-office-status--closed {
    color: #b3261e;
    background: #fde3e1;
    border-color: #f7c2be;
}

.cv-office-phone,
.office-phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cv-office-phone svg,
.office-phone svg {
    color: #a1a1a6;
}

.cv-office-phone:hover,
.office-phone:hover {
    color: #1d1d1f;
}

@media (max-width: 720px) {
    .cv-footer-shell {
        padding: 0 1.25rem;
    }

    .cv-footer-contact {
        padding: 2rem 0;
    }

    .cv-footer-bottom {
        flex-direction: column;
    }

    .cv-footer-bottom-right {
        width: 100%;
    }

    .cv-offices-section {
        justify-content: flex-start;
    }
}

/* ============================================
   Archive Page (Blog List)
   ============================================ */
.cv-archive-main {
    background: transparent;
    padding: 60px 0 120px;
}

.cv-archive-container {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px;
}

.cv-archive-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5ea;
}

.cv-archive-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6e6e73;
}

.cv-archive-breadcrumb a {
    color: #1d1d1f;
    transition: color 0.2s ease;
}

.cv-archive-breadcrumb a:hover {
    color: #0071e3;
}

.cv-breadcrumb-sep {
    color: #d2d2d7;
}

.cv-archive-title {
    font-size: 2rem;
    margin: 16px 0 0;
    letter-spacing: -0.015em;
    font-weight: 600;
}

.cv-archive-description {
    max-width: 540px;
    margin-top: 12px;
    font-size: 1rem;
    color: #6e6e73;
    line-height: 1.6;
}

/* Archive List */
.cv-archive-list {
    display: flex;
    flex-direction: column;
}

.cv-blog-row {
    display: grid;
    grid-template-columns: 220px 40px 1fr 56px;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid #e5e5ea;
    align-items: center;
}

.cv-blog-row:last-child {
    border-bottom: none;
}

.cv-blog-row-meta {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cv-blog-row-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 500;
}

.cv-blog-row-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff3b30;
    display: inline-flex;
}

.cv-blog-row-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-blog-row-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5f7;
}

.cv-blog-row-author-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cv-blog-row-author-label {
    font-size: 11px;
    color: #8e8e93;
}

.cv-blog-row-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
}

.cv-blog-row-pin {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-blog-row-pin-dot {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ff3b30;
}

.cv-blog-row-pin-dot::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #ff3b30;
}

.cv-blog-row-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cv-blog-row-title {
    font-size: 1.65rem;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.015em;
    font-weight: 600;
}

.cv-blog-row-title a {
    color: #1d1d1f;
    transition: color 0.2s ease;
}

.cv-blog-row-title a:hover {
    color: #0071e3;
}

.cv-blog-row-excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
}

.cv-blog-row-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cv-blog-row-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #f5f5f7;
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--cv-radius-pill);
    transition: background 0.2s ease;
}

.cv-blog-row-badge:hover {
    background: #e8e8ed;
}

.cv-blog-row-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-blog-row-arrow a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #d2d2d7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    transition: all 0.2s ease;
}

.cv-blog-row-arrow a:hover {
    border-color: #1d1d1f;
    color: #0071e3;
    transform: translateX(4px);
}

/* Pagination */
.cv-archive-pagination {
    margin-top: 64px;
    text-align: center;
}

.cv-archive-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cv-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    background: var(--cv-color-surface);
    border: 1px solid #d2d2d7;
    border-radius: var(--cv-radius-sm);
    transition: all 0.2s ease;
}

.cv-archive-pagination .page-numbers:hover {
    background: #f5f5f7;
    border-color: #c6c6cc;
    color: #0071e3;
}

.cv-archive-pagination .page-numbers.current {
    background: #0071e3;
    border-color: #0071e3;
    color: #fff;
}

.cv-archive-pagination .prev,
.cv-archive-pagination .next {
    font-weight: 600;
}

.cv-archive-empty {
    text-align: center;
    padding: 80px 24px;
}

.cv-archive-empty p {
    font-size: 1.125rem;
    color: #6e6e73;
}

/* Responsive Archive */
@media (max-width: 1024px) {
    .cv-blog-row {
        grid-template-columns: 180px 32px 1fr 48px;
        gap: 24px;
    }

    .cv-blog-row-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cv-archive-main {
        padding: 32px 0 80px;
    }

    .cv-archive-container {
        padding: 0 20px;
    }

    .cv-archive-header {
        margin-bottom: 32px;
    }

    .cv-blog-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 0;
    }

    .cv-blog-row-meta {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .cv-blog-row-date {
        flex-wrap: wrap;
    }

    .cv-blog-row-pin,
    .cv-blog-row-arrow {
        display: none;
    }

    .cv-blog-row-title {
        font-size: 1.35rem;
    }

    .cv-archive-pagination {
        margin-top: 48px;
    }

    .cv-archive-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }
}

/* ============================================
   Single Article
   ============================================ */
.cv-single-main {
    background: transparent;
    padding: 80px 0 110px;
}

.cv-single-shell {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px;
}

.cv-single-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 0 0 24px;
    border-bottom: 1px solid #e5e5ea;
    margin-bottom: 32px;
}

.cv-single-head-left {
    flex: 1;
    min-width: 0; /* prevents flex item from overflowing */
}

.cv-single-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #ff3b30;
}

.cv-single-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 12px;
    color: #1d1d1f;
    font-weight: 700;
}

.cv-single-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #6e6e73;
    margin: 0;
}

.cv-single-head-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 36px; /* Align with title visually */
}

.cv-single-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e5ea;
}

.cv-single-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
    display: block;
}

.cv-single-author-role {
    display: none;
}

.cv-single-meta-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #86868b;
}

.cv-single-dot {
    width: 2px;
    height: 2px;
    background: #86868b;
    border-radius: 50%;
    display: inline-block;
}

.cv-single-divider {
    display: none;
}

.cv-single-feature {
    margin: 0 0 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

.cv-single-feature img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
}

.cv-single-share-inline {
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5ea;
    margin-bottom: 24px;
}

.cv-single-share-inline span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #8e8e93;
}

.cv-single-share-inline-buttons {
    display: flex;
    gap: 10px;
}

.cv-share-inline-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d2d2d7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: transparent;
}

/* ============================================
   Single Article Layout - Modern Fix
   ============================================ */

.cv-single-body {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 48px;
    gap: 60px;
    align-items: start;
    margin-top: 64px;
    position: relative;
}

.cv-single-share-col {
    height: 100%;
}

.cv-share-sticky {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.cv-share-rail-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #86868b;
    margin-bottom: 4px;
}

.cv-share-rail-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e5ea;
    background: transparent;
    font-size: 14px;
    color: #1d1d1f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cv-share-rail-btn:hover {
    border-color: #86868b;
    background: #f5f5f7;
}

.cv-single-article {
    background: transparent;
    padding: 0;
}

.cv-single-content {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.cv-single-content p {
    margin-bottom: 1.5em;
}

.cv-single-content h2 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
    font-weight: 600;
}

.cv-single-content h3 {
    font-size: 1.4rem;
    line-height: 1.25;
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cv-single-content blockquote {
    border-left: 3px solid #1d1d1f;
    padding-left: 1.25rem;
    margin: 2rem 0;
    font-style: italic;
    color: #1d1d1f;
    font-size: 1.2rem;
    line-height: 1.5;
}

.cv-single-footer {
    margin-top: 60px;
    border-top: 1px solid #e5e5ea;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.cv-single-toc {
    height: 100%;
}

.cv-single-toc-card {
    position: sticky;
    top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding-right: 20px;
    /* Scrollbar styling for webkit */
    scrollbar-width: thin;
    scrollbar-color: #d2d2d7 transparent;
}

.cv-single-toc-card::-webkit-scrollbar {
    width: 4px;
}
.cv-single-toc-card::-webkit-scrollbar-thumb {
    background-color: #d2d2d7;
    border-radius: 4px;
}

.cv-single-toc-card .cv-side-eyebrow {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #86868b;
    margin-bottom: 8px;
}

.cv-single-toc-card h3 {
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
}

.cv-single-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid #e5e5ea;
}

.cv-single-toc-list li {
    padding-left: 16px;
    position: relative;
}

/* Active state bar indicator on left */
.cv-single-toc-list li::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: transparent;
    transition: background-color 0.2s ease;
}

.cv-single-toc-list li.is-active::before {
    background: #1d1d1f;
}

.cv-single-toc-list li a {
    display: block;
    color: #86868b;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s ease;
    text-decoration: none;
}

.cv-single-toc-list li.is-active a,
.cv-single-toc-list li:hover a {
    color: #1d1d1f;
}

.cv-single-nav {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid #e5e5ea;
}

.cv-single-nav .post-navigation {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cv-single-nav span {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8e8e93;
}

.cv-single-nav strong {
    display: block;
    margin-top: 6px;
    font-size: 1.05rem;
    color: #1d1d1f;
}

/* Responsive Single */
@media (max-width: 1180px) {
    .cv-single-body {
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 32px;
    }
    
    .cv-single-toc {
        grid-column: span 2;
        order: -1;
        margin-bottom: 24px;
    }
    
    .cv-single-toc-card {
        position: static;
        max-height: none;
        padding-right: 0;
        border-bottom: 1px solid #e5e5ea;
        padding-bottom: 24px;
    }
    
    .cv-single-toc-list {
        border-left: none;
        gap: 8px;
    }
    
    .cv-single-toc-list li {
        padding-left: 0;
    }
    
    .cv-single-toc-list li::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .cv-single-body {
        grid-template-columns: 1fr;
    }
    
    .cv-single-share-col {
        display: none;
    }
    
    .cv-single-share-inline {
        display: flex;
    }
}

@media (max-width: 640px) {
    .cv-single-shell {
        padding: 0 16px;
    }

    .cv-single-title {
        font-size: 2.2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .cv-nav-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 12px 20px;
    }

    .cv-logo {
        grid-column: 1;
    }

    .cv-nav-list {
        grid-column: 2;
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        padding: 0;
        gap: 16px;
        scrollbar-width: none; /* Firefox */
        justify-content: center;
    }
    
    .cv-nav-list::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .cv-nav-list li {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .cv-nav-actions {
        grid-column: 3;
        margin-left: 0;
    }

    .cv-contact-bar {
        flex-direction: column;
    }

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

/* ============================================
   MODERN HOMEPAGE STYLES (m- prefix)
   Premium, rounded, glassmorphism design
   ============================================ */

/* --- Hero Section --- */
.m-hero {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 80px 24px 60px;
}

.m-hero__container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
}

.m-hero__greeting {
    font-size: 16px;
    font-weight: 500;
    color: var(--cv-color-ink-muted);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.m-hero__name {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0a0a0a;
    margin: 0 0 12px;
}

.m-hero__name-accent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.m-hero__tagline {
    font-size: 18px;
    font-weight: 500;
    color: var(--cv-color-ink-muted);
    margin: 0 0 20px;
}

.m-hero__bio {
    font-size: 17px;
    line-height: 1.7;
    color: #3a3a3c;
    margin: 0 0 32px;
    max-width: 560px;
}

.m-hero__bio p {
    margin: 0;
}

.m-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Buttons */
.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    line-height: 1;
}

.m-btn--primary {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

.m-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    color: #fff;
}

.m-btn--ghost {
    background: rgba(0, 0, 0, 0.04);
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.m-btn--ghost:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
}

.m-btn--white {
    background: #fff;
    color: #1a1a2e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.m-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    color: #1a1a2e;
}

.m-btn--ghost-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.m-btn--ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Hero Stats */
.m-hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.m-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-stat__number {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 28px;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}

.m-stat__label {
    font-size: 13px;
    color: var(--cv-color-ink-muted);
    font-weight: 500;
}

.m-stat__divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* Profile Card */
.m-profile-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px 32px;
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 1px solid #e8ecf2;
}

.m-profile-card__avatar {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: visible;
    margin-bottom: 16px;
}

.m-profile-card__avatar img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
}

.m-profile-card__avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.m-profile-card__verified {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
}

.m-profile-card__name {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 22px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 4px;
}

.m-profile-card__role {
    font-size: 14px;
    color: #86868b;
    margin: 0 0 20px;
}

/* Badges */
.m-profile-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.m-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.m-badge--available {
    background: linear-gradient(135deg, #e8faf0 0%, #d4f5e2 100%);
    color: #1b8a3e;
}

.m-badge--location {
    background: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.m-badge--location svg {
    width: 14px;
    height: 14px;
}

.m-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34c759;
    animation: m-pulse 2s ease-in-out infinite;
}

.m-badge__dot--live {
    width: 6px;
    height: 6px;
    background: #34c759;
}

@keyframes m-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Services in Profile Card */
.m-profile-card__services {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m-profile-card__services-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #86868b;
    text-align: left;
    margin-bottom: 4px;
}

.m-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f9f9fb;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.m-service-row:hover {
    background: #f0f0f5;
}

.m-service-row__name {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
}

.m-service-row__status {
    font-size: 12px;
    font-weight: 700;
    color: #1b8a3e;
    background: linear-gradient(135deg, #e8faf0 0%, #d4f5e2 100%);
    padding: 4px 12px;
    border-radius: 999px;
}

/* --- Section Base --- */
.m-section {
    padding: 80px 0;
}

.m-section__container {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px;
}

.m-section__eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #86868b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.m-section__eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: inline-block;
}

.m-section__title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.m-section__desc {
    font-size: 17px;
    color: var(--cv-color-ink-muted);
    max-width: 600px;
    margin: 0;
}

.m-section__header {
    margin-bottom: 40px;
}

.m-section__header--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.m-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--cv-color-accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.m-link:hover {
    opacity: 0.7;
}

/* --- Expertise Pills --- */
.m-expertise {
    padding: 48px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.m-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.m-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: default;
}

/* ===================================================
   SERVICES — Hizmetlerimiz (Zeo.org Style)
   =================================================== */
.m-services {
    background: #fff;
}

.m-services__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
    gap: 40px;
}

.m-services__header-left {
    flex: 1;
}

.m-services__title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: #0a0a0a;
    margin: 4px 0 16px;
}

.m-services__line {
    width: 48px;
    height: 4px;
    background: #14b8a6;
    border-radius: 2px;
}

.m-services__header-right {
    flex: 1;
    padding-top: 32px;
}

.m-services__desc {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.m-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* --- Service Card --- */
.m-service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.m-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
}

.m-service-card__visual {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-service-card__svg {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.m-service-card__bottom {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.m-service-card__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.m-service-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #0a0a0a;
    margin: 0;
}

.m-service-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.m-service-card__icon--seo {
    background: rgba(20, 184, 166, 0.12);
    color: #14b8a6;
}

.m-service-card__icon--tech {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.m-service-card__icon--ai {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.m-service-card__icon--pr {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.m-service-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* --- Services Responsive --- */
@media (max-width: 1024px) {
    .m-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .m-services__header {
        flex-direction: column;
        gap: 16px;
    }
    .m-services__title {
        font-size: 30px;
    }
    .m-services__header-right {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .m-services__grid {
        grid-template-columns: 1fr;
    }
}


.m-pill:hover {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

/* --- Timeline / Experience --- */
.m-experience {
    background: #fff;
    border-radius: 0;
}

.m-timeline {
    position: relative;
    padding-left: 32px;
}

.m-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2, transparent);
    border-radius: 2px;
}

.m-timeline__item {
    position: relative;
    margin-bottom: 8px;
}

.m-timeline__dot {
    position: absolute;
    left: -28px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #667eea;
    z-index: 2;
    transition: all 0.3s ease;
}

.m-timeline__item.is-open .m-timeline__dot {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.m-timeline__header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: #f9f9fb;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.3s ease;
}

.m-timeline__header:hover {
    background: #f0f0f5;
}

.m-timeline__item.is-open .m-timeline__header {
    background: #fff;
    border-color: rgba(102, 126, 234, 0.15);
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
    border-radius: 4px 20px 0 0;
}

.m-timeline__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 140px;
}

.m-timeline__period {
    font-size: 12px;
    font-weight: 600;
    color: #86868b;
    letter-spacing: 0.02em;
}

.m-timeline__role {
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-block;
    width: fit-content;
}

.m-timeline__company {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 20px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
    flex: 1;
}

.m-timeline__toggle {
    color: #86868b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.m-timeline__item.is-open .m-timeline__toggle {
    transform: rotate(45deg);
    color: #667eea;
}

.m-timeline__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.m-timeline__item.is-open .m-timeline__panel {
    max-height: 600px;
}

.m-timeline__body {
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-top: none;
    border-radius: 0 0 4px 4px;
    font-size: 15px;
    line-height: 1.7;
    color: #3a3a3c;
}

.m-timeline__body p {
    margin: 0 0 12px;
}

.m-timeline__body p:last-child {
    margin-bottom: 0;
}

/* --- Projects Grid --- */
/* === Active Projects — Horizontal Carousel === */
.m-projects {
    background: #f9f9fb;
}

.m-projects__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.m-projects__header-left .m-section__title {
    margin-bottom: 4px;
}

.m-projects__header-left .m-section__desc {
    margin: 0;
}

.m-projects__nav {
    display: flex;
    gap: 8px;
}

.m-projects__arrow {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #e8ecf2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
}

.m-projects__arrow:hover {
    background: #f0f2f5;
    border-color: #cdd3de;
}

.m-projects__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.m-projects__track::-webkit-scrollbar {
    display: none;
}

/* --- Project Card --- */
.m-pcard {
    flex: 0 0 380px;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 28px;
    scroll-snap-align: start;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.m-pcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
}

.m-pcard__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.m-pcard__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.m-pcard__favicon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    flex-shrink: 0;
}

.m-pcard__name {
    font-size: 17px;
    font-weight: 700;
    color: #0a0a0a;
    display: block;
    line-height: 1.3;
}

.m-pcard__subtitle {
    font-size: 13px;
    color: #86868b;
    display: block;
    line-height: 1.3;
}

.m-pcard__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #34c759;
    background: rgba(52, 199, 89, 0.08);
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.m-pcard__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34c759;
    display: inline-block;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.m-pcard__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.m-pcard__metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-pcard__metric-label {
    font-size: 11px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.m-pcard__metric-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.m-pcard__metric-value--up {
    color: #34c759;
}

.m-pcard__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* --- Case Studies --- */
/* === Case Study Cards — Professional === */
.m-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.m-case-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e8ecf2;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

.m-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    border-color: #dde2ea;
    color: inherit;
}

/* Thumbnail */
.m-case-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
}

.m-case-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.m-case-card:hover .m-case-card__img {
    transform: scale(1.04);
}

.m-case-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f5 0%, #e8e8f0 100%);
}

.m-case-card__placeholder span {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 48px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.08);
}

/* Body */
.m-case-card__body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.m-case-card__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.m-case-card__favicon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
}

.m-case-card__tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
}

.m-case-card__title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 20px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.m-case-card__url {
    font-size: 13px;
    color: #9ca3af;
    display: block;
    margin-bottom: 10px;
}

.m-case-card__excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}

.m-case-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0a0a0a;
    transition: color 0.2s, gap 0.3s;
}

.m-case-card:hover .m-case-card__cta {
    color: #6366f1;
    gap: 10px;
}

.m-case-card__cta svg {
    transition: transform 0.3s;
}

.m-case-card:hover .m-case-card__cta svg {
    transform: translateX(3px);
}

/* --- Blog --- */
/* === Blog / Kaynaklar — Zeo Resources tarzı === */
.m-blog {
    background: #f9f9fb;
}

/* Header */
.m-blog-header {
    margin-bottom: 40px;
}

.m-blog-header__eyebrow {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    display: block;
    margin-bottom: 8px;
}

.m-blog-header__title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 36px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 16px;
    line-height: 1.1;
}

.m-blog-header__line {
    width: 50px;
    height: 2px;
    background: #0a0a0a;
    margin-bottom: 16px;
}

.m-blog-header__desc {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.m-blog-header__link {
    color: #0a0a0a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.m-blog-header__link:hover {
    color: #111;
}

/* Card Grid — 4 sütun */
.m-blog-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.m-blog-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

.m-blog-card:hover {
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    transform: translateY(-5px);
    color: inherit;
}

.m-blog-card__content {
    margin-bottom: 24px;
}

.m-blog-card__cat {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    display: block;
    margin-bottom: 10px;
}

.m-blog-card__title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 10px;
    line-height: 1.35;
}

.m-blog-card__excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.m-blog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
    transition: color 0.2s;
}

.m-blog-card__cta svg {
    transition: transform 0.3s;
    width: 16px;
    height: 9px;
}

.m-blog-card:hover .m-blog-card__cta {
    color: #0a0a0a;
    text-decoration: underline;
}

.m-blog-card:hover .m-blog-card__cta svg {
    transform: translateX(4px);
}

/* Alt Banner */
.m-blog-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

.m-blog-banner:hover {
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    transform: translateY(-3px);
    color: inherit;
}

.m-blog-banner__text h4 {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 4px;
}

.m-blog-banner__text p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.m-blog-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0a0a0a;
    white-space: nowrap;
    flex-shrink: 0;
}

.m-blog-banner__cta svg {
    transition: transform 0.3s;
}

.m-blog-banner:hover .m-blog-banner__cta {
    text-decoration: underline;
}

.m-blog-banner:hover .m-blog-banner__cta svg {
    transform: translateX(4px);
}



/* ===================================================
   TESTIMONIALS — Müşteri Geri Bildirimleri (Carousel)
   =================================================== */
.m-testimonials {
    background: #f0f4f8;
    padding: 80px 0;
}

.m-testimonials__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.m-testimonials__top {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.m-testimonials__top-left {
    flex: 1;
}

.m-testimonials__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #0a0a0a;
    margin: 0;
}

.m-testimonials__top-right {
    flex: 1;
    padding-top: 8px;
}

.m-testimonials__desc {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.m-testimonials__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* --- Testimonial Card --- */
.m-testimonial-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
}

.m-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
}

.m-testimonial-card__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.m-testimonial-card__badge-icon {
    display: none;
}

.m-testimonial-card__badge strong {
    color: #0a0a0a;
}

.m-testimonial-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
    flex: 1;
}

.m-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
}

.m-testimonial-card__avatar {
    width: 32px;
    height: 32px;
    border-radius: 0;
    flex-shrink: 0;
    object-fit: contain;
    background: none;
    padding: 0;
    border: none;
}

.m-testimonial-card__author-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.m-testimonial-card__author-info strong {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
}

.m-testimonial-card__author-info span {
    font-size: 13px;
    color: #86868b;
}

/* --- Bottom Nav --- */
.m-testimonials__bottom {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.m-testimonials__nav {
    display: flex;
    gap: 8px;
}

.m-testimonials__arrow {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #e8ecf2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
}

.m-testimonials__arrow:hover {
    background: #f0f2f5;
    border-color: #cdd3de;
}

/* --- Testimonials Responsive --- */
@media (max-width: 768px) {
    .m-testimonials {
        padding: 48px 0;
    }
    .m-testimonials__wrapper {
        padding: 0 20px;
    }
    .m-testimonials__top {
        flex-direction: column;
        gap: 16px;
    }
    .m-testimonials__title {
        font-size: 26px;
    }
    .m-testimonials__track {
        grid-template-columns: 1fr;
    }
}

/* --- CTA Section --- */
.m-cta {
    padding: 80px 0 60px;
}

.m-cta__card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 32px;
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.m-cta__card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.m-cta__content {
    position: relative;
    z-index: 1;
}

.m-cta__content h2 {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.m-cta__content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin: 0;
    line-height: 1.6;
}

.m-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .m-hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .m-hero__right {
        display: flex;
        justify-content: center;
    }
    .m-profile-card {
        max-width: 380px;
        width: 100%;
    }
    .m-pcard {
        flex: 0 0 300px;
    }
    .m-cta__card {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }
    .m-cta__content p {
        max-width: 100%;
    }
    .m-cta__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .m-hero {
        padding: 48px 16px 40px;
    }
    .m-hero__name {
        font-size: 36px;
    }
    .m-hero__stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .m-stat__divider {
        display: none;
    }
    .m-cases__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .m-case-card__title {
        font-size: 18px;
    }
    .m-blog-cards {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .m-blog-banner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .m-timeline {
        padding-left: 24px;
    }
    .m-timeline__header {
        flex-wrap: wrap;
        padding: 16px 20px;
    }
    .m-timeline__meta {
        min-width: auto;
    }
    .m-section {
        padding: 48px 0;
    }
    .m-section__container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .m-blog-cards { grid-template-columns: 1fr; }

    .m-hero__actions {
        flex-direction: column;
    }
    .m-btn {
        width: 100%;
        justify-content: center;
    }
    .m-profile-card {
        padding: 32px 24px;
    }
    .m-cta__card {
        padding: 40px 24px;
    }
}

/* ============================================
   MODERN CASE STUDY STYLES (mcs- prefix)
   ============================================ */

/* --- Hero --- */
.mcs-hero {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 40px 24px 0;
}

.mcs-hero__container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mcs-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #86868b;
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 8px;
}

.mcs-hero__back:hover {
    color: #667eea;
}

.mcs-hero__top {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mcs-hero__client-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px 0 rgba(175, 184, 202, 0.15);
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    width: fit-content;
}

.mcs-hero__client-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: contain;
}

.mcs-hero__title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0a0a0a;
    margin: 0 0 16px;
    max-width: 720px;
}

.mcs-hero__excerpt {
    font-size: 19px;
    line-height: 1.6;
    color: #6e6e73;
    max-width: 640px;
    margin: 0;
}

/* --- Meta Grid --- */
.mcs-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.mcs-meta-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e8ecf2;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
    transition: all 0.3s ease;
}

.mcs-meta-card:hover {
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
    transform: translateY(-2px);
}

.mcs-meta-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0f0f5, #e8e8ed);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #667eea;
}

.mcs-meta-card__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.mcs-meta-card__value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
}

.mcs-meta-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    transition: opacity 0.2s;
}

.mcs-meta-card__link:hover {
    opacity: 0.7;
    color: #667eea;
}

/* --- Hero Image --- */
.mcs-hero__image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    margin-top: 8px;
}

.mcs-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

/* --- Content Sections --- */
.mcs-sections {
    padding: 80px 0;
}

.mcs-sections__container {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mcs-block {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e8ecf2;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.mcs-block:hover {
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

.mcs-block--alt {
    background: #f9f9fb;
}

.mcs-block__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 0;
}

.mcs-block__sidebar {
    padding: 48px 36px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mcs-block__number {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.mcs-block__title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 22px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
    line-height: 1.3;
}

.mcs-block__content {
    padding: 48px 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #3a3a3c;
}

.mcs-block__content p {
    margin: 0 0 16px;
}

.mcs-block__content p:last-child {
    margin-bottom: 0;
}

.mcs-block__content strong {
    color: #0a0a0a;
    font-weight: 600;
}

.mcs-block__content ul,
.mcs-block__content ol {
    margin: 0 0 16px;
    padding-left: 20px;
}

.mcs-block__content li {
    margin-bottom: 8px;
}

.mcs-block__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 24px 0 12px;
}

.mcs-block__content h3:first-child {
    margin-top: 0;
}

/* --- Results Section --- */
.mcs-results {
    padding: 0 0 80px;
}

.mcs-results__container {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px;
}

.mcs-results__card {
    background: #fff;
    border-radius: 4px;
    padding: 48px;
    border: 1px solid #e8ecf2;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

.mcs-section__eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #86868b;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mcs-section__eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mcs-results__body {
    font-size: 16px;
    line-height: 1.8;
    color: #3a3a3c;
}

.mcs-results__body p {
    margin: 0 0 16px;
}

/* --- CTA --- */
.mcs-cta {
    padding: 0 0 80px;
}

.mcs-cta__container {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px;
}

.mcs-cta__card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 32px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mcs-cta__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mcs-cta__card h2 {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.mcs-cta__card p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 32px;
    position: relative;
    z-index: 1;
}

.mcs-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* --- Navigation --- */
.mcs-nav {
    padding: 0 0 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mcs-nav__container {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 40px 24px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.mcs-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e8ecf2;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.mcs-nav__link:hover {
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
    transform: translateY(-2px);
    color: inherit;
}

.mcs-nav__link--next {
    justify-self: end;
    text-align: right;
}

.mcs-nav__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mcs-nav__title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
}

.mcs-nav__link svg {
    color: #c7c7cc;
    flex-shrink: 0;
}

.mcs-nav__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #f5f5f7;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mcs-nav__all:hover {
    background: #e8e8ed;
    color: #1d1d1f;
}

.mcs-nav__all svg {
    color: #86868b;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .mcs-hero {
        padding: 24px 16px 0;
    }

    .mcs-hero__title {
        font-size: 32px;
    }

    .mcs-meta-grid {
        grid-template-columns: 1fr;
    }

    .mcs-block__inner {
        grid-template-columns: 1fr;
    }

    .mcs-block__sidebar {
        padding: 32px 28px 16px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .mcs-block__number {
        font-size: 32px;
    }

    .mcs-block__content {
        padding: 28px;
    }

    .mcs-sections {
        padding: 48px 0;
    }

    .mcs-cta__card {
        padding: 40px 24px;
    }

    .mcs-nav__container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mcs-nav__link--next {
        justify-self: start;
    }

    .mcs-nav__all {
        justify-self: center;
    }

    .mcs-results__card {
        padding: 32px 24px;
    }
}

/* ============================================
   MODERN CASE STUDY ARCHIVE (mca- prefix)
   ============================================ */

/* --- Archive Hero --- */
.mca-hero {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 40px 24px 48px;
}

.mca-hero__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mca-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #86868b;
    text-decoration: none;
    transition: color 0.2s;
    width: fit-content;
}

.mca-hero__back:hover {
    color: #667eea;
}

.mca-hero__intro {
    max-width: 640px;
}

.mca-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #86868b;
    margin-bottom: 12px;
}

.mca-hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.mca-hero__title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0a0a0a;
    margin: 0 0 16px;
}

.mca-hero__desc {
    font-size: 18px;
    line-height: 1.6;
    color: #6e6e73;
    margin: 0;
}

/* Stats */
.mca-hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 32px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e8ecf2;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
    width: fit-content;
}

.mca-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mca-stat__number {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 28px;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}

.mca-stat__label {
    font-size: 13px;
    font-weight: 500;
    color: #86868b;
}

.mca-stat__divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.08);
}

/* --- Filter Pills --- */
.mca-filters {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px 40px;
}

.mca-filters__container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mca-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    background: #fff;
    color: #6e6e73;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mca-filter-pill:hover {
    background: #f0f0f5;
    color: #1d1d1f;
}

.mca-filter-pill.is-active {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

/* --- Card List --- */
.mca-list {
    padding: 0 0 80px;
}

.mca-list__container {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Card - keeping the blog row structure but modernized */
.mca-card {
    display: grid;
    grid-template-columns: 200px 48px 1fr 48px;
    gap: 20px;
    align-items: start;
    padding: 36px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.mca-card:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mca-card:hover {
    background: rgba(255, 255, 255, 0.6);
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 4px;
    border-color: transparent;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

/* Meta Column */
.mca-card__meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 4px;
}

.mca-card__date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #86868b;
    font-weight: 500;
}

.mca-card__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c7c7cc;
}

.mca-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mca-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.06);
}

.mca-card__author-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mca-card__author-label {
    font-size: 11px;
    color: #aeaeb2;
    font-weight: 500;
}

.mca-card__author-name {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

/* Pin Column */
.mca-card__pin {
    display: flex;
    justify-content: center;
    padding-top: 8px;
    position: relative;
}

.mca-card__pin::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: -36px;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.1));
    transform: translateX(-50%);
    z-index: 0;
}

.mca-card:last-child .mca-card__pin::before {
    display: none;
}

.mca-card__pin-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
    overflow: hidden;
}

.mca-card__pin-favicon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
}

/* Content Column */
.mca-card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mca-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mca-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.mca-badge--role {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
}

.mca-badge--year {
    background: #f5f5f7;
    color: #6e6e73;
}

.mca-badge--client {
    background: #e8faf0;
    color: #1b8a3e;
}

.mca-card__title {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 22px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
    line-height: 1.3;
}

.mca-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.mca-card__title a:hover {
    color: #667eea;
}

.mca-card__excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #6e6e73;
    margin: 0;
    max-width: 560px;
}

.mca-card__url {
    font-size: 13px;
    color: #aeaeb2;
    font-weight: 500;
}

/* Arrow Column */
.mca-card__arrow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
}

.mca-card__arrow a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mca-card__arrow a:hover {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
    transform: scale(1.05);
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}

/* --- Empty State --- */
.mca-empty {
    text-align: center;
    padding: 80px 24px;
}

.mca-empty__icon {
    margin-bottom: 24px;
}

.mca-empty h3 {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px;
}

.mca-empty p {
    font-size: 16px;
    color: #86868b;
    margin: 0;
}

/* --- CTA --- */
.mca-cta {
    padding: 0 0 80px;
}

.mca-cta__container {
    max-width: var(--cv-shell-width);
    margin: 0 auto;
    padding: 0 24px;
}

.mca-cta__card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 32px;
    padding: 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mca-cta__card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mca-cta__card h2 {
    font-family: 'DM Sans', var(--cv-font-system);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    position: relative;
}

.mca-cta__card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 28px;
    position: relative;
}

.mca-cta__card .m-btn {
    position: relative;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .mca-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 28px 0;
    }

    .mca-card:hover {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .mca-card__pin {
        display: none;
    }

    .mca-card__meta {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .mca-card__arrow {
        position: absolute;
        top: 28px;
        right: 0;
    }

    .mca-hero__stats {
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
    }

    .mca-stat__divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .m-blog-cards { grid-template-columns: 1fr; }

    .mca-hero {
        padding: 24px 16px 32px;
    }

    .mca-hero__title {
        font-size: 32px;
    }

    .mca-filters {
        padding: 0 16px 32px;
    }

    .mca-list__container {
        padding: 0 16px;
    }

    .mca-card__title {
        font-size: 18px;
    }

    .mca-cta__card {
        padding: 40px 24px;
    }
}

/* Project carousel — responsive */
@media (max-width: 480px) {
    .m-pcard {
        flex: 0 0 280px;
        padding: 20px;
    }
    .m-projects__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .m-pcard__metrics {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

/* ===================================================
   ABOUT (HAKKIMDA) PAGE STYLES
   =================================================== */

/* Hero */
.m-about-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fafafa 0%, #f3f0ff 50%, #eef2ff 100%);
}

.m-about-hero__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
}

.m-about-hero__content .m-section__eyebrow {
    margin-bottom: 16px;
}

.m-about-hero__title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 8px;
    color: #111;
}

.m-about-hero__role {
    font-size: 1.25rem;
    font-weight: 500;
    color: #6366f1;
    margin: 0 0 4px;
}

.m-about-hero__location {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 24px;
}

.m-about-hero__bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 32px;
    max-width: 540px;
}

.m-about-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.m-about-hero__portrait img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 24px 48px rgba(99, 102, 241, 0.12);
}

.m-about-hero__portrait-placeholder {
    width: 380px;
    height: 380px;
    border-radius: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Expertise / Services */
.m-about-expertise {
    background: #fff;
}

.m-pills--center {
    justify-content: center;
    margin-bottom: 48px;
}

.m-about-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.m-about-service-card {
    background: #f9fafb;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.m-about-service-card:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.m-about-service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    margin-bottom: 20px;
}

.m-about-service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.m-about-service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Experience override for about page */
.m-about-experience {
    background: #fafafa;
}

/* Social Links */
.m-about-social {
    background: #fff;
}

.m-about-social__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.m-about-social__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.m-about-social__link:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: #fafafe;
}

.m-about-social__link svg:first-child {
    flex-shrink: 0;
}

.m-about-social__link span {
    flex: 1;
}

.m-about-social__arrow {
    flex-shrink: 0;
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: all 0.2s ease;
}

.m-about-social__link:hover .m-about-social__arrow {
    opacity: 0.5;
    transform: translate(0, 0);
}

/* Case Studies on About page */
.m-about-cases {
    background: #fafafa;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1024px) {
    .m-about-hero__container {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }

    .m-about-hero__title {
        font-size: 2.5rem;
    }

    .m-about-hero__portrait-placeholder {
        width: 320px;
        height: 320px;
        font-size: 4rem;
    }

    .m-about-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .m-about-hero {
        padding: 100px 0 60px;
    }

    .m-about-hero__container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .m-about-hero__content .m-section__eyebrow {
        justify-content: center;
    }

    .m-about-hero__title {
        font-size: 2rem;
    }

    .m-about-hero__bio {
        max-width: 100%;
    }

    .m-about-hero__actions {
        justify-content: center;
    }

    .m-about-hero__portrait {
        order: -1;
    }

    .m-about-hero__portrait img {
        max-width: 240px;
        margin: 0 auto;
        display: block;
    }

    .m-about-hero__portrait-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
        margin: 0 auto;
    }

    .m-about-services {
        grid-template-columns: 1fr;
    }

    .m-about-social__grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   PILLAR PAGE (SEO DANISMANLIGI) STYLES
   =================================================== */

/* Hero */
.m-pillar-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%);
    color: #fff;
    text-align: center;
}

.m-pillar-hero__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.m-pillar-hero__content .m-section__eyebrow {
    color: #a5b4fc;
    margin-bottom: 16px;
    justify-content: center;
}

.m-pillar-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 12px;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.m-pillar-hero__subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #a5b4fc;
    margin: 0 0 20px;
}

.m-pillar-hero__desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #d1d5db;
    margin: 0 0 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.m-pillar-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.m-pillar-hero__stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.m-pillar-hero__stats .m-stat__number {
    color: #fff;
}

.m-pillar-hero__stats .m-stat__label {
    color: #9ca3af;
}

.m-pillar-hero__stats .m-stat__divider {
    background: rgba(255,255,255,0.15);
}

/* Article Content */
.m-pillar-article {
    max-width: 720px;
    margin: 0 auto;
}

.m-pillar-text {
    margin-top: 32px;
}

.m-pillar-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin: 0 0 20px;
}

.m-pillar-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111;
    margin: 32px 0 12px;
}

.m-pillar-text h3:first-of-type {
    margin-top: 24px;
}

/* Why SEO - Reason Cards */
.m-pillar-why {
    background: #fafafa;
}

.m-pillar-reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.m-pillar-reason-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.m-pillar-reason-card:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
}

.m-pillar-reason-card__number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.m-pillar-reason-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.m-pillar-reason-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Services Grid */
.m-pillar-services {
    background: #fff;
}

.m-pillar-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.m-pillar-svc {
    background: #f9fafb;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 32px;
    transition: all 0.3s ease;
}

.m-pillar-svc:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.m-pillar-svc__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    margin-bottom: 20px;
}

.m-pillar-svc h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.m-pillar-svc > p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 16px;
}

.m-pillar-svc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.m-pillar-svc__list li {
    font-size: 0.85rem;
    color: #374151;
    padding: 6px 0 6px 20px;
    position: relative;
}

.m-pillar-svc__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    opacity: 0.5;
}

/* Process Steps */
.m-pillar-process {
    background: #fafafa;
}

.m-pillar-steps {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.m-pillar-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, #8b5cf6, #c084fc);
    border-radius: 1px;
}

.m-pillar-step {
    display: flex;
    gap: 24px;
    padding: 0 0 40px;
    position: relative;
}

.m-pillar-step:last-child {
    padding-bottom: 0;
}

.m-pillar-step__number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.m-pillar-step__content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
    padding-top: 4px;
}

.m-pillar-step__content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* FAQ */
.m-pillar-faq {
    background: #fff;
}

.m-pillar-faq__list {
    max-width: 720px;
    margin: 0 auto;
}

.m-pillar-faq__item {
    border-bottom: 1px solid #e8ecf2;
}

.m-pillar-faq__item:first-child {
    border-top: 1px solid #e8ecf2;
}

.m-pillar-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 500;
    color: #111;
    font-family: inherit;
    transition: color 0.2s;
}

.m-pillar-faq__question:hover {
    color: #6366f1;
}

.m-pillar-faq__question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #9ca3af;
}

.m-pillar-faq__item.is-open .m-pillar-faq__question svg {
    transform: rotate(180deg);
}

.m-pillar-faq__answer {
    padding: 0 0 20px;
}

.m-pillar-faq__answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* Cases on pillar page */
.m-pillar-cases {
    background: #fafafa;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1024px) {
    .m-pillar-reasons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .m-pillar-hero {
        padding: 100px 0 60px;
    }

    .m-pillar-hero__title {
        font-size: 2.2rem;
    }

    .m-pillar-hero__stats {
        flex-direction: column;
        gap: 16px;
    }

    .m-pillar-hero__stats .m-stat__divider {
        display: none;
    }

    .m-pillar-reasons {
        grid-template-columns: 1fr;
    }

    .m-pillar-services-grid {
        grid-template-columns: 1fr;
    }

    .m-pillar-steps::before {
        left: 20px;
    }

    .m-pillar-step__number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===================================================
   CONTACT PAGE V2 - New Sections
   =================================================== */

/* Form Section - Full width (no sidebar) */
.cv-contact-form-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 64px 0;
}

.cv-contact-form-section .cv-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.cv-contact-form-section .cv-section-description {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 8px;
}

/* WhatsApp card icon override */
.cv-contact-card-icon--wa {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #fff !important;
}

.cv-contact-card-icon--wa svg {
    stroke: none;
}

/* What Happens Next */
.cv-contact-next {
    padding: 64px 0;
    border-top: 1px solid #e8ecf2;
}

.cv-contact-next .cv-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.cv-contact-next__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cv-contact-next__step {
    text-align: center;
    padding: 24px 16px;
}

.cv-contact-next__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.cv-contact-next__step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.cv-contact-next__step p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Trust Signals */
.cv-contact-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 40px 0 64px;
    border-top: 1px solid #e8ecf2;
}

.cv-contact-trust__item {
    text-align: center;
}

.cv-contact-trust__item strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    line-height: 1.2;
}

.cv-contact-trust__item span {
    font-size: 0.85rem;
    color: #6b7280;
}

.cv-contact-trust__divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
}

/* Contact page responsive */
@media (max-width: 768px) {
    .cv-contact-next__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cv-contact-trust {
        flex-direction: column;
        gap: 20px;
    }

    .cv-contact-trust__divider {
        width: 40px;
        height: 1px;
    }
}

/* ===================================================
   PILLAR PAGE V2 - New Sections
   =================================================== */

/* Mini CTA Banner */
.m-pillar-mini-cta {
    padding: 0;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.m-pillar-mini-cta__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px;
    flex-wrap: wrap;
}

.m-pillar-mini-cta__inner p {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.m-btn--sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* SEO Types Grid */
.m-pillar-types {
    background: #fff;
}

.m-pillar-types__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.m-pillar-type-card {
    background: #f9fafb;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    padding: 28px 22px;
    transition: all 0.3s ease;
}

.m-pillar-type-card:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.m-pillar-type-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    margin-bottom: 16px;
}

.m-pillar-type-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.m-pillar-type-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Tools Grid */
.m-pillar-tools {
    background: #fafafa;
}

.m-pillar-tools__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.m-pillar-tool {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.m-pillar-tool:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.06);
}

.m-pillar-tool strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.m-pillar-tool span {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Testimonials */
.m-pillar-testimonials {
    background: #fff;
}

.m-pillar-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.m-pillar-testimonial {
    background: #f9fafb;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 32px 24px;
}

.m-pillar-testimonial__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.m-pillar-testimonial blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.m-pillar-testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-pillar-testimonial__author strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

.m-pillar-testimonial__author span {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Pillar V2 responsive */
@media (max-width: 1024px) {
    .m-pillar-types__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-pillar-tools__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-pillar-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .m-pillar-mini-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .m-pillar-types__grid {
        grid-template-columns: 1fr;
    }

    .m-pillar-tools__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-pillar-testimonials__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .m-blog-cards { grid-template-columns: 1fr; }

    .m-pillar-tools__grid {
        grid-template-columns: 1fr;
    }
}


}







/* ===================================================
   PILLAR PAGE V3 - Expanded Content Sections
   =================================================== */

/* Table of Contents */
.m-pillar-toc {
    background: #f8fafc;
    border-bottom: 1px solid #e8ecf2;
}

.m-pillar-toc__inner {
    max-width: 900px;
    margin: 0 auto;
}

.m-pillar-toc__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 20px;
}

.m-pillar-toc__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.m-pillar-toc__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.m-pillar-toc__item:hover {
    background: #eef2ff;
    color: #6366f1;
}

.m-pillar-toc__num {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    min-width: 20px;
}

/* Alternating content sections */
.m-pillar-content--alt {
    background: #f9fafb;
}

/* Article text styles (enhanced for long-form) */
.m-pillar-text ul,
.m-pillar-text ol {
    padding-left: 24px;
    margin: 16px 0;
}

.m-pillar-text ul li,
.m-pillar-text ol li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 8px;
}

.m-pillar-text ol li {
    margin-bottom: 12px;
}

.m-pillar-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    margin: 32px 0 12px;
}

.m-pillar-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.m-pillar-text strong {
    font-weight: 600;
    color: #1f2937;
}

/* Highlight Grid (3 pillars) */
.m-pillar-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.m-pillar-highlight {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 24px 20px;
}

.m-pillar-highlight h4 {
    color: #6366f1;
    margin-bottom: 10px;
}

.m-pillar-highlight p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
}

/* Steps Inline (crawling/indexing/ranking) */
.m-pillar-steps-inline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 24px 0;
}

.m-pillar-step-inline {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.m-pillar-step-inline__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    flex-shrink: 0;
}

.m-pillar-step-inline__content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.m-pillar-step-inline__content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* Testimonials - Author Info (role below name) */




/* Pillar V3 responsive */
@media (max-width: 1024px) {
    .m-pillar-toc__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-pillar-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .m-pillar-toc__grid {
        grid-template-columns: 1fr;
    }

    .m-pillar-highlight-grid {
        grid-template-columns: 1fr;
    }

    .m-pillar-step-inline {
        flex-direction: column;
    }

    .m-pillar-step-inline__icon {
        width: 40px;
        height: 40px;
    }
}

/* ===== ABOUT PAGE V2 STYLES ===== */

/* Stats Section */
.m-about-stats {
    background: var(--color-bg-alt, #f5f5f7);
    padding: 4rem 0;
}
.m-about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.m-about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.m-about-stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary, #0071e3);
    line-height: 1;
}
.m-about-stat__label {
    font-size: 0.9rem;
    color: var(--color-text-secondary, #86868b);
    font-weight: 500;
}

/* Story Section */
.m-about-story {
    padding: 5rem 0;
}
.m-about-story .m-pillar-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary, #424245);
    margin-bottom: 1.5rem;
}
.m-about-story .m-pillar-text h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--color-text, #1d1d1f);
}
.m-about-story .m-pillar-text ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}
.m-about-story .m-pillar-text ul li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-secondary, #424245);
    margin-bottom: 0.75rem;
}

/* Tools Section (about page) */
.m-about-tools {
    background: var(--color-bg-alt, #f5f5f7);
    padding: 5rem 0;
}

/* Services Cards (about page) */
.m-about-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.m-about-service-card {
    background: var(--color-bg, #fff);
    border-radius: 4px;
    padding: 2rem;
    border: 1px solid var(--color-border, #d2d2d7);
    transition: transform 0.2s, box-shadow 0.2s;
}
.m-about-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}
.m-about-service-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt, #f5f5f7);
    border-radius: 12px;
    color: var(--color-primary, #0071e3);
    margin-bottom: 1rem;
}
.m-about-service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text, #1d1d1f);
}
.m-about-service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary, #86868b);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .m-about-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
    .m-about-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .m-about-stat__number {
        font-size: 2rem;
    }
    .m-about-services {
        grid-template-columns: 1fr;
    }
    .m-about-story .m-pillar-text p,
    .m-about-story .m-pillar-text ul li {
        font-size: 1rem;
    }
}

/* ===== FOOTER LEGAL LINKS ===== */
.cv-footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.cv-footer-legal-links a {
    color: var(--color-text-secondary, #86868b);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.cv-footer-legal-links a:hover {
    color: var(--color-primary, #0071e3);
}
.cv-footer-legal-sep {
    color: var(--color-border, #d2d2d7);
    font-size: 0.85rem;
}

/* ================================================
   TEKNIK SEO PAGE STYLES
   ================================================ */

/* Hero variant for Teknik SEO */
.m-pillar-hero--teknik .m-pillar-hero__title {
    font-size: 3.2rem;
}

/* Checklist styling */
.m-checklist {
    counter-reset: checklist;
    list-style: none;
    padding-left: 0;
}
.m-checklist li {
    position: relative;
    padding: 0.75rem 0 0.75rem 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    counter-increment: checklist;
}
.m-checklist li::before {
    content: counter(checklist);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 2rem;
    height: 2rem;
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Metric cards for Core Web Vitals */
.m-highlight-card--metric {
    text-align: center;
}
.m-highlight-card__subtitle {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: -0.5rem;
    margin-bottom: 0.75rem;
}
.m-highlight-card__value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}
.m-highlight-card__value--good {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

/* Compact schema cards */
.m-highlight-card--compact {
    padding: 1rem 1.25rem;
}
.m-highlight-card--compact h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.m-highlight-card--compact p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.7;
}

/* Tool cards */
.m-highlight-card--tool {
    padding: 1.25rem;
    border-left: 3px solid #2dd4bf;
}
.m-highlight-card--tool h4 {
    font-size: 0.95rem;
    color: #2dd4bf;
    margin-bottom: 0.35rem;
}
.m-highlight-card--tool p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.7;
}

/* 4-column grid */
.m-highlight-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .m-highlight-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .m-highlight-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* 2-column grid */
.m-highlight-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
    .m-highlight-grid--2 {
        grid-template-columns: 1fr;
    }
}

/* FAQ Accordion */
.m-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.m-faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}
.m-faq-item__question:hover {
    color: #2dd4bf;
}
.m-faq-item__icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    margin-left: 1rem;
}
.m-faq-item.is-open .m-faq-item__icon {
    transform: rotate(180deg);
}
.m-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.m-faq-item.is-open .m-faq-item__answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}
.m-faq-item__answer p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Mini CTA */
.m-mini-cta {
    padding: 0;
}
.m-mini-cta__inner {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 4px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.m-mini-cta__inner p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}
.m-mini-cta__inner a.m-btn--sm {
    white-space: nowrap;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .m-mini-cta__inner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* WhatsApp CTA section */
.m-pillar-cta {
    text-align: center;
    padding: 4rem 0;
}
.m-pillar-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}
.m-pillar-cta__inner h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.m-pillar-cta__inner p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}
.m-pillar-cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.m-btn--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.m-btn--whatsapp:hover {
    background: #1da851;
}

/* Lead paragraph */
.m-pillar-content__lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    border-left: 3px solid #2dd4bf;
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

/* code inline */
.m-pillar-content code {
    background: rgba(255,255,255,0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
    color: #2dd4bf;
}

/* ================================================
   GLOBAL LINK STYLES (A TAG VISIBILITY FIX)
   ================================================ */

/* Global content links — default black */
.cv-main .m-pillar-content a:not(.m-btn):not(.m-pillar-toc__item),
.cv-main .entry-content a,
.cv-main article a:not(.m-btn),
.single .entry-content a,
.page .entry-content a,
.m-pillar-content__narrow a:not(.m-btn):not(.m-pillar-toc__item) {
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-color: rgba(26, 26, 26, 0.25);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.cv-main .m-pillar-content a:not(.m-btn):not(.m-pillar-toc__item):hover,
.cv-main .entry-content a:hover,
.cv-main article a:not(.m-btn):hover,
.single .entry-content a:hover,
.page .entry-content a:hover,
.m-pillar-content__narrow a:not(.m-btn):not(.m-pillar-toc__item):hover {
    color: #000;
    text-decoration-color: rgba(0, 0, 0, 0.5);
}

/* Blog post single content links — teal */
.cv-entry-content.cv-single-content a:not(.m-btn):not(.m-pillar-toc__item) {
    color: #2dd4bf;
    text-decoration: underline;
    text-decoration-color: rgba(45, 212, 191, 0.3);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.cv-entry-content.cv-single-content a:not(.m-btn):not(.m-pillar-toc__item):hover {
    color: #5eead4;
    text-decoration-color: #5eead4;
}

/* Teknik SEO Page Fixes */

/* Dark FAQ section background */
.m-section.m-pillar-content:has(.m-faq) {
    background: #111827;
    color: #fff;
}

/* Fallback for browsers without :has() support - add class to FAQ section */
.m-faq-dark {
    background: #111827;
    color: #fff;
}

/* Alternating section background (used by page-teknik-seo.php) */
.m-section--alt {
    background: #f0f0f3;
}

/* Fix section text colors - ensure dark text on light backgrounds */
.m-section.m-pillar-content h2,
.m-section.m-pillar-content h3 {
    color: #1d1d1f;
}
.m-section.m-pillar-content p,
.m-section.m-pillar-content li {
    color: #4b5563;
}
.m-section.m-pillar-content .m-section__eyebrow {
    color: #6366f1;
}

/* Override for dark FAQ section */
.m-faq-dark h2,
.m-faq-dark .m-section__eyebrow {
    color: #fff;
}
.m-faq-dark p {
    color: rgba(255,255,255,0.7);
}

/* Teknik SEO hero (inherits from pillar page hero) */
.m-pillar-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    text-align: center;
}

/* CWV metric cards - ensure proper colors */
.m-highlight-card--metric .m-highlight-card__value--good {
    color: #22c55e;
}
.m-highlight-card--metric .m-highlight-card__value--warning {
    color: #eab308;
}
.m-highlight-card--metric .m-highlight-card__value--poor {
    color: #ef4444;
}

/* Highlight card text on light backgrounds */
.m-highlight-card h3 {
    color: #1d1d1f;
}
.m-highlight-card p {
    color: #6b7280;
}

/* Checklist styling */
.m-checklist {
    list-style: none;
    padding: 0;
}
.m-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.6;
}
.m-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

/* Tool cards in Teknik SEO */
.m-highlight-card--tool {
    text-align: center;
    padding: 24px 16px;
}

/* Service cards in Teknik SEO */
.m-highlight-grid--2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 640px) {
    .m-highlight-grid--2 {
        grid-template-columns: 1fr;
    }
}
.m-highlight-grid--4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .m-highlight-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .m-blog-cards { grid-template-columns: 1fr; }

    .m-highlight-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Mini CTA banner */
.m-mini-cta {
    padding: 0;
}
.m-mini-cta .m-pillar-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    padding: 40px;
    text-align: center;
}
.m-mini-cta .m-pillar-cta h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.m-mini-cta .m-pillar-cta p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
}

/* WhatsApp CTA section */
.m-btn--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.m-btn--whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    color: #fff;
}

/* Lead paragraph styling */
.m-pillar-content__lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 2rem;
}
.m-pillar-content__narrow {
    max-width: 780px;
}

/* Inline code styling */
.m-pillar-content code {
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.88em;
    color: #e11d48;
}

/* =============================================
   AI Editörlük Page Styles
   ============================================= */

/* Hero variant for AI page */
.m-pillar-hero--ai {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    position: relative;
    overflow: hidden;
}
.m-pillar-hero--ai::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.m-pillar-hero--ai::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52,211,153,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Comparison Table */
.m-ai-compare {
    margin-top: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.m-ai-compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}
.m-ai-compare__table thead {
    background: #1e1b4b;
    color: #fff;
}
.m-ai-compare__table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.m-ai-compare__table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}
.m-ai-compare__table tbody tr:last-child td {
    border-bottom: none;
}
.m-ai-compare__table tbody tr:hover {
    background: #f9fafb;
}
.m-ai-compare__highlight {
    background: rgba(99,102,241,0.05) !important;
    color: #4338ca !important;
    font-weight: 600;
}
.m-ai-compare__table thead .m-ai-compare__highlight {
    background: rgba(255,255,255,0.15) !important;
    color: #a5b4fc !important;
}

/* Pricing Cards */
.m-ai-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.m-ai-pricing__card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.m-ai-pricing__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
}
.m-ai-pricing__card--featured {
    border: 2px solid #6366f1;
    box-shadow: 0 8px 32px rgba(99,102,241,0.12);
}
.m-ai-pricing__card--featured:hover {
    box-shadow: 0 16px 48px rgba(99,102,241,0.18);
}
.m-ai-pricing__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6366f1;
    background: #eef2ff;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
    align-self: flex-start;
}
.m-ai-pricing__card--featured .m-ai-pricing__badge {
    background: #6366f1;
    color: #fff;
}
.m-ai-pricing__name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1d1d1f;
    margin: 0 0 8px;
}
.m-ai-pricing__desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 20px;
    line-height: 1.5;
}
.m-ai-pricing__old {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-bottom: 4px;
}
.m-ai-pricing__price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 24px;
}
.m-ai-pricing__price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
}
.m-ai-pricing__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.m-ai-pricing__features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.5;
}
.m-ai-pricing__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}
.m-ai-pricing__card .m-btn {
    text-align: center;
    width: 100%;
    justify-content: center;
}

/* Result Cards */
.m-ai-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.m-ai-result-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.m-ai-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px 0 rgba(175, 184, 202, 0.2);
}
.m-ai-result-card__metric {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    padding: 32px 28px;
    text-align: center;
}
.m-ai-result-card__number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #818cf8;
    line-height: 1;
}
.m-ai-result-card__label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}
.m-ai-result-card__body {
    padding: 28px;
}
.m-ai-result-card__body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 12px;
}
.m-ai-result-card__body p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px;
}
.m-ai-result-card__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.m-ai-result-card__body li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: #4b5563;
}
.m-ai-result-card__body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .m-ai-pricing {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .m-ai-results {
        grid-template-columns: 1fr;
    }
    .m-ai-compare__table {
        font-size: 0.8rem;
    }
    .m-ai-compare__table th,
    .m-ai-compare__table td {
        padding: 10px 12px;
    }
    .m-ai-pricing__price {
        font-size: 1.8rem;
    }
}
@media (max-width: 480px) {
    .m-blog-cards { grid-template-columns: 1fr; }

    .m-ai-compare {
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px;
    }
}


/* Navigation Dropdown */
.cv-nav-list {
    position: relative;
}
.cv-nav-list > li {
    position: relative;
}
.cv-nav-list > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    list-style: none;
    padding: 8px 0;
    margin: 8px 0 0;
    min-width: 220px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateX(-50%) translateY(4px);
}
.cv-nav-list > li:hover > .sub-menu,
.cv-nav-list > li:focus-within > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.cv-nav-list > li > .sub-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}
.cv-nav-list .sub-menu li {
    margin: 0;
}
.cv-nav-list .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.cv-nav-list .sub-menu li a:hover {
    background: #f3f4f6;
    color: #6366f1;
}

/* Parent menu item arrow indicator */
.cv-nav-list > li.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.5;
    transition: transform 0.2s;
}
.cv-nav-list > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .cv-nav-list > li > .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f9fafb;
        border-radius: 8px;
        margin: 4px 0;
        padding: 4px 0;
        min-width: auto;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    .cv-nav-list > li:hover > .sub-menu,
    .cv-nav-list > li.is-open > .sub-menu {
        display: block;
    }
    .cv-nav-list .sub-menu li a {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
    .cv-nav-list > li > .sub-menu::before {
        display: none;
    }
}

/* =============================================
   Tanıtım Yazısı Page Styles v3
   ============================================= */

.m-section__container--wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.m-pillar-hero--ty {
    background: linear-gradient(135deg, #0c0a09 0%, #1c1917 50%, #292524 100%);
}
.m-section--ty {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* 4-column grid */
.m-ty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

/* Card */
.m-ty-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: visible;
}
.m-ty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
}
.m-ty-card--featured {
    border: 2px solid #f59e0b;
}
.m-ty-card__badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 999px;
    z-index: 2;
}

.m-ty-card__header {
    padding: 18px 18px 10px;
    border-bottom: 1px solid #f3f4f6;
}
.m-ty-card__domain {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.m-ty-card__domain img {
    border-radius: 4px;
    flex-shrink: 0;
}
.m-ty-card__domain strong {
    font-size: 0.88rem;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.m-ty-card__cat {
    font-size: 0.7rem;
    color: #9ca3af;
    letter-spacing: 0.02em;
}

.m-ty-card__metrics {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    gap: 6px;
}
.m-ty-card__metrics--secondary {
    padding-top: 0;
}
.m-ty-metric {
    text-align: center;
    flex: 1;
    position: relative;
}
.m-ty-metric__label {
    display: block;
    font-size: 0.6rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
    white-space: nowrap;
}
.m-ty-metric__value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1d1d1f;
}
.m-ty-metric__value--dr { color: #f97316; }
.m-ty-metric__value--da { color: #6366f1; }
.m-ty-metric__value--as { color: #ef4444; }
.m-ty-metric__value--sm {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
}

.m-ty-metric--clickable {
    cursor: pointer;
}
.m-ty-metric--clickable .m-ty-metric__label::after {
    content: ' ▾';
    font-size: 0.55rem;
    opacity: 0.5;
}
.m-ty-metric--clickable:hover .m-ty-metric__value--dr {
    color: #ea580c;
}

.m-ty-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
    gap: 6px;
}
.m-ty-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.m-ty-card__link-type {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 999px;
}
.m-ty-card__link-type--dofollow {
    background: #dcfce7;
    color: #16a34a;
}
.m-ty-card__link-type--nofollow {
    background: #fef3c7;
    color: #d97706;
}
.m-ty-card__links {
    font-size: 0.72rem;
    color: #6b7280;
}
.m-ty-card__time {
    font-size: 0.72rem;
    color: #9ca3af;
}
.m-ty-card__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1d1d1f;
}

.m-ty-card__cta {
    display: block;
    text-align: center;
    padding: 11px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    border-top: 1px solid #f3f4f6;
    transition: background 0.15s, color 0.15s;
}
.m-ty-card__cta:hover {
    background: #6366f1;
    color: #fff;
    border-radius: 0 0 14px 14px;
}
.m-ty-card--featured .m-ty-card__cta:hover {
    background: #f59e0b;
}

/* Popup — positioned absolutely via JS, outside cards */
.m-ty-popup {
    display: none;
    position: absolute;
    width: 370px;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 4px;
    box-shadow: 0 20px 48px 0 rgba(175, 184, 202, 0.35);
    padding: 24px;
    z-index: 9999;
    text-align: left;
    cursor: default;
}
.m-ty-popup.is-visible {
    display: block;
}
.m-ty-popup__arrow {
    position: absolute;
    top: -8px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid #e8ecf2;
    border-top: 1px solid #e8ecf2;
    transform: rotate(45deg);
    z-index: 1;
}

.m-ty-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.m-ty-popup__title {
    font-size: 0.72rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.m-ty-popup__badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: #f97316;
    background: #fff7ed;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #fed7aa;
}
.m-ty-popup__big {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1;
}
.m-ty-popup__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 12px;
}
.m-ty-popup__label {
    font-size: 0.68rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}
.m-ty-popup__val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 6px;
}
.m-ty-popup__section {
    margin-bottom: 12px;
}
.m-ty-popup__countries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 6px;
}
.m-ty-popup__country {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.78rem;
    color: #6b7280;
}
.m-ty-popup__pct--active {
    color: #16a34a;
    font-weight: 700;
}
.m-ty-popup__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
}
.m-ty-popup__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.m-ty-popup__icon--ahrefs { background: #f97316; }
.m-ty-popup__icon--moz { background: #3b82f6; }
.m-ty-popup__icon--sw { background: #6366f1; }
.m-ty-popup__icon--sem { background: #ef4444; }

.m-ty-more {
    text-align: center;
    margin-top: 40px;
    padding: 32px;
    background: #f9fafb;
    border-radius: 4px;
}
.m-ty-more p {
    color: #6b7280;
    margin: 0 0 16px;
    font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 1280px) {
    .m-ty-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
    .m-ty-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .m-section__container--wide { padding: 0 16px; }
    .m-ty-grid { grid-template-columns: 1fr; }
    .m-ty-popup { width: 300px; padding: 16px; }
}

/* Tanıtım Yazısı SEO Content - wider narrow */
.m-pillar-content__narrow--wide {
    max-width: 860px;
}

/* ======== SEO Pillar Page v3 — Split Layout + Process Cards + Refs Grid ======== */

/* Split layout */
.m-pillar-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}
.m-pillar-split--reverse {
    direction: rtl;
}
.m-pillar-split--reverse > * {
    direction: ltr;
}
.m-pillar-split__text .m-section__eyebrow {
    margin-bottom: 8px;
}
.m-pillar-split__text .m-section__title {
    margin-bottom: 16px;
    text-align: left;
}
.m-pillar-split__lead {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 12px;
}
.m-pillar-split__text p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}
.m-pillar-split__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.m-pillar-split__visual svg {
    width: 100%;
    max-width: 440px;
    height: auto;
}

@media (max-width: 768px) {
    .m-pillar-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .m-pillar-split--reverse {
        direction: ltr;
    }
    .m-pillar-split__visual {
        order: -1;
    }
    .m-pillar-split__visual svg {
        max-width: 320px;
    }
}

/* Detail cards (below Section 1 split) */
.m-pillar-detail-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.m-pillar-detail-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 24px 20px;
    transition: box-shadow 0.2s;
}
.m-pillar-detail-card:hover {
    box-shadow: 0 12px 24px 0 rgba(175,184,202,0.2);
}
.m-pillar-detail-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.m-pillar-detail-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.m-pillar-detail-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .m-pillar-detail-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .m-pillar-detail-card {
        padding: 18px 14px;
    }
}
@media (max-width: 480px) {
    .m-pillar-detail-cards {
        grid-template-columns: 1fr;
    }
}

/* Three Pillars Cards (Section 2) */
.m-pillar-three-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.m-pillar-three-pillars__card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow 0.2s;
}
.m-pillar-three-pillars__card:hover {
    box-shadow: 0 12px 24px 0 rgba(175,184,202,0.2);
}
.m-pillar-three-pillars__num {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    opacity: 0.8;
}
.m-pillar-three-pillars__card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
}
.m-pillar-three-pillars__card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .m-pillar-three-pillars {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Process Cards v2 */
.m-pillar-process-v2 {
    padding: 64px 0;
    background: #f8fafc;
}
.m-process-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.m-process-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 28px 24px;
    border-top: 3px solid var(--pc-color, #3b82f6);
    transition: box-shadow 0.2s, transform 0.2s;
}
.m-process-card:hover {
    box-shadow: 0 12px 24px 0 rgba(175,184,202,0.2);
    transform: translateY(-2px);
}
.m-process-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.m-process-card__step {
    font-size: 28px;
    font-weight: 800;
    color: var(--pc-color, #3b82f6);
    opacity: 0.7;
}
.m-process-card__header svg {
    color: var(--pc-color, #3b82f6);
    opacity: 0.6;
}
.m-process-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
}
.m-process-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px;
}
.m-process-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.m-process-card ul li {
    font-size: 13px;
    color: #475569;
    padding: 6px 0;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}
.m-process-card ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pc-color, #3b82f6);
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .m-process-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .m-process-cards {
        grid-template-columns: 1fr;
    }
}

/* References Grid (Pillar page testimonials) */
.m-pillar-refs {
    padding: 64px 0;
    background: #f0f4fa;
}
.m-refs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.m-ref-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.m-ref-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}
.m-ref-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.m-ref-card__text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}
.m-ref-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.m-ref-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.m-ref-card__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
.m-ref-card__role {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

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

/* Fix: Hero ghost button white text on dark bg */
.m-pillar-hero .m-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.m-pillar-hero .m-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}


/* ======== Teknik SEO Page v2 — Comprehensive Fix ======== */

/* --- Hero ghost button fix (teknik-seo) --- */
.m-pillar-hero--teknik .m-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.m-pillar-hero--teknik .m-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* --- Teknik SEO CTA banners --- */
.m-ts-cta {
    padding: 24px 0;
}
.m-ts-cta__inner {
    background: #1e293b;
    border-radius: 12px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.m-ts-cta__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.m-ts-cta__text strong {
    font-size: 16px;
    color: #fff;
}
.m-ts-cta__text span {
    font-size: 14px;
    color: #94a3b8;
}
.m-ts-cta__text a {
    color: #60a5fa;
    text-decoration: underline;
}
.m-ts-cta__text a:hover {
    color: #93c5fd;
}
@media (max-width: 768px) {
    .m-ts-cta__inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* --- Core Web Vitals Grid --- */
.m-cwv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0 32px;
}
.m-cwv-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.m-cwv-card:hover {
    box-shadow: 0 12px 24px 0 rgba(175,184,202,0.2);
}
.m-cwv-card__ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}
.m-cwv-card__ring svg {
    width: 80px;
    height: 80px;
}
.m-cwv-card__val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 800;
    color: var(--cwv-color, #22c55e);
}
.m-cwv-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 4px;
}
.m-cwv-card__sub {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}
.m-cwv-card__desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .m-cwv-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .m-cwv-card {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        text-align: left;
        padding: 20px;
        gap: 0 16px;
    }
    .m-cwv-card__ring {
        grid-row: 1 / 3;
        margin: 0;
        align-self: center;
    }
    .m-cwv-card h4 { margin: 0; }
    .m-cwv-card__sub { margin: 0 0 4px; }
    .m-cwv-card__desc { grid-column: 1 / -1; margin-top: 12px; }
}

/* --- Base highlight grid & card (was missing!) --- */
.m-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 28px;
}
.m-highlight-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    padding: 20px;
}
.m-highlight-card__icon {
    font-size: 24px;
    margin-bottom: 10px;
}
.m-highlight-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.m-highlight-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* --- UL/LI fix for teknik-seo narrow content --- */
.m-pillar-content__narrow ul,
.m-pillar-content__narrow ol {
    padding-left: 0;
    margin: 16px 0;
    list-style: none;
}
.m-pillar-content__narrow ul li,
.m-pillar-content__narrow ol.m-checklist li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}
.m-pillar-content__narrow ul li:last-child,
.m-pillar-content__narrow ol.m-checklist li:last-child {
    border-bottom: none;
}
.m-pillar-content__narrow ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
}
.m-pillar-content__narrow ul li strong {
    color: #1e293b;
}

/* Checklist style fix */
.m-pillar-content__narrow ol.m-checklist {
    counter-reset: none;
}
.m-pillar-content__narrow ol.m-checklist li {
    padding-left: 36px;
}
.m-pillar-content__narrow ol.m-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
}
.m-pillar-content__narrow ol.m-checklist li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 18px;
    width: 12px;
    height: 7px;
    border-left: 2px solid #22c55e;
    border-bottom: 2px solid #22c55e;
    transform: rotate(-45deg);
}

/* Ordered list (non-checklist) */
.m-pillar-content__narrow ol:not(.m-checklist) {
    counter-reset: ol-counter;
}
.m-pillar-content__narrow ol:not(.m-checklist) li {
    counter-increment: ol-counter;
    position: relative;
    padding: 10px 0 10px 36px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}
.m-pillar-content__narrow ol:not(.m-checklist) li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Highlight grid modifiers fix */
.m-highlight-grid.m-highlight-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.m-highlight-grid.m-highlight-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}
.m-highlight-grid.m-highlight-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
    .m-highlight-grid {
        grid-template-columns: 1fr !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .m-highlight-grid.m-highlight-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Metric card subtitle fix (was white on light bg) --- */
.m-highlight-card__subtitle {
    color: #94a3b8 !important;
}
.m-highlight-card__value {
    color: #1e293b;
}
.m-highlight-card__value--good {
    color: #22c55e !important;
    background: rgba(34, 197, 94, 0.1);
}

/* --- Tool cards on light bg --- */
.m-highlight-card--tool {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-left: 3px solid #3b82f6;
}
.m-highlight-card--tool h4 {
    color: #1e293b !important;
}
.m-highlight-card--tool p {
    color: #64748b !important;
    opacity: 1 !important;
}

/* --- Section alt bg fix --- */
.m-section--alt .m-highlight-card,
.m-section--alt .m-cwv-card {
    background: #fff;
}


/* === Case Study Detailed Styles === */
.m-cs-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #374151;
  border-left: 4px solid #2563eb;
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.m-cs-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.m-cs-metric-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.m-cs-metric-card--red {
  border-top: 3px solid #ef4444;
}

.m-cs-metric-card--green {
  border-top: 3px solid #22c55e;
}

.m-cs-metric-card__value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.m-cs-metric-card--red .m-cs-metric-card__value {
  color: #dc2626;
}

.m-cs-metric-card--green .m-cs-metric-card__value {
  color: #16a34a;
}

.m-cs-metric-card__before {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.m-cs-metric-card__arrow {
  font-size: 1.2rem;
  color: #22c55e;
  font-weight: 700;
}

.m-cs-metric-card__label {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.m-cs-data-table {
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
}

.m-cs-data-table table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.m-cs-data-table thead {
  background: #1e293b;
  color: #fff;
}

.m-cs-data-table th,
.m-cs-data-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
}

.m-cs-data-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
}

.m-cs-data-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.m-cs-highlight-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}

.m-cs-highlight-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
  margin: 0 0 1rem;
}

.m-cs-highlight-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m-cs-highlight-box ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #374151;
}

.m-cs-highlight-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.m-cs-callout {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.m-cs-callout p {
  margin: 0;
  color: #92400e;
  line-height: 1.7;
}

.m-cs-takeaway-box {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 12px;
  padding: 2rem 2.25rem;
  margin: 2rem 0;
}

.m-cs-takeaway-box h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.m-cs-takeaway-box ol {
  padding-left: 1.25rem;
  margin: 0;
}

.m-cs-takeaway-box ol li {
  margin-bottom: 0.875rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.m-cs-takeaway-box ol li strong {
  color: #fff;
}

/* Case Study Mobile */
@media (max-width: 768px) {
  .m-cs-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .m-cs-metric-card {
    padding: 1rem 0.75rem;
  }
  .m-cs-metric-card__value {
    font-size: 1.3rem;
  }
  .m-cs-highlight-box,
  .m-cs-takeaway-box {
    padding: 1.25rem 1.5rem;
  }
  .m-cs-lead {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .m-cs-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* === Homepage Reference Logos === */
.m-references {
  padding: 2rem 0 0;
  border-bottom: none;
}

.m-ref-logos {
  margin-top: 1.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.m-ref-logos__track {
  display: flex;
  gap: 2rem;
  animation: refScroll 30s linear infinite;
  width: max-content;
}

.m-ref-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  min-width: 140px;
  transition: border-color .2s, box-shadow .2s;
}

.m-ref-logo:hover {
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}

.m-ref-logo__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
}

.m-ref-logo__type {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes refScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .m-ref-logos__track {
    gap: 1rem;
    animation-duration: 20s;
  }
  .m-ref-logo {
    min-width: 120px;
    padding: 0.5rem 1rem;
  }
}