/* =============================================
   PULSE AJANS — Editorial Noir Design System
   Brutalist Typography / Asymmetric Layouts / Deconstructed Grid
   v5.0
   ============================================= */

/* -----------------------------------------------
   1. CSS VARIABLES
   ----------------------------------------------- */
:root {
    --primary: #FF3366;
    --primary-dark: #CC1A47;
    --primary-light: #FF6B8E;
    --primary-rgb: 255, 51, 102;
    --accent: #00D4FF;
    --accent-rgb: 0, 212, 255;

    --bg: #F5F2ED;
    --bg-alt: #EBE7E0;
    --bg-elevated: #FFFFFF;
    --bg-inverse: #0A0A0A;
    --text: #0A0A0A;
    --text-muted: #6B6560;
    --text-light: #9B9590;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --border: rgba(10, 10, 10, 0.12);
    --border-strong: rgba(10, 10, 10, 0.25);

    --success: #00C851;
    --error: #FF4444;
    --warning: #FFBB33;
    --info: #33B5E5;

    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --header-h: 80px;
    --section-py: clamp(80px, 12vw, 160px);
    --container-w: 1400px;
    --container-narrow: 900px;
    --gap: 32px;
    --gutter: clamp(20px, 4vw, 60px);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.5s var(--ease);
    --transition-fast: 0.3s var(--ease);
}

/* -----------------------------------------------
   2. DARK THEME
   ----------------------------------------------- */
[data-theme="dark"] {
    --bg: #0A0A0A;
    --bg-alt: #111111;
    --bg-elevated: #1A1A1A;
    --bg-inverse: #F5F2ED;
    --text: #F0EDE8;
    --text-muted: #9B9590;
    --text-light: #5A5550;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
}

/* -----------------------------------------------
   3. RESET & BASE
   ----------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection {
    background: var(--primary);
    color: #fff;
}

/* -----------------------------------------------
   4. TYPOGRAPHY SYSTEM
   ----------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.t-display-xl {
    font-family: var(--font-display);
    font-size: clamp(56px, 10vw, 140px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.t-display-lg {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 96px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.t-display {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.t-mono {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.t-mono-lg {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Text stroke effect */
.t-stroke {
    -webkit-text-stroke: 1.5px var(--text);
    color: transparent;
}

[data-theme="dark"] .t-stroke {
    -webkit-text-stroke-color: var(--text);
}

.t-stroke-primary {
    -webkit-text-stroke: 2px var(--primary);
    color: transparent;
}

/* -----------------------------------------------
   5. LAYOUT
   ----------------------------------------------- */
.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: var(--section-py) 0;
    position: relative;
}

/* Two-column sticky label layout */
.section-split {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.section-label-col {
    position: sticky;
    top: 120px;
}

/* Section numbering */
.section-index {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-index::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--primary);
}

.section-index span {
    color: var(--primary);
    font-weight: 700;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.section-title em {
    font-style: normal;
    -webkit-text-stroke: 1.5px var(--text);
    color: transparent;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 500px;
    margin-top: 20px;
}

/* Divider line */
.divider {
    width: 100%;
    height: 1px;
    background: var(--border);
}

/* -----------------------------------------------
   6. BUTTONS
   ----------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 32px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:hover {
    color: var(--bg);
    border-color: var(--text);
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary::before {
    background: var(--primary-dark);
}

.btn-primary:hover {
    color: #fff;
    border-color: var(--primary-dark);
}

.btn-white {
    background: #fff;
    border-color: #fff;
    color: var(--black);
}

.btn-white::before {
    background: var(--primary);
}

.btn-white:hover {
    color: #fff;
    border-color: var(--primary);
}

.btn-ghost {
    border-color: transparent;
    padding-left: 0;
}

.btn-ghost::before { display: none; }

.btn-ghost:hover {
    color: var(--primary);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 13px;
}

/* -----------------------------------------------
   7. SCROLL PROGRESS
   ----------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--primary);
    z-index: 10000;
    transition: none;
    transform-origin: left;
    will-change: width;
}

/* -----------------------------------------------
   8. HEADER
   ----------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: all var(--transition);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--gutter);
    right: var(--gutter);
    height: 1px;
    background: var(--border);
    transition: opacity var(--transition);
    opacity: 0;
}

.site-header.scrolled::after {
    opacity: 1;
}

.site-header.scrolled {
    background: rgba(245, 242, 237, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .site-header.scrolled {
    background: rgba(10, 10, 10, 0.9);
}

/* Hero active: header transparent with light text */
.site-header.hero-active {
    mix-blend-mode: difference;
}

.site-header.hero-active .logo-text,
.site-header.hero-active .nav-main a,
.site-header.hero-active .header-cta,
.site-header.hero-active .theme-toggle,
.site-header.hero-active .mobile-toggle span {
    color: #fff;
}

.site-header.hero-active.scrolled {
    mix-blend-mode: normal;
}

.site-header.hero-active.scrolled .logo-text,
.site-header.hero-active.scrolled .nav-main a,
.site-header.hero-active.scrolled .theme-toggle {
    color: var(--text);
}

.header-inner {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text);
    transition: color var(--transition);
}

/* Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-main a {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 20px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-main a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.nav-main a:hover,
.nav-main a.active {
    color: var(--text);
}

.nav-main a.active::after,
.nav-main a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.theme-toggle:hover { color: var(--text); }

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.header-cta {
    font-size: 11px !important;
    padding: 12px 24px !important;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.mobile-toggle span {
    display: block;
    height: 1.5px;
    background: var(--text);
    transition: all var(--transition);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Fullscreen mobile menu */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--gutter);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s var(--ease);
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-overlay nav a {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color var(--transition-fast);
}

.mobile-overlay.open nav a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-overlay.open nav a:nth-child(1) { transition-delay: 0.1s, 0.1s, 0s; }
.mobile-overlay.open nav a:nth-child(2) { transition-delay: 0.15s, 0.15s, 0s; }
.mobile-overlay.open nav a:nth-child(3) { transition-delay: 0.2s, 0.2s, 0s; }
.mobile-overlay.open nav a:nth-child(4) { transition-delay: 0.25s, 0.25s, 0s; }
.mobile-overlay.open nav a:nth-child(5) { transition-delay: 0.3s, 0.3s, 0s; }

.mobile-overlay nav a:hover {
    color: var(--primary);
}

.mobile-overlay nav a .nav-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

/* -----------------------------------------------
   9. HERO
   ----------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: var(--header-h);
    position: relative;
    overflow: hidden;
    background: var(--bg-inverse);
    color: #fff;
}

[data-theme="dark"] .hero {
    background: var(--bg);
    color: var(--text);
}

/* Hero decorative grid lines */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .hero::after {
    background: rgba(255, 255, 255, 0.02);
}

.hero-grid-line {
    position: absolute;
    top: 0;
    right: 25%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.hero-content {
    padding: 0 var(--gutter);
    max-width: var(--container-w);
    margin: 0 auto;
    width: 100%;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Hero overline */
.hero-overline {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-overline::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--primary);
}

[data-theme="dark"] .hero-overline {
    color: var(--text-muted);
}

/* Hero title — massive stacked text */
.hero-title-block {
    margin-bottom: 48px;
}

.hero-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(52px, 11vw, 150px);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.hero-line-stroke {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
    color: transparent;
}

[data-theme="dark"] .hero-line-stroke {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.3);
}

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

/* Second line scaled to match first line width */
.hero-line:nth-child(2) {
    font-size: clamp(36px, 7.5vw, 102px);
}

.hero-line:nth-child(3) {
    padding-left: clamp(20px, 4vw, 70px);
}

/* Hero description + CTA */
.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 60px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 420px;
}

[data-theme="dark"] .hero-desc {
    color: var(--text-muted);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.hero-ctas .btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-ctas .btn::before {
    background: var(--primary);
}

.hero-ctas .btn:hover {
    border-color: var(--primary);
    color: #fff;
}

.hero-ctas .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

/* Hero stats bar */
.hero-stats-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px var(--gutter);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .hero-stats-bar {
    border-color: var(--border);
}

.hero-stats {
    max-width: var(--container-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.hero-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

[data-theme="dark"] .hero-stat-num {
    color: var(--text);
}

.hero-stat-txt {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .hero-stat-txt {
    color: var(--text-muted);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 140px;
    right: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    writing-mode: vertical-rl;
}

[data-theme="dark"] .hero-scroll span {
    color: var(--text-light);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: scrollDown 2s ease-in-out infinite;
}

/* Floating corner year */
.hero-year {
    position: absolute;
    top: calc(var(--header-h) + 40px);
    right: var(--gutter);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.2);
    writing-mode: vertical-rl;
    z-index: 2;
}

[data-theme="dark"] .hero-year {
    color: var(--text-light);
}

/* -----------------------------------------------
   10. MARQUEE TAPE
   ----------------------------------------------- */
.marquee-band {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    background: var(--bg);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
    will-change: transform;
}

.marquee-band:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    padding: 0 24px;
    white-space: nowrap;
}

.marquee-sep {
    color: var(--primary) !important;
    font-size: 24px !important;
    padding: 0 8px !important;
}

/* -----------------------------------------------
   11. SERVICES
   ----------------------------------------------- */
.services-section {
    background: var(--bg);
}

.services-header {
    padding: 0 var(--gutter);
    max-width: var(--container-w);
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: end;
}

.services-header .section-title {
    justify-self: end;
    text-align: right;
}

.service-accordion {
    border-top: 1px solid var(--border);
}

.service-item {
    display: block;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    transition: background var(--transition);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition);
}

.service-item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.service-item:hover {
    background: var(--bg-alt);
}

.service-item-inner {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 36px var(--gutter);
    display: grid;
    grid-template-columns: 60px 1fr 2fr 48px;
    gap: 24px;
    align-items: center;
}

.service-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.service-item:hover .service-num {
    color: var(--primary);
}

.service-name {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: transform var(--transition);
}

.service-item:hover .service-name {
    transform: translateX(8px);
}

.service-brief {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.service-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition);
}

.service-item:hover .service-arrow {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.service-item:hover .service-arrow svg {
    transform: translate(2px, -2px);
}

/* -----------------------------------------------
   12. PORTFOLIO / PROJECTS
   ----------------------------------------------- */
.portfolio-section {
    background: var(--bg-inverse);
    color: #fff;
    overflow: hidden;
}

[data-theme="dark"] .portfolio-section {
    background: var(--bg-alt);
    color: var(--text);
}

.portfolio-header {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.portfolio-header .section-index {
    color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .portfolio-header .section-index {
    color: var(--text-muted);
}

.portfolio-header .section-title {
    color: #fff;
}

[data-theme="dark"] .portfolio-header .section-title {
    color: var(--text);
}

.portfolio-header .section-title em {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .portfolio-header .section-title em {
    -webkit-text-stroke-color: var(--text-muted);
}

/* Portfolio filters */
.portfolio-filters {
    display: flex;
    gap: 4px;
    margin-bottom: 48px;
    padding: 0 var(--gutter);
    max-width: var(--container-w);
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

[data-theme="dark"] .filter-btn {
    border-color: var(--border);
    color: var(--text-muted);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Project showcase - full-width items */
.project-showcase {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

[data-theme="dark"] .project-card {
    color: var(--text);
}

.project-card:nth-child(even) {
    direction: rtl;
}

.project-card:nth-child(even) > * {
    direction: ltr;
}

.project-visual {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.project-card:hover .project-visual img {
    transform: scale(1.05);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

.project-placeholder .material-icons-outlined {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.15);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

[data-theme="dark"] .project-info {
    background: var(--bg-elevated);
    border-color: var(--border);
}

.project-card:nth-child(even) .project-info {
    border-right: none;
}

.project-card:nth-child(odd) .project-info {
    border-left: none;
}

.project-cat {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.project-name {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.project-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 32px;
}

[data-theme="dark"] .project-excerpt {
    color: var(--text-muted);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    transition: gap var(--transition);
}

.project-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.project-card:hover .project-link {
    gap: 20px;
}

.project-card:hover .project-link svg {
    transform: translate(4px, -4px);
}

/* Project card number overlay */
.project-num {
    position: absolute;
    top: 48px;
    right: 48px;
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 800;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    color: transparent;
    line-height: 1;
}

[data-theme="dark"] .project-num {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.05);
}

/* -----------------------------------------------
   13. CLIENTS
   ----------------------------------------------- */
.clients-band {
    padding: 60px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 32px;
}

.clients-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.client-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.client-item img {
    height: 32px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all var(--transition);
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.client-item:hover .client-text {
    color: var(--text);
}

/* -----------------------------------------------
   14. TESTIMONIALS
   ----------------------------------------------- */
.testimonials-section {
    background: var(--bg-alt);
}

.testimonial-layout {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.testimonial-head {
    position: sticky;
    top: 120px;
}

.testimonial-slider {
    position: relative;
    min-height: 300px;
}

.testimonial-big-quote {
    font-family: var(--font-display);
    font-size: 200px;
    font-weight: 800;
    line-height: 0.8;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: -40px;
    left: -20px;
    pointer-events: none;
    z-index: 0;
}

.testimonial-slide {
    display: none;
    position: relative;
    z-index: 1;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.6s var(--ease);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
}

.testimonial-role {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
}

.tst-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    transition: all var(--transition-fast);
}

.tst-btn:hover {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
}

.tst-btn svg {
    width: 18px;
    height: 18px;
}

.tst-counter {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.tst-current {
    color: var(--text);
    font-weight: 700;
}

/* -----------------------------------------------
   15. CTA SECTION
   ----------------------------------------------- */
.cta-section {
    padding: clamp(100px, 15vw, 200px) 0;
    background: var(--bg-inverse);
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

[data-theme="dark"] .cta-section {
    background: var(--bg-alt);
    color: var(--text);
}

/* CTA decorative line grid */
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .cta-section::before {
    background: var(--border);
}

.cta-mega {
    font-family: var(--font-display);
    font-size: clamp(56px, 14vw, 200px);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-mega .cta-stroke {
    display: block;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
    color: transparent;
}

[data-theme="dark"] .cta-mega .cta-stroke {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.2);
}

.cta-mega .cta-fill {
    display: block;
    color: var(--primary);
}

.cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .cta-desc {
    color: var(--text-muted);
}

.cta-section .btn-white {
    position: relative;
    z-index: 1;
}

/* -----------------------------------------------
   16. FOOTER
   ----------------------------------------------- */
.site-footer {
    background: var(--bg-inverse);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .site-footer {
    background: var(--bg-alt);
    color: var(--text-muted);
}

/* Footer decorative mega text */
.footer-deco {
    font-family: var(--font-display);
    font-size: clamp(100px, 20vw, 300px);
    font-weight: 800;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    color: transparent;
    text-transform: uppercase;
    line-height: 0.8;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .footer-deco {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.03);
}

.footer-grid {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: #fff;
}

[data-theme="dark"] .footer-brand .logo-text {
    color: var(--text);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
    max-width: 320px;
}

[data-theme="dark"] .footer-desc {
    color: var(--text-muted);
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

[data-theme="dark"] .contact-socials a {
    border-color: var(--border);
    color: var(--text-muted);
}

.contact-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.contact-socials a .material-icons-outlined {
    font-size: 18px;
}

.footer-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
}

[data-theme="dark"] .footer-title {
    color: var(--text);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

[data-theme="dark"] .footer-links a {
    color: var(--text-muted);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact-item .material-icons-outlined {
    font-size: 18px;
    color: var(--primary);
    margin-top: 2px;
}

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

/* Footer bottom */
.footer-bottom {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 32px var(--gutter);
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .footer-bottom {
    border-color: var(--border);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .footer-copyright {
    color: var(--text-light);
}

#fcreds {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] #fcreds {
    color: var(--text-light);
}

#fcreds a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: underline;
}

[data-theme="dark"] #fcreds a {
    color: var(--text-muted);
}

/* -----------------------------------------------
   17. PAGE HEADER (Inner pages)
   ----------------------------------------------- */
.page-header {
    padding: calc(var(--header-h) + 80px) 0 60px;
    background: var(--bg-inverse);
    color: #fff;
    position: relative;
}

[data-theme="dark"] .page-header {
    background: var(--bg-alt);
    color: var(--text);
}

/* Decorative grid lines */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 75%;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 40px;
}

[data-theme="dark"] .page-breadcrumb {
    color: var(--text-muted);
}

.page-breadcrumb a {
    transition: color var(--transition-fast);
}

.page-breadcrumb a:hover {
    color: var(--primary);
}

.page-breadcrumb .material-icons-outlined {
    font-size: 14px;
}

.page-header-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 0.95;
    max-width: 800px;
}

.page-header-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    max-width: 560px;
    margin-top: 24px;
    line-height: 1.7;
}

[data-theme="dark"] .page-header-desc {
    color: var(--text-muted);
}

/* -----------------------------------------------
   18. SERVICES PAGE (hizmetler.php)
   ----------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--border);
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 48px;
    background: var(--bg);
    position: relative;
    transition: background var(--transition);
}

.service-card:hover {
    background: var(--bg-alt);
}

.service-card-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.service-card-icon {
    font-size: 32px;
    color: var(--text);
    margin-bottom: 20px;
}

.service-card-icon .material-icons-outlined {
    font-size: inherit;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.service-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.service-card-features span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: 24px;
    transition: gap var(--transition);
}

.service-card:hover .service-card-link {
    gap: 14px;
}

.service-card-link svg {
    width: 14px;
    height: 14px;
}

/* -----------------------------------------------
   19. SERVICE DETAIL (hizmet-detay.php)
   ----------------------------------------------- */
.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.service-detail-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.service-detail-text img {
    width: 100%;
    height: auto;
    margin-bottom: 32px;
}

.service-detail-text h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.service-detail-text h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.service-detail-text p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.service-detail-text ul,
.service-detail-text ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.service-detail-text ul {
    list-style: none;
    padding-left: 0;
}

.service-detail-text ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.service-detail-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 1.5px;
    background: var(--primary);
}

.service-detail-text ol {
    list-style: decimal;
}

.service-detail-text ol li {
    padding: 4px 0;
    color: var(--text-muted);
}

.service-detail-text blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-muted);
    background: var(--bg-alt);
}

/* Sidebar */
.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    padding: 32px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
}

.sidebar-widget-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.feature-list {
    display: flex;
    flex-direction: column;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 16px;
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--primary);
}

.other-services-list {
    display: flex;
    flex-direction: column;
}

.other-services-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.other-services-list a:last-child {
    border-bottom: none;
}

.other-services-list a:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* -----------------------------------------------
   20. PORTFOLIO PAGE (projeler.php)
   ----------------------------------------------- */
.portfolio-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
}

.portfolio-page-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
    display: block;
}

.portfolio-page-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.portfolio-page-card .project-visual {
    position: absolute;
    inset: 0;
}

.portfolio-page-card .project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.portfolio-page-card:hover .project-visual img {
    transform: scale(1.08);
}

.portfolio-page-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity var(--transition);
}

.portfolio-page-card:hover .card-overlay {
    opacity: 1;
}

.portfolio-page-card .card-overlay .project-cat {
    color: var(--primary);
}

.portfolio-page-card .card-overlay .project-name {
    color: #fff;
    font-size: 20px;
    margin-bottom: 4px;
}

.portfolio-page-card .card-overlay .project-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.portfolio-page-card .card-overlay .project-link-arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
}

/* -----------------------------------------------
   21. PROJECT DETAIL (proje-detay.php)
   ----------------------------------------------- */
.project-detail-hero {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.project-detail-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 21/9;
    object-fit: cover;
}

/* Project meta info bar */
.section .project-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    margin-bottom: 60px;
}

.project-meta-item {
    padding: 24px 32px;
    border-right: 1px solid var(--border);
}

.project-meta-item:last-child {
    border-right: none;
}

.meta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.meta-value {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
}

/* Project gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.project-gallery-item {
    overflow: hidden;
}

.project-gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.project-gallery-item:hover img {
    transform: scale(1.03);
}

/* -----------------------------------------------
   22. ABOUT PAGE (hakkimizda.php)
   ----------------------------------------------- */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.about-text h2 em {
    font-style: normal;
    -webkit-text-stroke: 1.5px var(--text);
    color: transparent;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-image {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About image decorative border */
.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--primary);
    z-index: -1;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}

.value-card {
    padding: 48px;
    border-right: 1px solid var(--border);
    position: relative;
}

.value-card:last-child {
    border-right: none;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.value-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    background: var(--bg-inverse);
    color: #fff;
}

[data-theme="dark"] .stats-bar {
    background: var(--bg-elevated);
    color: var(--text);
}

.stat-item {
    padding: 48px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

[data-theme="dark"] .stat-item {
    border-color: var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.stat-txt {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .stat-txt {
    color: var(--text-muted);
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
}

.team-card {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.team-photo {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s var(--ease);
}

.team-card:hover .team-photo img {
    filter: grayscale(0%);
}

.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg) 0%, transparent 40%);
    pointer-events: none;
}

.team-info {
    padding: 20px 24px 24px;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.team-info h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.team-info span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

/* -----------------------------------------------
   23. CONTACT PAGE (iletisim.php)
   ----------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.contact-info-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-detail-item:first-child {
    border-top: 1px solid var(--border);
}

.contact-detail-item .material-icons-outlined {
    font-size: 20px;
    color: var(--primary);
    margin-top: 2px;
}

.contact-detail-item .label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.contact-detail-item .value {
    font-size: 15px;
    color: var(--text);
}

.contact-social-links {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}

.contact-social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.contact-social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.contact-social-links a .material-icons-outlined {
    font-size: 18px;
}

/* Contact form */
.contact-form {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 48px;
}

.form-header {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
}

/* -----------------------------------------------
   24. 404 ERROR PAGE
   ----------------------------------------------- */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 60px) var(--gutter) 60px;
    background: var(--bg-inverse);
    color: #fff;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .error-page {
    background: var(--bg);
    color: var(--text);
}

.error-content {
    position: relative;
    z-index: 1;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(120px, 25vw, 300px);
    font-weight: 800;
    line-height: 0.85;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.08);
    color: transparent;
    margin-bottom: 16px;
}

[data-theme="dark"] .error-code {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.05);
}

.error-glitch {
    display: none;
}

.error-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
}

.error-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

[data-theme="dark"] .error-desc {
    color: var(--text-muted);
}

/* -----------------------------------------------
   25. FLASH MESSAGES
   ----------------------------------------------- */
.flash-message {
    padding: 16px 24px;
    margin-bottom: 24px;
    font-size: 14px;
    border-left: 3px solid;
    display: flex;
    align-items: center;
    gap: 12px;
}

.flash-success {
    background: rgba(0, 200, 81, 0.08);
    border-color: var(--success);
    color: var(--success);
}

.flash-error {
    background: rgba(255, 68, 68, 0.08);
    border-color: var(--error);
    color: var(--error);
}

.flash-warning {
    background: rgba(255, 187, 51, 0.08);
    border-color: var(--warning);
    color: var(--warning);
}

/* -----------------------------------------------
   26. SCROLL ANIMATIONS
   ----------------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Clip reveal - for images */
.reveal-clip {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1s var(--ease);
}

.reveal-clip.revealed {
    clip-path: inset(0 0 0 0);
}

/* Line reveal - for horizontal lines */
.reveal-line {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease);
}

.reveal-line.revealed {
    transform: scaleX(1);
}

/* Stagger children */
.stagger-children .reveal-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal-up:nth-child(2) { transition-delay: 0.06s; }
.stagger-children .reveal-up:nth-child(3) { transition-delay: 0.12s; }
.stagger-children .reveal-up:nth-child(4) { transition-delay: 0.18s; }
.stagger-children .reveal-up:nth-child(5) { transition-delay: 0.24s; }
.stagger-children .reveal-up:nth-child(6) { transition-delay: 0.30s; }
.stagger-children .reveal-up:nth-child(7) { transition-delay: 0.36s; }
.stagger-children .reveal-up:nth-child(8) { transition-delay: 0.42s; }

/* -----------------------------------------------
   27. KEYFRAME ANIMATIONS
   ----------------------------------------------- */
@keyframes scrollDown {
    0%   { top: -100%; }
    100% { top: 100%; }
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
    0%   { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

@keyframes lineGrow {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* -----------------------------------------------
   28. RESPONSIVE — 1200px
   ----------------------------------------------- */
@media (max-width: 1200px) {
    .section-split {
        grid-template-columns: 220px 1fr;
        gap: 40px;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-header .section-title {
        justify-self: start;
        text-align: left;
    }

    .service-item-inner {
        grid-template-columns: 50px 1fr 1.5fr 48px;
    }

    .project-card {
        min-height: 420px;
    }

    .project-info {
        padding: 36px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 32px;
    }

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

    .about-intro {
        gap: 48px;
    }
}

/* -----------------------------------------------
   29. RESPONSIVE — 1024px
   ----------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-py: clamp(60px, 10vw, 120px);
    }

    .nav-main {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .section-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-label-col {
        position: static;
    }

    /* Hero */
    .hero-line {
        font-size: clamp(42px, 9vw, 100px);
    }

    .hero-line:nth-child(2),
    .hero-line:nth-child(3) {
        padding-left: 0;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-ctas {
        justify-content: flex-start;
    }

    .hero-scroll {
        display: none;
    }

    .hero-year {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    /* Services */
    .service-item-inner {
        grid-template-columns: 40px 1fr 48px;
    }

    .service-brief {
        display: none;
    }

    /* Portfolio */
    .project-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .project-card:nth-child(even) {
        direction: ltr;
    }

    .project-visual {
        aspect-ratio: 16/10;
    }

    .project-info {
        padding: 32px;
    }

    .project-num {
        display: none;
    }

    /* Testimonials */
    .testimonial-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial-head {
        position: static;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info {
        position: static;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    /* Inner pages */
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-sidebar {
        position: static;
    }

    .section .project-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-page-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        border: none;
    }

    .value-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }

    .value-card:first-child {
        border-top: 1px solid var(--border);
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image::after {
        display: none;
    }
}

/* -----------------------------------------------
   30. RESPONSIVE — 768px
   ----------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --gutter: 20px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding-bottom: 40px;
    }

    .hero-overline {
        margin-bottom: 24px;
    }

    .hero-title-block {
        margin-bottom: 32px;
    }

    .hero-stats-bar {
        padding: 24px var(--gutter);
    }

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

    .hero-stat-num {
        font-size: 28px;
    }

    .marquee-track span {
        font-size: 14px;
        padding: 0 16px;
    }

    .service-item-inner {
        grid-template-columns: 1fr 40px;
        gap: 0;
        padding: 24px var(--gutter);
    }

    .service-num {
        display: none;
    }

    .service-name {
        font-size: 20px;
    }

    .project-info {
        padding: 24px;
    }

    .project-name {
        font-size: 22px;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .portfolio-filters {
        flex-wrap: wrap;
    }

    .testimonial-quote {
        font-size: 20px;
    }

    .testimonial-big-quote {
        font-size: 120px;
    }

    .cta-mega {
        font-size: clamp(48px, 12vw, 120px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .page-header-title {
        font-size: clamp(32px, 5vw, 56px);
    }

    .contact-form {
        padding: 32px 24px;
    }

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

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

    .project-gallery {
        grid-template-columns: 1fr;
    }

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

    .portfolio-page-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-page-card:first-child {
        grid-column: span 1;
    }
}

/* -----------------------------------------------
   31. RESPONSIVE — 480px
   ----------------------------------------------- */
@media (max-width: 480px) {
    .hero-line {
        font-size: clamp(36px, 11vw, 60px);
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .testimonial-nav {
        justify-content: center;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    [data-theme="dark"] .stat-item {
        border-color: var(--border);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

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

    .project-meta-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .project-meta-item:last-child {
        border-bottom: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 32px 24px;
    }

    .value-card {
        padding: 32px 24px;
    }
}

/* -----------------------------------------------
   32. CUSTOM CURSOR
   ----------------------------------------------- */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease);
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.custom-cursor.hovering {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-color: var(--primary);
    mix-blend-mode: normal;
    opacity: 0.3;
}

@media (hover: none) {
    .custom-cursor { display: none; }
}

@media (max-width: 1024px) {
    .custom-cursor { display: none; }
}

/* -----------------------------------------------
   33. UTILITIES
   ----------------------------------------------- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

.hide-mobile { display: block; }
.show-mobile { display: none; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .show-mobile { display: block; }
}

/* Content area for rich text */
.rich-content h2 { font-size: 28px; margin: 40px 0 16px; letter-spacing: -0.02em; }
.rich-content h3 { font-size: 22px; margin: 32px 0 12px; }
.rich-content p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.8; }
.rich-content ul, .rich-content ol { margin-bottom: 16px; padding-left: 24px; }
.rich-content ul { list-style: none; padding-left: 0; }
.rich-content ul li { padding: 6px 0 6px 16px; position: relative; color: var(--text-muted); }
.rich-content ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 5px; height: 1.5px; background: var(--primary); }
.rich-content ol { list-style: decimal; }
.rich-content ol li { padding: 4px 0; color: var(--text-muted); }
.rich-content blockquote { border-left: 3px solid var(--primary); padding: 16px 24px; margin: 24px 0; font-style: italic; color: var(--text-muted); background: var(--bg-alt); }
.rich-content img { width: 100%; height: auto; margin: 24px 0; }
.rich-content a { color: var(--primary); text-decoration: underline; }

/* -----------------------------------------------
   SERVICE DETAIL — Visual Components
   ----------------------------------------------- */

/* Intro text — large lead paragraph */
.svc-intro {
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 48px;
    max-width: 800px;
}

/* Stats row */
.svc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2px;
    margin: 48px 0;
    background: var(--border);
}

.svc-stat {
    background: var(--bg-elevated);
    padding: 32px 24px;
    text-align: center;
}

.svc-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

.svc-stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Card grid */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin: 48px 0;
    background: var(--border);
}

.svc-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.svc-card {
    background: var(--bg-elevated);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition-fast);
}

.svc-card:hover {
    background: var(--bg-alt);
}

.svc-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    margin-bottom: 20px;
    font-size: 22px;
}

.svc-card-icon .material-icons-outlined {
    font-size: 22px;
}

.svc-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.svc-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* Numbered process steps */
.svc-steps {
    margin: 48px 0;
    position: relative;
}

.svc-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-strong);
}

.svc-step {
    display: flex;
    gap: 28px;
    padding: 28px 0;
    position: relative;
}

.svc-step + .svc-step {
    border-top: 1px solid var(--border);
}

.svc-step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-inverse);
    color: var(--bg);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    z-index: 1;
}

[data-theme="dark"] .svc-step-num {
    background: var(--primary);
    color: #fff;
}

.svc-step-body h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.svc-step-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* Highlight banner */
.svc-highlight {
    background: var(--bg-inverse);
    color: #fff;
    padding: 48px 40px;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .svc-highlight {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.svc-highlight::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    opacity: 0.08;
    transform: rotate(45deg);
}

.svc-highlight-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.svc-highlight h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.svc-highlight p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
}

[data-theme="dark"] .svc-highlight p {
    color: var(--text-muted);
}

/* Split layout — text + visual side by side */
.svc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin: 48px 0;
    background: var(--border);
}

.svc-split-text {
    background: var(--bg-elevated);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-split-text h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.svc-split-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.svc-split-text p:last-child {
    margin-bottom: 0;
}

.svc-split-visual {
    background: var(--bg-inverse);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

[data-theme="dark"] .svc-split-visual {
    background: var(--bg-elevated);
}

.svc-split-visual .svc-stat-num {
    font-size: 56px;
}

.svc-split-visual .svc-stat-label {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .svc-split-visual .svc-stat-label {
    color: var(--text-muted);
}

/* Tag/label */
.svc-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Section heading inside service content */
.svc-section-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.svc-section-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 600px;
}

/* Checklist style */
.svc-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.svc-checklist li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.svc-checklist li:last-child {
    border-bottom: 0;
}

.svc-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

/* Quote block */
.svc-quote {
    margin: 48px 0;
    padding: 40px;
    background: var(--bg-alt);
    border-left: 3px solid var(--primary);
    position: relative;
}

.svc-quote::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 32px;
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
}

.svc-quote p {
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

.svc-quote cite {
    display: block;
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Full-width feature banner inside detail */
.svc-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    margin: 48px 0;
    background: var(--primary);
    color: #fff;
}

.svc-banner-item {
    padding: 32px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.svc-banner-item:last-child {
    border-right: 0;
}

.svc-banner-item .material-icons-outlined {
    font-size: 28px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.svc-banner-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.svc-banner-item span {
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-grid--3 { grid-template-columns: 1fr; }
    .svc-split { grid-template-columns: 1fr; }
    .svc-highlight { padding: 32px 24px; }
    .svc-banner { grid-template-columns: repeat(2, 1fr); }
    .svc-banner-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .svc-stats { grid-template-columns: repeat(2, 1fr); }
}
