/* ================================
   Arem Yangın — 02 Base
   CSS Reset + Typography + Root Variables
   ================================ */

/* 1. CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-feature-settings: "ss01", "cv11";
    font-variant-numeric: tabular-nums;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

canvas {
    /* 3D canvas — interaktif, scrollable olmalı */
    touch-action: pan-y;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

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

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
}

/* 2. Root CSS Variables */
:root {
    /* Brand Colors */
    --fire-red:           oklch(0.57 0.235 27);
    --fire-red-hover:     oklch(0.50 0.250 27);
    --fire-red-active:    oklch(0.45 0.260 27);
    --fire-red-soft:      oklch(0.65 0.18 27);
    --fire-red-tint:      oklch(0.96 0.025 27);
    --fire-red-muted:     oklch(0.72 0.12 27);

    /* Ink (Text) */
    --ink-900: oklch(0.22 0.020 270);
    --ink-800: oklch(0.30 0.015 270);
    --ink-700: oklch(0.40 0.012 270);
    --ink-600: oklch(0.52 0.010 270);
    --ink-500: oklch(0.62 0.008 270);
    --ink-400: oklch(0.70 0.006 270);

    /* Surfaces */
    --color-white: oklch(1 0 0);
    --color-paper: oklch(0.99 0 0);
    --color-cloud: oklch(0.97 0.005 270);
    --color-smoke: oklch(0.93 0.006 270);

    /* Status */
    --color-success: oklch(0.62 0.15 145);
    --color-warning: oklch(0.75 0.15 75);
    --color-danger:  oklch(0.57 0.235 27);

    /* Spacing Scale (8px base) */
    --space-1:  0.25rem;  /* 4px  */
    --space-2:  0.5rem;   /* 8px  */
    --space-3:  0.75rem;  /* 12px */
    --space-4:  1rem;     /* 16px */
    --space-5:  1.25rem;  /* 20px */
    --space-6:  1.5rem;   /* 24px */
    --space-8:  2rem;     /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */

    /* Border Radius — premium küçük köşeler */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   8px;   /* was 14 — endüstriyel premium = daha keskin */
    --radius-xl:   12px;  /* sadece büyük surface'ler */
    --radius-full: 9999px; /* yalnızca tag/chip/badge — butonlarda DEĞİL */

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    /* Font Sizes */
    --text-xs:   0.75rem;   /* 12px */
    --text-sm:   0.875rem;  /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg:   1.125rem;  /* 18px */
    --text-xl:   1.25rem;   /* 20px */
    --text-2xl:  1.5rem;    /* 24px */
    --text-3xl:  1.875rem;  /* 30px */
    --text-4xl:  2.25rem;   /* 36px */
    --text-5xl:  3rem;      /* 48px */
    --text-6xl:  3.75rem;   /* 60px */
    --text-hero: clamp(2.75rem, 1.5rem + 5vw, 5rem);

    /* Line Heights */
    --leading-tight:  1.15;
    --leading-snug:   1.35;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;

    /* Letter Spacing */
    --tracking-tight:   -0.04em;
    --tracking-normal:  0em;
    --tracking-wide:    0.04em;
    --tracking-wider:   0.08em;
    --tracking-widest:  0.12em;

    /* Layout */
    --container-max:     1200px;
    --container-wide:     1320px;
    --container-padding:  clamp(1rem, 0.5rem + 2vw, 2rem);
    --section-gap:        clamp(3rem, 1.5rem + 5vw, 5rem);  /* 48-80px — previously 80-144px (reduced for tighter page flow) */
    --header-height:      72px;

    /* Shadows — max 8px blur, ghost card pattern yasak */
    --shadow-sm:   0 1px 2px oklch(0 0 0 / 0.05);
    --shadow-md:   0 2px 6px oklch(0 0 0 / 0.06);
    --shadow-lg:   0 4px 8px oklch(0 0 0 / 0.08);
    --shadow-xl:   0 6px 8px oklch(0 0 0 / 0.10);
    --shadow-fire: 0 2px 8px oklch(0.57 0.235 27 / 0.28);

    /* Z-Index Scale */
    --z-dropdown:     100;
    --z-sticky:       200;
    --z-overlay:      300;
    --z-modal-backdrop: 400;
    --z-modal:        500;
    --z-toast:        600;
    --z-cursor:       700;     /* magnetic cursor — en üstte */
    --z-hero-canvas:  1;       /* hero 3D canvas — content'in altında ama bg'de */

    /* Transitions */
    --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast:  150ms;
    --duration-base:  250ms;
    --duration-slow:  400ms;
    --duration-reveal: 600ms;
    --duration-magnetic: 300ms;
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--ink-900);
    line-height: var(--leading-tight);
    font-weight: var(--font-weight-bold);
    text-wrap: balance;
    font-feature-settings: "ss01", "cv11";
}

/* Display — letter-spacing -0.03em floor, max 5rem */
h1 {
    font-size: clamp(2.75rem, 1.5rem + 5vw, 5rem);
    letter-spacing: -0.03em;
    font-weight: var(--font-weight-black);
}
h2 {
    font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
    letter-spacing: -0.025em;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
}
h3 { font-size: clamp(1.5rem, 1rem + 1.5vw, 1.875rem); letter-spacing: -0.015em; }
h4 { font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem); font-weight: var(--font-weight-semibold); }
h5 { font-size: var(--text-xl); font-weight: var(--font-weight-semibold); }
h6 { font-size: var(--text-lg); font-weight: var(--font-weight-semibold); }

.footer-h4{
    font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem); font-weight: var(--font-weight-bold); 
    color: #d50a0a;             /* Yazı rengini belirler */
    margin-bottom: 10px;        /* Alt boşluk */
    line-height: 1.5;           /* Satır yüksekliği */
    letter-spacing: 0.5px;      /* Harfler arası boşluk */
}



p {
    max-width: 65ch;
    text-wrap: pretty;
}

strong { font-weight: var(--font-weight-semibold); }
em { font-style: italic; }

/* Numeric data — tabular endüstriyel his */
.numeric, [data-counter], strong:has([data-counter]) {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum", "lnum";
}

/* 4. Links */
a {
    color: var(--fire-red);
    transition: color var(--duration-fast) var(--ease-out-quart);
}

a:hover { color: var(--fire-red-hover); }
a:focus-visible {
    outline: 2px solid var(--fire-red);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* 5. Selection */
::selection {
    background-color: var(--fire-red-soft);
    color: var(--ink-900);
}

/* 6. Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-smoke); }
::-webkit-scrollbar-thumb {
    background: var(--ink-500);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-700); }

/* 7. Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.container--wide {
    max-width: var(--container-wide);
}

.section {
    padding-block: var(--section-gap);
}

.section--dark {
    background-color: var(--ink-900);
    color: var(--color-white);
}

.section--tint {
    background-color: var(--fire-red-tint);
}

.section--cloud {
    background-color: var(--color-cloud);
}

/* 8. Reduced Motion — güçlendirilmiş */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    /* GSAP/3D reveal'leri anında göster */
    .reveal, [data-reveal], [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
    /* Hero 3D canvas gizle, poster göster */
    .hero__canvas { display: none !important; }
    .hero__poster { display: block !important; }
    /* Magnetic cursor devre dışı */
    .magnetic-cursor { display: none !important; }
}

/* 9. Print */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .back-to-top { display: none !important; }

    body { color: #000; background: #fff; font-size: 12pt; }
    a { color: #000; }
}
/* ================================
   Arem Yangın — 03 Components
   Buttons, Cards, Forms, Badges, Icons
   ================================ */

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 12px 24px;
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--duration-base) var(--ease-out-quart),
                color var(--duration-base) var(--ease-out-quart),
                border-color var(--duration-base) var(--ease-out-quart),
                transform var(--duration-base) var(--ease-out-quart),
                box-shadow var(--duration-base) var(--ease-out-quart);
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Primary — Fire Red */
.btn--primary {
    background-color: var(--fire-red);
    color: var(--color-white);
    border-color: var(--fire-red);
}
.btn--primary:hover {
    background-color: var(--fire-red-hover);
    border-color: var(--fire-red-hover);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-fire);
}
.btn--primary:active {
    background-color: var(--fire-red-active);
    transform: translateY(0);
}

/* Secondary — Ink outline */
.btn--secondary {
    background-color: transparent;
    color: var(--ink-900);
    border-color: var(--ink-900);
}
.btn--secondary:hover {
    background-color: var(--ink-900);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* Outline white (koyu zeminde) */
.btn--outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn--outline-white:hover {
    background-color: var(--color-white);
    color: var(--ink-900);
}

/* Ghost link */
.btn--ghost {
    background: transparent;
    border-color: transparent;
    color: var(--fire-red);
    padding: 8px 0;
}
.btn--ghost:hover {
    color: var(--fire-red-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Sizes */
.btn--lg {
    font-size: var(--text-lg);
    padding: 16px 32px;
}
.btn--sm {
    font-size: var(--text-sm);
    padding: 8px 16px;
}
.btn--block { display: flex; width: 100%; }

.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== Eyebrow (kısıtlı kullanım) ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--fire-red);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    margin-bottom: var(--space-4);
}
.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background-color: var(--fire-red);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--fire-red-soft); }
.eyebrow--light::before { background-color: var(--fire-red-soft); }

/* ===== Cards ===== */
.card {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: border-color var(--duration-base) var(--ease-out-quart),
                transform var(--duration-base) var(--ease-out-quart),
                box-shadow var(--duration-base) var(--ease-out-quart);
}
.card:hover {
    border-color: var(--fire-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Ürün kartı */
.card--service {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
}
.card--service .card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fire-red-tint);
    border-radius: var(--radius-md);
    color: var(--fire-red);
}
.card--service .card__icon svg { width: 28px; height: 28px; }
.card--service .card__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
}
.card--service .card__text {
    color: var(--ink-700);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    flex-grow: 1;
}
.card--service .card__link {
    margin-top: auto;
    color: var(--fire-red);
    font-weight: var(--font-weight-semibold);
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    transition: gap var(--duration-base) var(--ease-out-quart);
}
.card--service:hover .card__link { gap: 0.75em; }

/* ===== Forms ===== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}
.form-grid .form-field--full { grid-column: 1 / -1; }

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-field label {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-800);
}
.form-field label .required { color: var(--fire-red); }
.form-field .form-hint {
    font-size: var(--text-xs);
    color: var(--ink-500);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--ink-900);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-base) var(--ease-out-quart),
                box-shadow var(--duration-base) var(--ease-out-quart);
    -webkit-appearance: none;
    appearance: none;
}
textarea { min-height: 140px; resize: vertical; line-height: var(--leading-relaxed); }

input::placeholder,
textarea::placeholder {
    color: var(--ink-500);
    opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--fire-red);
    box-shadow: 0 0 0 3px var(--fire-red-tint);
}

input:invalid:not(:placeholder-shown) {
    border-color: var(--fire-red);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23404040' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--ink-700);
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--fire-red);
    flex-shrink: 0;
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.4em;
    padding: 4px 10px;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-sm);
    background-color: var(--fire-red-tint);
    color: var(--fire-red);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}
.badge--solid {
    background-color: var(--fire-red);
    color: var(--color-white);
}
.badge--ink {
    background-color: var(--ink-900);
    color: var(--color-white);
}

/* ===== Section Header (layout: 04-sections.css owns structure) ===== */
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p {
    font-size: var(--text-lg);
    color: var(--ink-600);
    max-width: 60ch;
}
.section-header--center .eyebrow { justify-content: center; }
.section-header--center p { margin-inline: auto; }

/* ===== Divider ===== */
.divider {
    height: 1px;
    background-color: var(--color-smoke);
    border: 0;
    margin-block: var(--section-gap);
}

/* ===== Icon box ===== */
.icon-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}
.icon-box__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fire-red-tint);
    border-radius: var(--radius-md);
    color: var(--fire-red);
}
.icon-box__icon svg { width: 24px; height: 24px; }
.icon-box__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-900);
    margin-bottom: var(--space-2);
}
.icon-box__text { color: var(--ink-600); font-size: var(--text-sm); }

/* ===== Breadcrumb — BEM ol/li semantiği ===== */
.breadcrumb {
    font-size: var(--text-sm);
    color: var(--ink-500);
}
.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--ink-600);
}
.breadcrumb__item::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    flex-shrink: 0;
}
.breadcrumb__item:first-child::before {
    display: none;
}
.breadcrumb__item--current .breadcrumb__current {
    color: var(--ink-800);
    font-weight: var(--font-weight-medium);
}
.breadcrumb__link {
    color: var(--ink-600);
    transition: color var(--duration-fast);
}
.breadcrumb__link:hover { color: var(--fire-red); }
.breadcrumb__current {
    color: var(--ink-800);
    font-weight: var(--font-weight-medium);
}
.breadcrumb__separator {
    color: var(--color-smoke);
    margin-inline: 0.25em;
}

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background-color: var(--fire-red);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--duration-base), visibility var(--duration-base), transform var(--duration-base), background-color var(--duration-base);
    z-index: var(--z-sticky);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background-color: var(--fire-red-hover); }

/* ===== Responsive forms ===== */
@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .btn--block-mobile { width: 100%; }
}/* ================================
   Arem Yangın — 04 Sections
   Header, Hero, About, Services, Projects, Stats, References, Contact, CTA, Footer
   ================================ */

/* ================================
   Site Header
   ================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background-color: oklch(1 0 0 / 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-smoke);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: box-shadow var(--duration-base) var(--ease-out-quart);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    width: 100%;
    height: var(--header-height);
}

/* === Site logosu — Dual variant: header (light) + footer (dark)
   Varsayılan genişlik: 300px max-width (customizer'dan ayarlanabilir)
   Responsive: 768px'te max 200px, 480px'te 160px */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: var(--font-weight-black);
    color: var(--ink-900);
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity var(--duration-base) var(--ease-out-quart);
}
.site-logo:hover { opacity: 0.85; }

.site-logo--header {
    /* Header light version */
    color: var(--ink-900);
}
.site-logo--footer {
    /* Footer dark version — logo rengini değiştirmiyorsa görünür kal */
    color: var(--color-white);
}

.site-logo__image {
    display: block;
    height: auto;
    width: 100%;
    max-width: 300px;          /* Default — customizer'dan değiştirilebilir */
    object-fit: contain;
    border: none;
}

/* Header logo — desktop */
.site-header .site-logo {
    max-width: 200px;
}
.site-header .site-logo__image {
    max-width: 200px;
}

/* Footer logo — biraz daha büyük */
.site-footer .site-logo {
    max-width: 280px;
}
.site-footer .site-logo__image {
    max-width: 280px;
}

/* Responsive: tablet */
@media (max-width: 1024px) {
    .site-header .site-logo,
    .site-header .site-logo__image {
        max-width: 180px;
    }
    .site-footer .site-logo,
    .site-footer .site-logo__image {
        max-width: 240px;
    }
}
/* Responsive: mobile */
@media (max-width: 640px) {
    .site-header .site-logo,
    .site-header .site-logo__image {
        max-width: 140px;
    }
    .site-footer .site-logo,
    .site-footer .site-logo__image {
        max-width: 200px;
    }
}

/* Text-based fallback logo (görsel yoksa) */
.site-logo--text .logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--fire-red);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.site-logo--text .logo-mark svg {
    width: 22px;
    height: 22px;
}
.site-logo--text .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.site-logo--text .logo-text strong {
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.site-logo--text .logo-text .logo-tagline {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fire-red);
    margin-top: 2px;
}
.site-logo--text--footer .logo-text .logo-tagline {
    color: var(--color-white);
}

/* Primary navigation */
.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-menu a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-800);
    border-radius: var(--radius-md);
    transition: background-color var(--duration-fast), color var(--duration-fast);
}
.nav-menu a:hover {
    background-color: var(--color-cloud);
    color: var(--fire-red);
}
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--fire-red);
}
.nav-menu .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-bottom: 2px;
}
.nav-menu .menu-item-has-children {
    position: relative;
}
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    box-shadow: var(--shadow-md);
    display: none;
    z-index: var(--z-dropdown);
}
.nav-menu .menu-item-has-children:hover .sub-menu,
.nav-menu .menu-item-has-children:focus-within .sub-menu { display: flex; }
.nav-menu .sub-menu a {
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}
.nav-menu .sub-menu a:hover { background-color: var(--fire-red-tint); color: var(--fire-red); }

.header-cta-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}
.header-cta-wrap .header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-800);
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
}
.header-cta-wrap .header-phone svg { color: var(--fire-red); width: 16px; height: 16px; }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--ink-800);
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
    .menu-toggle { display: flex; }
    .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: auto;
        width: min(360px, 86vw);
        max-height: calc(100vh - var(--header-height));
        height: auto;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-6);
        box-shadow: -16px 0 32px oklch(0 0 0 / 0.12);
        transform: translateX(100%);
        transition: transform var(--duration-slow) var(--ease-out-quart);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        z-index: var(--z-overlay);
    }
    .site-nav.is-open { transform: translateX(0); }
    .nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav-menu a { padding: 12px 14px; font-size: var(--text-base); }
    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        background-color: var(--color-cloud);
        border-radius: var(--radius-md);
        margin-top: 4px;
    }
    .nav-menu .menu-item-has-children:hover .sub-menu,
    .nav-menu .menu-item-has-children:focus-within .sub-menu { display: flex; }
    .header-cta .header-phone,
    .header-cta .btn { display: none; }
    .mobile-cta { display: flex; flex-direction: column; gap: 12px; margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-smoke); }
}

/* ================================
   Hero Section
   ================================ */
/* About block content (text + actions column) */
.about-block__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.about-block__content h2 { text-wrap: balance; margin: 0; }

/* AreM icon wrapper baseline */
.arem-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    line-height: 0;
}
.arem-icon svg { width: 1em; height: 1em; }

/* Required field marker */
.required {
    color: var(--fire-red);
    font-weight: var(--font-weight-bold);
    margin-left: 2px;
}

/* Header phone + CTA */
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--ink-700);
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
    transition: color var(--duration-base);
}
.header-phone:hover { color: var(--fire-red); }
.header-phone svg { width: 16px; height: 16px; }

/* Header actions (right side: lang + phone + CTA) */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .header-actions .header-phone { display: none; }
    .header-actions .btn { display: none; }
    .header-actions .lang-switcher { display: none; }
}

/* Lang switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-sm);
    background-color: var(--color-white);
}
.lang-switcher__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    color: var(--ink-600);
    border-radius: 2px;
    transition: background-color var(--duration-fast) var(--ease-out-quart),
                color var(--duration-fast) var(--ease-out-quart);
}
.lang-switcher__item:hover {
    color: var(--ink-900);
    background-color: var(--color-cloud);
}
.lang-switcher__item.is-active {
    background-color: var(--ink-900);
    color: var(--color-white);
}

/* Mobile CTA (mobile nav bottom button) */
.mobile-cta {
    display: none;
}
@media (max-width: 1024px) {
    .mobile-cta {
        display: block;
        margin-top: var(--space-6);
    }
}

/* Section header heading (used inside section-header--split) */
.section-header__heading {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.section-header__heading h2 { margin: 0; }

/* Hero actions & dot (top-level fallback) */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}
.dot {
    width: 8px;
    height: 8px;
    background-color: currentColor;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Form row (utility for form layouts) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}
.form-row--full {
    grid-template-columns: 1fr;
}
.form-row:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ESKİ .hero block (338-443) — kullanılmıyor, .hero--3d hero-3d.php'de override.
   Temizlik amacıyla silindi. Eski haline dönmek için git log'dan 338-443 aralığı alınabilir. */

/* ================================
   About (page) section
   ================================ */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}
@media (max-width: 900px) {
    .about-block { grid-template-columns: 1fr; gap: var(--space-10); }
}
.about-block__image {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-cloud);
}
.about-block__image img { width: 100%; height: 100%; object-fit: cover; }
.about-block__image-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 16px 22px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.about-block__image-badge strong {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    color: var(--fire-red);
    line-height: 1;
}
.about-block__image-badge span { font-size: var(--text-sm); color: var(--ink-600); }

.about-block__check-list {
    list-style: none;
    padding: 0;
    margin-block: var(--space-6);
    display: grid;
    gap: var(--space-3);
}
.about-block__check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--ink-700);
}
.about-block__check-list .about-block__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--color-white);
    background-color: var(--fire-red);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.about-block__check-list .about-block__check svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}
.about-block__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

/* Lead text */
.lead-text {
    font-size: var(--text-lg);
    color: var(--ink-600);
    line-height: var(--leading-relaxed);
    max-width: 60ch;
}
.lead {
    font-size: var(--text-lg);
    color: var(--ink-600);
    line-height: var(--leading-relaxed);
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
}

/* Empty states (no inline styles needed) */
.empty-state {
    text-align: center;
    color: var(--ink-600);
    padding-block: var(--space-10);
}
.empty-state h2 { color: var(--ink-900); }
.empty-state__sub {
    color: var(--ink-600);
    margin-top: var(--space-4);
    margin-bottom: 0;
}
.empty-state__action { margin-top: var(--space-6); }
.empty-state-empty {
    text-align: center;
    color: var(--ink-500);
    font-size: var(--text-sm);
    padding-block: var(--space-6);
}

/* Filter pills (project archive) */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

/* Badge variants */
.badge--muted {
    background-color: var(--color-cloud);
    color: var(--ink-700);
    transition: background-color var(--duration-base), color var(--duration-base);
}
.badge--muted:hover {
    background-color: var(--color-smoke);
    color: var(--ink-900);
}
.badge--solid {
    background-color: var(--fire-red);
    color: var(--color-white);
}

/* Page header eyebrow margin override */
.page-header__eyebrow {
    margin-top: var(--space-4);
    display: inline-block;
}

/* Form frame (centered narrow form) */
.form-frame {
    max-width: 800px;
    margin-inline: auto;
}

/* Contact info heading (used on contact page) */
.contact-info__heading {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

/* Map frame (contact page) */
.section--map { padding-top: 0; }
.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-smoke);
    height: 420px;
}

/* ================================
   Entry Content — zengin metin içerik
   (ürün detay, hakkımızda, KVKK — admin panelindeki editörden gelir)
   ================================ */
.entry-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink-700);
}

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content p {
    margin: 0 0 var(--space-5);
    max-width: 70ch;
    text-wrap: pretty;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--ink-900);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
    text-wrap: balance;
}

.entry-content h2 {
    font-size: clamp(1.5rem, 1.15rem + 1.2vw, 1.875rem);
    letter-spacing: -0.015em;
    margin: var(--space-10) 0 var(--space-4);
}

.entry-content h3 {
    font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.5rem);
    letter-spacing: -0.01em;
    margin: var(--space-8) 0 var(--space-3);
}

.entry-content h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin: var(--space-6) 0 var(--space-2);
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 var(--space-5);
    padding-left: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content li {
    line-height: 1.65;
    max-width: 70ch;
}

.entry-content li::marker {
    color: var(--fire-red);
    font-weight: var(--font-weight-semibold);
}

.entry-content strong {
    color: var(--ink-900);
    font-weight: var(--font-weight-semibold);
}

.entry-content a {
    color: var(--fire-red);
    text-decoration: underline;
    text-decoration-color: var(--fire-red-tint);
    text-underline-offset: 2px;
    transition: text-decoration-color var(--duration-fast);
}

.entry-content a:hover {
    text-decoration-color: var(--fire-red);
}

/* Entry content narrow (KVKK) */
.entry-content--narrow {
    max-width: 760px;
    margin-inline: auto;
}

/* About page extras */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}
.value-card h3 { margin-block: var(--space-3) var(--space-2); }
.value-card p { color: var(--ink-600); margin: 0; }
.value-card__icon {
    width: 48px;
    height: 48px;
    background-color: var(--fire-red-tint);
    color: var(--fire-red);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.value-card__icon svg { width: 24px; height: 24px; }

/* Certs grid — iki kullanım:
   1. about page (.cert-grid) — 4-col auto-fill, küçük logolar
   2. page-sertifikalar.php (.cert-page-grid) — 3-col premium card
*/
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-4);
}
.cert-page-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
@media (max-width: 900px) {
    .cert-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .cert-page-grid { grid-template-columns: 1fr; }
}
.cert-item {
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-white);
}
.cert-item img {
    width: 100%;
    aspect-ratio: 1.2;
    object-fit: contain;
    padding: var(--space-4);
}
.cert-item figcaption {
    font-size: var(--text-xs);
    color: var(--ink-600);
    padding: var(--space-2);
    text-align: center;
    border-top: 1px solid var(--color-smoke);
}

/* Sertifikalar sayfası (page-sertifikalar.php) — premium card layout */
.cert-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--duration-base) var(--ease-out-quart),
                transform var(--duration-base) var(--ease-out-quart);
}
.cert-card:hover {
    border-color: var(--ink-900);
    transform: translateY(-2px);
}
.cert-card__image {
    aspect-ratio: 4 / 3;
    background-color: var(--color-cloud);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
}
.cert-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-6);
}
.cert-card__placeholder {
    color: var(--fire-red);
    opacity: 0.5;
}
.cert-card__body {
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid var(--color-smoke);
    text-align: center;
}
.cert-card__title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-900);
    margin-bottom: var(--space-2);
}
.cert-card__desc {
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin: 0;
}

/* About block image (default Unsplash fallback) — already defined at line 344 */

/* Section header — single source of truth */
.section-header {
    max-width: 720px;
    margin-bottom: var(--space-12);
    display: grid;
    gap: var(--space-3);
}
.section-header--center {
    margin-inline: auto;
    text-align: center;
}
.section-header--split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
}
.section-header--split .section-header__heading { max-width: 720px; }
.section-header__link {
    color: var(--fire-red);
    font-weight: var(--font-weight-semibold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--duration-base);
}
.section-header__link:hover { gap: 10px; }
.section-header__link svg { width: 16px; height: 16px; }

/* Form notices */
.kvkk-note {
    font-size: var(--text-sm);
    color: var(--ink-500);
    line-height: var(--leading-relaxed);
    margin-block: var(--space-4);
}
.form-notice {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.form-notice--success {
    color: var(--color-success);
    background: oklch(0.62 0.15 145 / 0.1);
}

.form-notice--error {
    color: var(--color-danger);
    background: oklch(0.57 0.235 27 / 0.1);
}

/* Toast — form-notice JS tarafından buraya taşınır (js.toast-notice ile progressive enhancement) */
.toast-notice {
    position: fixed;
    left: 50%;
    bottom: var(--space-6);
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    max-width: calc(100vw - var(--space-8));
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--ink-900);
    color: var(--color-white);
    box-shadow: 0 12px 32px oklch(0 0 0 / 0.25);
    transform: translate(-50%, calc(100% + var(--space-8)));
    opacity: 0;
    transition: transform var(--duration-slow) var(--ease-out-quart),
                opacity var(--duration-slow) var(--ease-out-quart);
}

.toast-notice.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.toast-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.toast-notice--success .toast-notice__icon { color: var(--color-success); }
.toast-notice--error .toast-notice__icon { color: var(--fire-red); }

.toast-notice__text {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
}

.toast-notice__close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: oklch(1 0 0 / 0.6);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-out-quart);
}

.toast-notice__close:hover { color: var(--color-white); }

@media (max-width: 640px) {
    .toast-notice {
        left: var(--space-4);
        right: var(--space-4);
        transform: translateY(calc(100% + var(--space-8)));
    }
    .toast-notice.is-visible {
        transform: translateY(0);
    }
}

/* ================================
   Services Grid
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}
.services-grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ================================
   Stats Row — kullanılmıyor (Authority Statement embedded stats kullanıyor)
   Geçici olarak comment-out bırakıldı; temizleme için .stats class ref yok.
   ================================ */
/* .stats {
    background-color: var(--ink-900);
    color: var(--color-white);
    padding-block: var(--space-12);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}
.stat { ... } */
/* ---- Bitiş: eski .stats ---- */

/* Trust Band — paragraf bağlamında rakamlar, hero-metric değil */
.trust-band {
    background-color: var(--ink-900);
    color: var(--color-white);
    padding-block: var(--space-12);
}
.trust-band__intro {
    font-size: var(--text-lg);
    color: oklch(1 0 0 / 0.78);
    max-width: 60ch;
    margin: 0 auto var(--space-6);
    text-align: center;
    line-height: var(--leading-relaxed);
}
.trust-band__metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8) var(--space-12);
    font-size: var(--text-base);
    color: oklch(1 0 0 / 0.7);
}
.trust-band__metrics span {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}
.trust-band__metrics strong {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-black);
    color: var(--fire-red);
    letter-spacing: -0.03em;
}
@media (max-width: 640px) {
    .trust-band__metrics {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
        text-align: center;
    }
}

/* ================================
   References (logos)
   ================================ */
.references {
    padding-block: var(--section-gap);
    border-top: 1px solid var(--color-smoke);
    border-bottom: 1px solid var(--color-smoke);
}
.references__title {
    text-align: center;
    color: var(--ink-500);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-8);
}
.references__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-6);
    align-items: center;
}
.references__grid figure {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2;
    padding: var(--space-4);
}
.references__grid img {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    filter: grayscale(1) contrast(0.7);
    opacity: 0.7;
    transition: filter var(--duration-base), opacity var(--duration-base);
}
.references__grid a:hover img { filter: grayscale(0) contrast(1); opacity: 1; }

/* ================================
   Projects
   ================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}
.project {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--color-cloud);
    border: 1px solid var(--color-smoke);
    transition: transform var(--duration-base), box-shadow var(--duration-base);
}
.project:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.project__image { position: absolute; inset: 0; }
.project__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out-quart);
}
.project:hover .project__image img { transform: scale(1.04); }
.project__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, oklch(0.22 0.020 270 / 0.94) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    color: var(--color-white);
}
.project__cat {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--fire-red);
    margin-bottom: var(--space-2);
}
.project__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-2);
}
.project__arrow {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
    background-color: oklch(1 0 0 / 0.12);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: background-color var(--duration-base), transform var(--duration-base);
}
.project:hover .project__arrow { background-color: var(--fire-red); transform: rotate(-45deg); }
.project__arrow svg { width: 18px; height: 18px; }

/* ================================
   CTA Strip
   ================================ */
.cta-strip {
    position: relative;
    background: linear-gradient(135deg, var(--ink-900) 0%, oklch(0.27 0.025 27) 100%);
    color: var(--color-white);
    padding-block: var(--section-gap);
    overflow: hidden;
}
/* Removed decorative radial glow. Solid dark gradient carries the section. */
.cta-strip__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-10);
    align-items: center;
    position: relative;
}
@media (max-width: 768px) { .cta-strip__inner { grid-template-columns: 1fr; } }
.cta-strip h2 { color: var(--color-white); margin-bottom: var(--space-3); }
.cta-strip p { color: oklch(1 0 0 / 0.78); max-width: 56ch; }
.cta-strip__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
@media (max-width: 768px) {
    .cta-strip__actions { justify-content: flex-start; }
}

/* ================================
   Contact Section
   ================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}
.contact-info {
    display: grid;
    gap: var(--space-6);
}
.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-base);
}
.contact-info__item:hover { border-color: var(--fire-red); }
.contact-info__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--fire-red-tint);
    border-radius: var(--radius-md);
    color: var(--fire-red);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__title {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--ink-500);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 4px;
}
.contact-info__value {
    font-size: var(--text-base);
    color: var(--ink-900);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-snug);
}
.contact-info__value a { color: var(--ink-900); }
.contact-info__value a:hover { color: var(--fire-red); }

.contact-form {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
}
.contact-form__title { font-size: var(--text-2xl); font-weight: var(--font-weight-bold); margin-bottom: var(--space-2); }
.contact-form__intro { color: var(--ink-600); margin-bottom: var(--space-6); }

/* ================================
   Process / Steps
   ================================ */
.process-step {
    counter-increment: step;
    padding: var(--space-6);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    position: relative;
}
.process-step__stepper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-3);
}
.process-step__stepper-icon {
    width: 32px;
    height: 32px;
    background-color: var(--fire-red-tint);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fire-red);
}
.process-step__stepper-icon svg { width: 18px; height: 18px; }
.process-step__num {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    color: var(--ink-500);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}
.process-step__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-2);
}
.process-step__text { color: var(--ink-600); font-size: var(--text-sm); line-height: var(--leading-relaxed); }

/* Process layout: intro + vertical numbered list */
.process-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-12);
    align-items: start;
}
@media (max-width: 900px) {
    .process-layout { grid-template-columns: 1fr; gap: var(--space-8); }
}
.process-intro h2 {
    text-wrap: balance;
    margin-bottom: var(--space-4);
}
.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-4);
    counter-reset: step;
}
@media (min-width: 700px) {
    .process-list { gap: var(--space-3); }
}

/* ================================
   FAQ
   ================================ */
.faq {
    max-width: 800px;
    margin-inline: auto;
}
.faq-item {
    border-bottom: 1px solid var(--color-smoke);
    padding-block: var(--space-5);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    cursor: pointer;
    list-style: none;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: var(--fire-red-tint);
    border-radius: var(--radius-full);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23E2231A' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    transition: transform var(--duration-base) var(--ease-out-quart);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__content {
    padding-top: var(--space-4);
    color: var(--ink-600);
    line-height: var(--leading-relaxed);
}

/* ================================
   Testimonials
   ================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}
.testimonial {
    padding: var(--space-6);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
}
.testimonial__quote {
    color: var(--ink-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}
.testimonial__quote::before { content: "“"; color: var(--fire-red); font-size: 2rem; line-height: 1; }
.testimonial__author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial__avatar {
    width: 44px; height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--fire-red-tint);
    color: var(--fire-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
}
.testimonial__name { font-weight: var(--font-weight-semibold); }
.testimonial__role { font-size: var(--text-sm); color: var(--ink-500); }

/* ================================
   Single Service / Project page hero
   ================================ */
.page-header {
    background-color: var(--color-cloud);
    padding-block: var(--space-12);
    border-bottom: 1px solid var(--color-smoke);
}
.page-header h1 {
    font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
    margin-top: var(--space-4);
}
.page-header .container > .eyebrow { margin-bottom: 0; }

.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-12);
    align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Sidebar CTA */
.sidebar-cta {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
    padding: var(--space-6);
    background-color: var(--ink-900);
    color: var(--color-white);
    border-radius: var(--radius-lg);
}
.sidebar-cta h3 { color: var(--color-white); margin-bottom: var(--space-3); font-size: var(--text-lg); }
.sidebar-cta p { color: oklch(1 0 0 / 0.78); font-size: var(--text-sm); margin-bottom: var(--space-5); }
.sidebar-cta__phone { margin-top: var(--space-3); }
.sidebar-cta__action { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid oklch(1 0 0 / 0.12); }
.sidebar-related {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid oklch(1 0 0 / 0.12);
}
.sidebar-related h4 {
    color: oklch(1 0 0 / 0.6);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-3);
    font-weight: var(--font-weight-semibold);
}
.sidebar-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-2);
}
.sidebar-related a {
    color: oklch(1 0 0 / 0.78);
    font-size: var(--text-sm);
    transition: color var(--duration-base);
}
.sidebar-related a:hover { color: var(--color-white); }

/* Page header lead (icon + eyebrow) */
.page-header__lead {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-4);
}
.page-header__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fire-red-tint);
    border-radius: var(--radius-md);
    color: var(--fire-red);
}
.page-header__lead .eyebrow { margin: 0; }

/* Service hero image (figure) */
.service-hero-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
}
.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature list (single service) */
.feature-block { margin-bottom: var(--space-8); }
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0 0;
    display: grid;
    gap: var(--space-3);
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--ink-700);
}
.feature-list__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--color-white);
    background-color: var(--fire-red);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.feature-list__check svg { width: 14px; height: 14px; stroke-width: 3; }

/* Applications block (single service) */
.applications-block {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background-color: var(--fire-red-tint);
    border-radius: var(--radius-lg);
}
.applications-block h3 { color: var(--fire-red); margin-bottom: var(--space-3); }
.applications-block__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.applications-block__tags .badge {
    background-color: var(--color-white);
    color: var(--fire-red);
    font-size: 0.8125rem;
    padding: 6px 12px;
}

/* Project meta (single project) */
.project-meta {
    margin: 0;
    display: grid;
    gap: var(--space-3);
}
.project-meta__row {
    display: grid;
    gap: 2px;
    font-size: var(--text-sm);
}
.project-meta__row dt {
    color: oklch(1 0 0 / 0.6);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: 2px;
}
.project-meta__row dd {
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    margin: 0;
}

/* ================================
   Site Footer
   ================================ */
.site-footer {
    background-color: var(--ink-900);
    color: oklch(1 0 0 / 0.78);
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: oklch(1 0 0 / 0.12);
}

/* Footer certs band */
.footer-certs {
    padding-block: var(--space-10);
    border-bottom: 1px solid oklch(1 0 0 / 0.08);
}
.footer-certs__inner {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}
.footer-certs__label {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    color: oklch(1 0 0 / 0.5);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    flex-shrink: 0;
}
.footer-certs__list {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}
.footer-cert {
    height: 48px;
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity var(--duration-base) var(--ease-out-quart);
}
.footer-cert:hover { opacity: 1; }
.footer-cert img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(2);
}
.footer-cert__name {
    color: oklch(1 0 0 / 0.7);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer > .container--wide {
    padding-block: var(--space-16) var(--space-6);
}
.site-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}
@media (max-width: 900px) { .site-footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 640px) { .site-footer-grid { grid-template-columns: 1fr; } }

.site-footer .site-logo { color: var(--color-white); margin-bottom: var(--space-4); }
.site-footer .site-logo:hover { color: var(--fire-red); }
.footer-tag { color: oklch(1 0 0 / 0.6); font-size: var(--text-sm); margin-bottom: var(--space-5); max-width: 32ch; }

.footer-col h4 {
    color: var(--color-white);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-4);
}
.footer-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.footer-menu a {
    color: oklch(1 0 0 / 0.7);
    font-size: var(--text-sm);
    transition: color var(--duration-fast), padding-left var(--duration-fast);
}
.footer-menu a:hover { color: var(--fire-red); padding-left: 4px; }

.footer-contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.footer-contact-list li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--text-sm); }
.footer-contact-list svg { width: 16px; height: 16px; color: var(--fire-red); flex-shrink: 0; margin-top: 4px; }
.footer-contact-list a { color: oklch(1 0 0 / 0.7); }
.footer-contact-list a:hover { color: var(--fire-red); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid oklch(1 0 0 / 0.12);
    font-size: var(--text-xs);
    color: oklch(1 0 0 / 0.5);
}
.footer-bottom a { color: oklch(1 0 0 / 0.6); }
.footer-bottom a:hover { color: var(--fire-red); }

/* ================================
   Reveal animation utility (motion-gated)
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--duration-reveal) var(--ease-out-quart),
                transform var(--duration-reveal) var(--ease-out-quart);
}
.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================================
   Project extras
   ================================ */
.project__placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-cloud);
}
.project__client {
    font-size: var(--text-sm);
    color: oklch(1 0 0 / 0.72);
    margin: 0;
}

/* ================================
   Post card (archive/index)
   ================================ */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}
.post-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--duration-base) var(--ease-out-quart), border-color var(--duration-base);
}
.post-card:hover {
    transform: translateY(-2px);
    border-color: var(--fire-red);
}
.post-card__image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: var(--space-3);
}
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { margin-bottom: var(--space-3); margin-left: var(--space-5); }
.post-card__title { font-size: var(--text-xl); margin: 0 0 var(--space-2); padding: 0 var(--space-5); }
.post-card__title a { color: var(--ink-900); }
.post-card__title a:hover { color: var(--fire-red); }
.post-card__excerpt {
    color: var(--ink-600);
    margin: 0 0 var(--space-4);
    padding: 0 var(--space-5);
}
.post-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-3) var(--space-5) var(--space-5);
    color: var(--fire-red);
    font-weight: var(--font-weight-semibold);
}
.post-card__link svg { width: 14px; height: 14px; }

/* ================================
   Post meta (single post)
   ================================ */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    color: var(--ink-500);
    font-size: var(--text-sm);
    margin-top: var(--space-4);
    margin-bottom: var(--space-3);
}
.post-tags {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-smoke);
}
.sidebar-cta__label {
    font-size: var(--text-sm);
    color: oklch(1 0 0 / 0.6);
    margin: 0 0 var(--space-2);
}
.sidebar-cta__phone-link {
    color: var(--color-white);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
}

/* ================================
   Search results & form
   ================================ */
.search-form--inline {
    margin-bottom: var(--space-12);
}
.search-query {
    color: var(--fire-red);
    font-weight: var(--font-weight-semibold);
}
.search-results {
    display: grid;
    gap: var(--space-6);
}
.search-result {
    padding: var(--space-6);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    transition: border-color var(--duration-base);
}
.search-result:hover { border-color: var(--fire-red); }
.search-result__type {
    margin-bottom: var(--space-3);
    display: inline-block;
}
.search-result__title {
    margin-bottom: var(--space-2);
    font-size: var(--text-xl);
}
.search-result__title a { color: var(--ink-900); }
.search-result__excerpt {
    color: var(--ink-600);
    margin: 0 0 var(--space-4);
}
.search-result__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fire-red);
    font-weight: var(--font-weight-semibold);
}

/* ================================
   404 page
   ================================ */
.section--hero {
    padding-block: var(--section-gap);
    text-align: center;
    background: linear-gradient(180deg, var(--color-cloud) 0%, var(--color-white) 100%);
}
.error-page { max-width: 600px; margin-inline: auto; }
.error-page__code {
    display: block;
    font-size: clamp(6rem, 4rem + 8vw, 9rem);
    font-weight: var(--font-weight-black);
    color: var(--fire-red);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-2);
}
.error-page__title { margin-bottom: var(--space-4); }
.error-page__text {
    color: var(--ink-600);
    margin-bottom: var(--space-8);
    font-size: var(--text-lg);
}
.error-page__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

/* ================================
   Footer socials
   ================================ */
.footer-socials {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-4);
}
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: oklch(1 0 0 / 0.06);
    border-radius: 6px;
    color: oklch(1 0 0 / 0.7);
    transition: background-color var(--duration-base), color var(--duration-base);
}
.footer-social:hover {
    background-color: var(--fire-red);
    color: var(--color-white);
}

/* ================================
   PREMIUM REFACTOR — 2.0
   Trust Strip, Authority, Services Bento, Process Timeline,
   Capabilities, Testimonials, CTA Strip, Contact, Hero 3D
   ================================ */

/* ----- Section base variants ----- */
.section--light { background-color: var(--color-white); }
.section--light--alt { background-color: oklch(0.98 0 0); }

/* ================================
   HERO 3D
   ================================ */
.hero--3d {
    position: relative;
    min-height: clamp(520px, 72vh, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--ink-900);
    isolation: isolate;
}
.hero__canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        oklch(0.22 0.020 270 / 0.6) 0%,
        oklch(0.22 0.020 270 / 0.45) 50%,
        oklch(0.22 0.020 270 / 0.85) 100%
    );
    z-index: 2;
}
.hero__content {
    position: relative;
    z-index: 3;
    color: var(--color-white);
    max-width: 760px;
    padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 8px 16px;
    border: 1px solid oklch(1 0 0 / 0.2);
    background-color: oklch(1 0 0 / 0.06);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-8);
}
.hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    background-color: var(--fire-red);
    border-radius: 50%;
    animation: pulse 2s var(--ease-in-out) infinite;
}
.hero__title {
    color: var(--color-white);
    margin-bottom: var(--space-6);
    text-wrap: balance;
}
.hero__title .highlight {
    color: var(--fire-red);
}
.hero__subtitle {
    font-size: var(--text-xl);
    color: oklch(1 0 0 / 0.85);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-10);
    max-width: 580px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}
.hero__credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6) var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid oklch(1 0 0 / 0.16);
    color: oklch(1 0 0 / 0.85);
}
.hero__credentials li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}
.hero__credentials svg {
    color: var(--fire-red);
    flex-shrink: 0;
}

/* Ghost-light button (koyu zemin) */
.btn--ghost-light {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid oklch(1 0 0 / 0.3);
}
.btn--ghost-light:hover {
    background-color: oklch(1 0 0 / 0.1);
    color: var(--color-white);
    border-color: oklch(1 0 0 / 0.5);
}

/* Ghost-dark button (açık zemin) */
.btn--ghost-dark {
    background-color: transparent;
    color: var(--ink-900);
    border: 1px solid var(--ink-900);
}
.btn--ghost-dark:hover {
    background-color: var(--ink-900);
    color: var(--color-white);
}

/* ================================
   TRUST STRIP (marquee)
   ================================ */
.trust-strip {
    background-color: var(--ink-900);
    color: oklch(1 0 0 / 0.7);
    padding-block: var(--space-4);
    border-bottom: 1px solid oklch(1 0 0 / 0.08);
    overflow: hidden;
}
.trust-strip__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: oklch(1 0 0 / 0.7);
}
.trust-strip__item svg {
    color: var(--fire-red);
}

/* ================================
   AUTHORITY STATEMENT
   ================================ */
.authority .eyebrow { color: var(--fire-red); }
.authority__title {
    font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem);
    font-weight: var(--font-weight-black);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: var(--space-6);
    color: var(--ink-900);
}
.authority__title-accent {
    color: var(--fire-red);
    display: block;
}
.authority__lead-text {
    font-size: var(--text-lg);
    color: var(--ink-600);
    margin-bottom: var(--space-10);
    max-width: 60ch;
}
.authority__embedded-stats {
    display: flex;
    gap: var(--space-12);
    padding-block: var(--space-8);
    border-top: 1px solid var(--color-smoke);
    border-bottom: 1px solid var(--color-smoke);
    margin-bottom: var(--space-8);
}
.authority__stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.authority__stat-num {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-black);
    color: var(--ink-900);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.authority__stat-label {
    font-size: var(--text-sm);
    color: var(--ink-600);
    font-weight: var(--font-weight-medium);
}
.authority__visual {
    position: relative;
}
.authority__image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin: 0;
}
.authority__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.authority__badge {
    position: absolute;
    top: var(--space-6);
    left: var(--space-6);
    background-color: var(--color-white);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 140px;
}
.authority__badge-num {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-black);
    color: var(--fire-red);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin: 0;
}
.authority__badge-text {
    font-size: var(--text-sm);
    color: var(--ink-600);
    margin-top: var(--space-2);
    font-weight: var(--font-weight-medium);
}
.authority__check-list {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.authority__check-list li {
    display: inline-flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--ink-700);
}
.authority__check-list svg {
    color: var(--fire-red);
    flex-shrink: 0;
    margin-top: 4px;
}

/* ================================
   SERVICES BENTO
   ================================ */
.bento-item--service {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.bento-item--service .bento-item__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.bento-item--service .bento-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms var(--ease-out-quart);
}
.bento-item--service:hover .bento-item__image img {
    transform: scale(1.05);
}
.bento-item--service .bento-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, oklch(0 0 0 / 0.45) 100%);
}
.bento-item--hero .bento-item__content,
.bento-item--lg .bento-item__content {
    padding: var(--space-6) var(--space-8);
}
.bento-item--md .bento-item__content {
    padding: var(--space-6);
}
.bento-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--fire-red-tint);
    color: var(--fire-red);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-5);
}
.bento-item__title {
    font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-3);
}
.bento-item__text {
    color: var(--ink-600);
    margin-bottom: var(--space-5);
    font-size: var(--text-base);
}
.bento-item__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-weight-semibold);
    color: var(--fire-red);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: gap var(--duration-base) var(--ease-out-quart);
}
.bento-item__link:hover {
    gap: var(--space-3);
}

/* ================================
   PROCESS TIMELINE
   ================================ */
.process-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}
@media (max-width: 900px) {
    .process-layout { grid-template-columns: 1fr; gap: var(--space-10); }
}
.process-intro {
    position: sticky;
    top: var(--space-16);
}
@media (max-width: 900px) {
    .process-intro { position: static; }
}
.process-step__title {
    font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-3);
}
.process-step__text {
    color: var(--ink-600);
    max-width: 50ch;
}
.process-timeline__num {
    position: absolute;
    left: -64px;
    top: 56px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--fire-red);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

/* ================================
   CAPABILITIES DARK
   ================================ */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}
@media (max-width: 1024px) { .capabilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .capabilities-grid { grid-template-columns: 1fr; } }
.capability__icon {
    color: var(--fire-red);
    margin-bottom: var(--space-4);
}
.capability__title {
    color: var(--color-white);
    font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-3);
}
.capability__text {
    color: oklch(1 0 0 / 0.65);
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}
.capability__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid oklch(1 0 0 / 0.08);
}
.capability__items li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: oklch(1 0 0 / 0.7);
}
.capability__items svg { color: var(--fire-red); flex-shrink: 0; }

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-6);
    grid-auto-rows: minmax(220px, auto);
}
@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .testimonial--featured { grid-column: span 2; }
}
@media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial--featured { grid-column: span 1; }
}
.testimonial__quote-icon {
    color: var(--fire-red);
    margin-bottom: var(--space-4);
    opacity: 0.3;
}

/* ================================
   CTA STRIP
   ================================ */
.cta-strip {
    background-color: var(--ink-900);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding-block: var(--section-gap);
}
.cta-strip__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, oklch(0.57 0.235 27 / 0.18), transparent 60%),
        radial-gradient(ellipse at bottom left, oklch(0.22 0.020 270 / 0.6), transparent 60%);
}
.cta-strip__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: var(--space-10);
    align-items: center;
}
@media (max-width: 900px) {
    .cta-strip__inner { grid-template-columns: 1fr; }
}
.cta-strip__title {
    color: var(--color-white);
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    letter-spacing: -0.025em;
    margin-bottom: var(--space-4);
}
.cta-strip__text p {
    color: oklch(1 0 0 / 0.75);
    font-size: var(--text-lg);
    max-width: 60ch;
}
.cta-strip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

/* ================================
   CONTACT (sticky form layout)
   ================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
}
.contact-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-8);
    margin-top: var(--space-10);
}
@media (max-width: 640px) {
    .contact-info__grid { grid-template-columns: 1fr; }
}
.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-base);
}
.contact-info__item:hover { border-color: var(--ink-900); }
.contact-info__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fire-red-tint);
    color: var(--fire-red);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.contact-info__title {
    font-size: var(--text-sm);
    color: var(--ink-600);
    font-weight: var(--font-weight-medium);
    margin-bottom: 4px;
}
.contact-info__value {
    font-size: var(--text-base);
    color: var(--ink-900);
    font-weight: var(--font-weight-semibold);
}
.contact-info__value a:hover { color: var(--fire-red); }

.contact-form {
    position: sticky;
    top: var(--space-12);
    background-color: var(--color-white);
    padding: var(--space-10);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
@media (max-width: 900px) { .contact-form { position: static; padding: var(--space-6); } }
.contact-form__title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-2);
}
.contact-form__intro {
    color: var(--ink-600);
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

/* ================================
   PROJECTS GRID (filter-aware)
   ================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-6);
}
.projects-grid .bento-item--hero {
    grid-column: span 8;
}
.projects-grid .bento-item--md {
    grid-column: span 4;
}
@media (max-width: 1024px) {
    .projects-grid .bento-item--hero,
    .projects-grid .bento-item--md {
        grid-column: span 12;
    }
}
.project-card {
    transition: opacity var(--duration-base);
}
.project-card.is-hidden { display: none; }

/* ================================
   Section header link (asymmetric split)
   ================================ */
.section-header__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-weight-semibold);
    color: var(--fire-red);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: gap var(--duration-base) var(--ease-out-quart);
    white-space: nowrap;
    align-self: end;
}
.section-header__link:hover {
    gap: var(--space-3);
}
@media (max-width: 640px) {
    .section-header--split {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* ================================
   Outline button (was btn--outline, used in authority)
   ================================ */
.btn--outline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 24px;
    border: 1px solid var(--ink-900);
    color: var(--ink-900);
    background-color: transparent;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-sm);
    transition: background-color var(--duration-base) var(--ease-out-quart),
                color var(--duration-base) var(--ease-out-quart);
}
.btn--outline:hover {
    background-color: var(--ink-900);
    color: var(--color-white);
}

/* ================================
   SERVICES ACCORDION — Front page bento
   7 ana kategori + alt ürünler
   ================================ */
.services-accordion {
    display: grid;
    gap: var(--space-3);
}
.services-accordion__item {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--duration-base) var(--ease-out-quart),
                box-shadow var(--duration-base) var(--ease-out-quart);
}
.services-accordion__item:hover {
    border-color: var(--ink-300);
    box-shadow: var(--shadow-sm);
}
.services-accordion__item[aria-expanded="true"] .services-accordion__item,
.services-accordion__item.is-open {
    border-color: var(--ink-900);
}

.services-accordion__header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    user-select: none;
    transition: background-color var(--duration-fast);
}
.services-accordion__header:hover {
    background-color: var(--color-cloud);
}
.services-accordion__header:focus-visible {
    outline: 2px solid var(--fire-red);
    outline-offset: -2px;
}

.services-accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: var(--fire-red-tint);
    color: var(--fire-red);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.services-accordion__icon svg {
    width: 28px;
    height: 28px;
}

.services-accordion__heading {
    min-width: 0;
}
.services-accordion__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    line-height: 1.2;
    margin: 0 0 4px;
}
.services-accordion__lead {
    font-size: var(--text-sm);
    color: var(--ink-600);
    line-height: 1.5;
    margin: 0;
}

.services-accordion__count {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    background-color: var(--color-cloud);
    border-radius: var(--radius-sm);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    line-height: 1;
    flex-shrink: 0;
}
.services-accordion__count small {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-500);
    margin-top: 2px;
}

.services-accordion__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-500);
    transition: transform var(--duration-base) var(--ease-out-quart),
                color var(--duration-fast);
    flex-shrink: 0;
}
.services-accordion__chevron svg {
    width: 20px;
    height: 20px;
}
.services-accordion__item.is-open .services-accordion__chevron {
    transform: rotate(180deg);
    color: var(--fire-red);
}

.services-accordion__panel {
    border-top: 1px solid var(--color-smoke);
    padding: var(--space-5) var(--space-6) var(--space-6);
    background-color: var(--color-cloud);
}
.services-accordion__items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-3);
}
.services-accordion__sub a {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color var(--duration-fast),
                transform var(--duration-fast),
                box-shadow var(--duration-fast);
}
.services-accordion__sub a:hover {
    border-color: var(--fire-red);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.services-accordion__sub a svg {
    width: 14px;
    height: 14px;
    color: var(--fire-red);
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--duration-fast), transform var(--duration-fast);
}
.services-accordion__sub a:hover svg {
    opacity: 1;
    transform: translateX(0);
}
.services-accordion__sub-title {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-900);
    line-height: 1.3;
    margin-bottom: 2px;
}
.services-accordion__sub-desc {
    display: block;
    font-size: var(--text-xs);
    color: var(--ink-600);
    line-height: 1.4;
}

.services-accordion__footer {
    margin-top: var(--space-4);
    text-align: center;
}
.services-accordion__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-900);
    background-color: transparent;
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--duration-fast);
}
.services-accordion__more:hover {
    background-color: var(--ink-900);
    color: var(--color-white);
    border-color: var(--ink-900);
}
.services-accordion__more svg {
    width: 14px;
    height: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .services-accordion__header {
        grid-template-columns: auto 1fr auto;
        gap: var(--space-3);
        padding: var(--space-4);
    }
    .services-accordion__count {
        display: none;
    }
    .services-accordion__title {
        font-size: var(--text-lg);
    }
    .services-accordion__items {
        grid-template-columns: 1fr;
    }
    .services-accordion__panel {
        padding: var(--space-4);
    }
}

/* ================================
   MEGA DROPDOWN — Ürünler
   Endüstriyel premium: koyu panel, ikon kategorileri, öne çıkan çözüm kartı
   ================================ */
.nav-item--mega {
    position: static !important;
}
.nav-item--mega > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.nav-item--mega > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-bottom: 2px;
    transition: transform var(--duration-fast) var(--ease-out-quart);
}
.nav-item--mega.is-open > a::after,
.nav-item--mega:hover > a::after {
    transform: rotate(-135deg);
    margin-bottom: -2px;
}

/* --- Panel: koyu zemin, top'tan 1px fire-red aksan --- */
.nav-item--mega .mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--ink-900);
    background-image:
        radial-gradient(ellipse 80% 60% at 100% 0%, oklch(0.57 0.235 27 / 0.10), transparent 60%),
        radial-gradient(ellipse 50% 80% at 0% 100%, oklch(1 0 0 / 0.04), transparent 70%);
    border-top: 1px solid var(--fire-red);
    box-shadow: 0 24px 48px -16px oklch(0 0 0 / 0.45);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity 220ms var(--ease-out-quart), transform 220ms var(--ease-out-quart), visibility 220ms;
    z-index: calc(var(--z-dropdown) - 1);
    pointer-events: none;
    /* Düşük çözünürlüklü ekranlarda panel viewport'tan taşabilir; sticky header'a
       göre konumlandığı için sayfa scroll'u taşan kısmı ortaya çıkarmaz — bu yüzden
       panelin kendi içinde kaydırma sağlanır, hiçbir kategori erişilemez kalmaz. */
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
}
.nav-item--mega.is-open .mega-dropdown,
.nav-item--mega:hover .mega-dropdown,
.nav-item--mega:focus-within .mega-dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

/* --- Ana layout --- */
.mega-dropdown__panel {
    padding: var(--space-8) 0 var(--space-6);
    color: var(--color-white);
}

/* --- Sol: kategori grid --- */
.mega-dropdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-2) var(--space-8);
}

/* --- Kategori hücresi --- */
.mega-cat {
    position: relative;
    padding: var(--space-4) 0 var(--space-4) var(--space-5);
}
.mega-cat::before {
    content: "";
    position: absolute;
    left: 0;
    top: var(--space-4);
    bottom: var(--space-4);
    width: 2px;
    background-color: var(--color-white);
    opacity: 0.18;
    transition: background-color var(--duration-base), opacity var(--duration-base), width var(--duration-base);
}
.mega-cat:hover::before {
    background-color: var(--fire-red);
    opacity: 1;
    width: 3px;
}

.mega-cat__head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-white);
    text-decoration: none;
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-3);
}
.mega-cat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--color-white);
    background-color: oklch(1 0 0 / 0.06);
    border: 1px solid oklch(1 0 0 / 0.10);
    border-radius: var(--radius-sm);
    transition: color var(--duration-base), background-color var(--duration-base), border-color var(--duration-base);
}
.mega-cat__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
}
.mega-cat__title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.01em;
    flex: 1;
    min-width: 0;
    line-height: 1.25;
    color: var(--color-white);
    text-shadow: 0 1px 0 oklch(0 0 0 / 0.4);
}
.mega-cat__head > .arem-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--fire-red);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--duration-base), transform var(--duration-base);
    display: inline-flex;
    align-items: center;
}
.mega-cat__head > .arem-icon svg {
    width: 14px;
    height: 14px;
}
.mega-cat:hover .mega-cat__icon {
    color: var(--fire-red);
    background-color: var(--fire-red);
    border-color: var(--fire-red);
}
.mega-cat:hover .mega-cat__head > .arem-icon {
    opacity: 1;
    transform: translateX(0);
}
.mega-cat:hover .mega-cat__title {
    color: var(--fire-red-soft);
    text-shadow: 0 1px 0 oklch(0 0 0 / 0.5);
}

/* --- Alt liste --- */
.mega-cat__items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.mega-cat__items a {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: oklch(1 0 0 / 0.62);
    padding: 6px 0;
    padding-left: 0;
    line-height: 1.45;
    text-decoration: none;
    transition: color var(--duration-fast), padding-left var(--duration-base);
}
.mega-cat__items a:hover {
    color: var(--fire-red-soft);
    padding-left: 8px;
}

/* --- Footer --- */
.mega-dropdown__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    padding: var(--space-5) 0;
    border-top: 1px solid oklch(1 0 0 / 0.08);
}
.mega-dropdown__footer-text {
    font-size: var(--text-xs);
    color: oklch(1 0 0 / 0.5);
    line-height: 1.5;
    max-width: 60ch;
}
.mega-dropdown__view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid oklch(1 0 0 / 0.30);
    transition: color var(--duration-fast), border-color var(--duration-fast), gap var(--duration-fast);
}
.mega-dropdown__view-all:hover {
    color: var(--fire-red);
    border-bottom-color: var(--fire-red);
    gap: 12px;
}

/* Mega dropdown responsive: tablet+mobile drawer (nav drawer ile aynı breakpoint) */
@media (max-width: 1280px) {
    .mega-dropdown__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 1024px) {
    .nav-item--mega .mega-dropdown {
        position: static !important;
        background: var(--color-cloud);
        background-image: none;
        border-top: 1px solid var(--color-smoke);
        box-shadow: none;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        display: none;
        width: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        color: var(--ink-800);
        margin-top: var(--space-2);
        border-radius: var(--radius-md);
    }
    .nav-item--mega.is-open .mega-dropdown {
        display: block;
    }
    .mega-dropdown__panel {
        padding: var(--space-5) 0;
    }
    .mega-dropdown__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mega-cat {
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--color-smoke);
    }
    .mega-cat:last-child { border-bottom: none; }
    .mega-cat::before {
        top: var(--space-3);
        bottom: var(--space-3);
    }
    .mega-cat__icon {
        background-color: var(--color-white);
        border-color: var(--color-smoke);
        color: var(--ink-800);
    }
    .mega-cat__head {
        color: var(--ink-900);
    }
    .mega-cat__title { color: var(--ink-900); }
    .mega-cat__head > svg { color: var(--fire-red); }
    .mega-cat:hover .mega-cat__title { color: var(--fire-red); }
    .mega-cat__items a { color: var(--ink-600); }
    .mega-cat__items a:hover { color: var(--fire-red); }
    .mega-dropdown__footer {
        flex-direction: column;
        align-items: flex-start;
        border-top: 1px solid var(--color-smoke);
    }
    .mega-dropdown__footer-text { color: var(--ink-600); }
    .mega-dropdown__view-all {
        color: var(--ink-900);
        border-bottom-color: var(--color-smoke);
    }
}

/* ================================
   Product Catalog — Endüstriyel Katalog
   ================================ */

/* Hero */
.pc-hero {
    padding: clamp(4rem, 2rem + 6vw, 7rem) 0 clamp(3rem, 1.5rem + 4vw, 5rem);
    background-color: var(--ink-900);
    background-image: linear-gradient(180deg, oklch(0.18 0.02 270 / 0.88) 0%, oklch(0.18 0.02 270 / 0.94) 100%), url('uploads/smoke-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.pc-hero .breadcrumb {
    margin-bottom: var(--space-10);
}

.pc-hero .breadcrumb__link,
.pc-hero .breadcrumb__current { color: oklch(1 0 0 / 0.5); }
.pc-hero .breadcrumb__link:hover { color: var(--color-white); }
.pc-hero .breadcrumb__item--current .breadcrumb__current { color: var(--color-white); }

.pc-hero__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-12);
    align-items: end;
}

.pc-hero__title {
    font-size: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
    font-weight: var(--font-weight-black);
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.pc-hero__title-line {
    display: block;
}

.pc-hero__title-line--accent {
    color: var(--fire-red);
}

.pc-hero__lead {
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.125rem);
    line-height: 1.7;
    color: oklch(1 0 0 / 0.65);
    max-width: 480px;
}

.pc-hero__aside {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Katalog */
.pc-catalog {
    padding: clamp(4rem, 2rem + 6vw, 7rem) 0 clamp(5rem, 3rem + 8vw, 8rem);
    background-color: var(--color-cloud);
}

/* Ürün şeridi — geniş ana ürün + altında kayan alt ürün slider'ı */
.pc-strip {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    transition: border-color var(--duration-base) var(--ease-out-quart),
                box-shadow var(--duration-base) var(--ease-out-quart);
}

.pc-strip:hover {
    border-color: var(--fire-red);
    box-shadow: 0 4px 24px oklch(0.57 0.235 27 / 0.08);
}

.pc-strip__row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
    gap: var(--space-10);
    align-items: center;
}

.pc-strip--reverse .pc-strip__row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
}

.pc-strip--reverse .pc-strip__media {
    order: 2;
}

.pc-strip--reverse .pc-strip__content {
    order: 1;
}

.pc-strip__media {
    position: relative;
    aspect-ratio: 4 / 3;
}

/* Görseli/placeholder'ı köşeleriyle birlikte kırpar — .pc-strip__icon rozeti
   ise bu kapsayıcının DIŞINDA kalır, böylece alt kenarda taşarken kesilmez. */
.pc-strip__media-inner {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-cloud);
}

.pc-strip__media-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-slow) var(--ease-out-quart);
}

.pc-strip:hover .pc-strip__media-inner img {
    transform: scale(1.05);
}

.pc-strip__media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, oklch(0.57 0.235 27 / 0.16) 0%, var(--color-cloud) 100%);
    color: var(--fire-red);
}

.pc-strip__icon {
    position: absolute;
    left: var(--space-5);
    bottom: calc(-1 * var(--space-5));
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fire-red);
    color: var(--color-white);
    border: 3px solid var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px oklch(0.57 0.235 27 / 0.25);
}

.pc-strip__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pc-strip__title {
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 var(--space-3);
}

.pc-strip__desc {
    font-size: var(--text-base);
    color: var(--ink-600);
    line-height: var(--leading-relaxed);
    margin: 0 0 var(--space-5);
    max-width: 48ch;
}

.pc-strip__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--fire-red);
    text-decoration: none;
    transition: gap var(--duration-base) var(--ease-out-quart);
}

.pc-strip__link:hover {
    gap: var(--space-3);
}

.pc-strip__link svg {
    transition: transform var(--duration-base) var(--ease-out-quart);
}

.pc-strip__link:hover svg {
    transform: translateX(2px);
}

/* Alt ürün slider'ı */
.pc-strip__slider-wrap {
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-smoke);
    position: relative;
}

/* pd-features kartı içine gömülü slider — kart zaten kenarlıklı, ayraç gerekmez */
.pd-features .pc-strip__slider-wrap {
    margin-top: var(--space-6);
    padding-top: 0;
    border-top: none;
}

.pc-strip__slider {
    overflow: hidden;
}

.pc-mini-card {
    display: block;
    text-decoration: none;
    padding: var(--space-3);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-base) var(--ease-out-quart),
                box-shadow var(--duration-base) var(--ease-out-quart);
}

.pc-mini-card:hover {
    border-color: var(--fire-red);
    box-shadow: 0 4px 16px oklch(0.57 0.235 27 / 0.1);
}

.pc-mini-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--color-cloud);
    margin-bottom: var(--space-3);
}

.pc-mini-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-base) var(--ease-out-quart);
}

.pc-mini-card:hover .pc-mini-card__media img {
    transform: scale(1.08);
}

.pc-mini-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fire-red);
}

.pc-mini-card__title {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-800);
    line-height: 1.35;
    transition: color var(--duration-fast);
}

.pc-mini-card:hover .pc-mini-card__title {
    color: var(--fire-red);
}

.pc-strip__controls {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.slider-arrow.slider-arrow--light {
    background-color: var(--color-cloud);
    border-color: var(--color-smoke);
    color: var(--ink-700);
}

.slider-arrow.slider-arrow--light:hover {
    background-color: var(--fire-red);
    border-color: var(--fire-red);
    color: var(--color-white);
}

/* Boş durum */
.pc-empty {
    text-align: center;
    padding: var(--space-16) var(--space-6);
}

.pc-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    color: var(--ink-400);
}

.pc-empty h2 {
    font-size: var(--text-xl);
    color: var(--ink-800);
    margin-bottom: var(--space-2);
}

.pc-empty p {
    color: var(--ink-500);
    margin: 0 auto var(--space-5);
    max-width: 36ch;
    font-size: var(--text-sm);
}

/* CTA */
.pc-cta {
    padding: clamp(3rem, 1.5rem + 4vw, 5rem) 0;
    background-color: var(--ink-900);
    color: var(--color-white);
}

.pc-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.pc-cta__text h2 {
    font-size: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.pc-cta__text p {
    color: oklch(1 0 0 / 0.65);
    max-width: 44ch;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.pc-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* Ghost light button (dark bg) */
.btn--ghost-light {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid oklch(1 0 0 / 0.25);
}
.btn--ghost-light:hover {
    background-color: oklch(1 0 0 / 0.08);
    color: var(--color-white);
    border-color: oklch(1 0 0 / 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .pc-hero__layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .pc-strip__row {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .pc-strip--reverse .pc-strip__media,
    .pc-strip--reverse .pc-strip__content {
        order: initial;
    }

    .pc-strip__content {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .pc-hero {
        padding: clamp(3rem, 1.5rem + 4vw, 4rem) 0 clamp(2rem, 1rem + 3vw, 3rem);
    }

    .pc-strip {
        padding: var(--space-5);
    }

    .pc-strip__icon {
        width: 44px;
        height: 44px;
        left: var(--space-4);
        bottom: calc(-1 * var(--space-4));
    }

    .pc-strip__slider-wrap {
        margin-top: var(--space-8);
        padding-top: var(--space-5);
    }

    .pc-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .pc-cta__actions {
        width: 100%;
    }

    .pc-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   Product Detail — pd-hero
   ================================ */
.pd-hero {
    padding: clamp(4rem, 2rem + 6vw, 7rem) 0 clamp(3rem, 1.5rem + 4vw, 5rem);
    background-color: var(--ink-900);
    background-image: linear-gradient(180deg, oklch(0.18 0.02 270 / 0.88) 0%, oklch(0.18 0.02 270 / 0.94) 100%), url('uploads/smoke-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.pd-hero .breadcrumb {
    margin-bottom: var(--space-8);
}

.pd-hero .breadcrumb__link,
.pd-hero .breadcrumb__current { color: oklch(1 0 0 / 0.5); }
.pd-hero .breadcrumb__link:hover { color: var(--color-white); }
.pd-hero .breadcrumb__item--current .breadcrumb__current { color: var(--color-white); }

.pd-hero__content {
    max-width: 720px;
}

.pd-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background-color: var(--fire-red);
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.pd-hero__title {
    font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem);
    font-weight: var(--font-weight-black);
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.pd-hero__subtitle {
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.125rem);
    line-height: 1.7;
    color: oklch(1 0 0 / 0.65);
    max-width: 560px;
}

/* ================================
   Product Detail — pd-detail
   ================================ */
.pd-detail {
    padding: clamp(3rem, 1.5rem + 4vw, 5rem) 0 clamp(5rem, 3rem + 8vw, 8rem);
    background-color: var(--color-cloud);
}

.pd-detail__layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-12);
    align-items: start;
}

.pd-detail__main {
    min-width: 0;
}

/* Ürün detay görseli — dikey/yatay her oranda görselin tamamı görünür, kırpma yok */
.product-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-10);
    border: 1px solid var(--color-smoke);
    background: var(--color-cloud);
}

.product-hero-image img {
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: contain;
    display: block;
}

/* Features */
.pd-features {
    margin-bottom: var(--space-10);
    padding: var(--space-8);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
}

.pd-features__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.pd-features__header h2,
.pd-features__header h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    margin: 0;
}

.pd-features__icon {
    color: var(--fire-red);
}

.pd-features__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
}

.pd-features__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--ink-700);
    line-height: 1.6;
}

.pd-features__check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fire-red);
    color: var(--color-white);
    border-radius: var(--radius-full);
    margin-top: 2px;
}

.pd-features__check svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

/* Content — tipografi kuralları .entry-content'ten gelir (bkz. Entry Content bloğu) */
.pd-content {
    margin-bottom: var(--space-10);
}

/* Applications */
.pd-applications {
    margin-bottom: var(--space-10);
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--fire-red-tint) 0%, var(--color-white) 100%);
    border: 1px solid oklch(0.57 0.235 27 / 0.12);
    border-radius: var(--radius-lg);
}

.pd-applications h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-5);
}

.pd-applications__grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.pd-applications__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--ink-700);
}

.pd-applications__item svg {
    color: var(--fire-red);
    flex-shrink: 0;
}

/* ================================
   Sidebar — pd-sidebar
   ================================ */
.pd-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* CTA Card */
.pd-cta-card {
    background-color: var(--ink-900);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
}

.pd-cta-card__header {
    margin-bottom: var(--space-6);
}

.pd-cta-card__header h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.pd-cta-card__header p {
    color: oklch(1 0 0 / 0.7);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.pd-cta-card .btn {
    margin-bottom: var(--space-3);
}

.pd-cta-card .btn:last-child {
    margin-bottom: 0;
}

.pd-cta-card__phone {
    border-color: oklch(1 0 0 / 0.2) !important;
    color: var(--color-white) !important;
}

.pd-cta-card__phone:hover {
    border-color: oklch(1 0 0 / 0.4) !important;
    background-color: oklch(1 0 0 / 0.08) !important;
}

/* Related Products */
.pd-related {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pd-related h4 {
    padding: var(--space-4) var(--space-5);
    margin: 0;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    background-color: var(--color-cloud);
    border-bottom: 1px solid var(--color-smoke);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.pd-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pd-related li {
    border-bottom: 1px solid var(--color-smoke);
}

.pd-related li:last-child {
    border-bottom: none;
}

.pd-related a {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    text-decoration: none;
    color: inherit;
    transition: background-color var(--duration-fast) var(--ease-out-quart);
}

.pd-related a:hover {
    background-color: var(--fire-red-tint);
}

.pd-related a svg {
    color: var(--fire-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.pd-related a span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pd-related a strong {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-900);
    transition: color var(--duration-fast);
}

.pd-related a:hover strong {
    color: var(--fire-red);
}

.pd-related a small {
    font-size: var(--text-xs);
    color: var(--ink-500);
    line-height: 1.4;
}

/* ================================
   Responsive — Product Detail
   ================================ */
@media (max-width: 900px) {
    .pd-detail__layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .pd-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pd-cta-card,
    .pd-related {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 640px) {
    .pd-hero {
        padding: clamp(3rem, 2rem + 4vw, 4rem) 0 clamp(2rem, 1rem + 3vw, 3rem);
    }

    .pd-hero__icon {
        width: 48px;
        height: 48px;
    }

    .pd-hero__icon svg {
        width: 24px;
        height: 24px;
    }

    .pd-features {
        padding: var(--space-6);
    }

    .pd-applications {
        padding: var(--space-6);
    }

    .pd-sidebar {
        flex-direction: column;
    }

    .pd-cta-card,
    .pd-related {
        min-width: 0;
    }
}

/* ================================
   Elementor Ürün Sayfası — ep-*
   ================================ */

/* Hero */
.ep-hero {
    padding: clamp(3rem, 1.5rem + 4vw, 5rem) 0 clamp(2rem, 1rem + 3vw, 3rem);
    background-color: var(--ink-900);
    color: var(--color-white);
}

.ep-hero .breadcrumb {
    margin-bottom: var(--space-8);
}

.ep-hero .breadcrumb__link,
.ep-hero .breadcrumb__current { color: oklch(1 0 0 / 0.5); }
.ep-hero .breadcrumb__link:hover { color: var(--color-white); }
.ep-hero .breadcrumb__item--current .breadcrumb__current { color: var(--color-white); }

.ep-hero__content {
    max-width: 720px;
}

.ep-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background-color: var(--fire-red);
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.ep-hero__title {
    font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
    font-weight: var(--font-weight-black);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.ep-hero__subtitle {
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.125rem);
    line-height: 1.7;
    color: oklch(1 0 0 / 0.65);
    max-width: 560px;
}

/* İçerik */
.ep-content {
    padding: clamp(3rem, 1.5rem + 4vw, 5rem) 0 clamp(4rem, 2rem + 6vw, 6rem);
    background-color: var(--color-cloud);
}

.ep-content__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-10);
    align-items: start;
}

.ep-content__main {
    min-width: 0;
}

.ep-content__body {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.ep-content__body h2,
.ep-content__body h3 {
    color: var(--ink-900);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.ep-content__body p {
    color: var(--ink-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    max-width: 65ch;
}

.ep-content__body img {
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
}

/* Özellikler */
.ep-features {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.ep-features h2 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-5);
}

.ep-features__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-3);
}

.ep-features__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--ink-700);
    line-height: 1.6;
}

.ep-features__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fire-red);
    color: var(--color-white);
    border-radius: var(--radius-full);
    margin-top: 2px;
}

.ep-features__check svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

/* Uygulama Alanları */
.ep-applications {
    padding: var(--space-6);
    background: linear-gradient(135deg, var(--fire-red-tint) 0%, var(--color-white) 100%);
    border: 1px solid oklch(0.57 0.235 27 / 0.1);
    border-radius: var(--radius-lg);
}

.ep-applications h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-4);
}

.ep-applications__grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.ep-applications__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 5px 12px;
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--ink-700);
}

.ep-applications__item svg {
    color: var(--fire-red);
    flex-shrink: 0;
}

/* Sidebar */
.ep-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* CTA Kartı */
.ep-cta-card {
    background-color: var(--ink-900);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.ep-cta-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.ep-cta-card p {
    color: oklch(1 0 0 / 0.65);
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
    line-height: var(--leading-relaxed);
}

.ep-cta-card .btn {
    margin-bottom: var(--space-3);
}

.ep-cta-card .btn:last-child {
    margin-bottom: 0;
}

/* İlgili Ürünler */
.ep-related {
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.ep-related h4 {
    padding: var(--space-4) var(--space-5);
    margin: 0;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    background-color: var(--color-cloud);
    border-bottom: 1px solid var(--color-smoke);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.ep-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ep-related li {
    border-bottom: 1px solid var(--color-smoke);
}

.ep-related li:last-child {
    border-bottom: none;
}

.ep-related a {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    text-decoration: none;
    color: inherit;
    transition: background-color var(--duration-fast);
}

.ep-related a:hover {
    background-color: var(--fire-red-tint);
}

.ep-related a svg {
    color: var(--fire-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.ep-related a span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ep-related a strong {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-900);
    transition: color var(--duration-fast);
}

.ep-related a:hover strong {
    color: var(--fire-red);
}

.ep-related a small {
    font-size: var(--text-xs);
    color: var(--ink-500);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
    .ep-content__layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .ep-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ep-cta-card,
    .ep-related {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 640px) {
    .ep-hero {
        padding: clamp(2rem, 1.5rem + 3vw, 3rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem);
    }

    .ep-hero__icon {
        width: 44px;
        height: 44px;
    }

    .ep-content__body,
    .ep-features {
        padding: var(--space-5);
    }

    .ep-sidebar {
        flex-direction: column;
    }

    .ep-cta-card,
    .ep-related {
        min-width: 0;
    }
}

/* ================================
   Widget Alanları — Elementor Uyumlu
   ================================ */

/* Header widget alanı */
.header-widget-area {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex: 1;
    justify-content: center;
}

.header-widget {
    text-align: center;
}

.header-widget p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--ink-600);
}

.header-widget a {
    color: var(--fire-red);
    font-weight: var(--font-weight-semibold);
}

/* Footer widget alanı */
.footer-widget-area {
    padding: var(--space-10) 0;
    border-bottom: 1px solid oklch(1 0 0 / 0.08);
}

.footer-widget {
    margin-bottom: var(--space-6);
}

.footer-widget:last-child {
    margin-bottom: 0;
}

.footer-widget__title {
    color: var(--color-white);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-4);
}

.footer-widget p {
    color: oklch(1 0 0 / 0.7);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.footer-widget a {
    color: var(--fire-red);
    transition: color var(--duration-fast);
}

.footer-widget a:hover {
    color: var(--color-white);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: var(--space-2);
}

.footer-widget ul li a {
    color: oklch(1 0 0 / 0.7);
    font-size: var(--text-sm);
    transition: color var(--duration-fast);
}

.footer-widget ul li a:hover {
    color: var(--fire-red);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-widget-area {
        display: none;
    }
}

/* ================================
   Ürünler Bölümü — Rakar Service Block
   ================================ */
.ur-services-section {
    padding: clamp(4rem, 2rem + 6vw, 7rem) 0;
    background-color: var(--ink-900);
    background-image: linear-gradient(180deg, oklch(0.18 0.02 270 / 0.88) 0%, oklch(0.18 0.02 270 / 0.94) 100%), url('uploads/smoke-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
}

/* Başlık alanı */
.ur-services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-6);
    margin-bottom: clamp(2rem, 1.5rem + 3vw, 3.5rem);
}

.ur-services-title-wrap {
    max-width: 600px;
}

.ur-services-subtitle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--fire-red);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-3);
}

.ur-services-subtitle svg {
    color: var(--fire-red);
}

.ur-services-title {
    font-size: clamp(1.75rem, 1.2rem + 2.5vw, 2.75rem);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--color-white);
    margin: 0;
}

.ur-services-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 24px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    border: 1px solid oklch(1 0 0 / 0.25);
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--duration-base) var(--ease-out-quart);
    flex-shrink: 0;
}

.ur-services-btn:hover {
    background-color: var(--fire-red);
    border-color: var(--fire-red);
    color: var(--color-white);
}

.ur-services-btn i {
    font-size: 12px;
    transition: transform var(--duration-base) var(--ease-out-quart);
}

.ur-services-btn:hover i {
    transform: translateX(3px);
}

/* Slider wrapper */
.ur-services-slider-wrap {
    position: relative;
}

/* =============================================
   Service Block — Rakar birebir yapı
   ============================================= */
.service-block {
    --body-bg: var(--ink-900);
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Köşe dekoratif kesikleri */
.service-block::after,
.service-block::before {
    content: "";
    box-shadow: inset 25px 25px 0 0 var(--body-bg);
    width: 50px;
    height: 50px;
    position: absolute;
    border-radius: 16px;
    top: 38px;
    right: -25px;
    z-index: 3;
    transform: rotate(90deg);
}

.service-block::before {
    top: -25px;
    right: 38px;
}

/* Görsel */
.box-img {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.box-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease-in-out;
}

.box-img__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, oklch(0.57 0.235 27 / 0.3) 0%, oklch(0.22 0.020 270 / 0.8) 100%);
    color: var(--fire-red);
    border-radius: 24px;
}

/* İçerik kartı — görselin üzerine binen beyaz kart */
.box-content {
    background-color: var(--color-white);
    border-radius: 16px;
    position: relative;
    z-index: 3;
    margin: -60px 16px 0 16px;
    padding: 0 32px 24px 32px;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-color 0.4s ease-in-out;
}

/* Yüzen ikon — kartın üzerinde */
.box-icon {
    width: 72px;
    height: 72px;
    line-height: 70px;
    text-align: center;
    background-color: var(--ink-900);
    border: 2px solid var(--color-white);
    border-radius: 99px;
    margin: -36px auto -20px auto;
    transform: translateY(-36px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.4s ease-in-out;
}

.box-icon svg {
    transition: transform 0.4s ease-in-out;
}

/* Ok butonu — sağ üst */
.icon-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50%;
    color: var(--ink-900);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.icon-btn::after {
    content: '';
    position: absolute;
    inset: -8px;
    background-color: var(--color-white);
    border: 8px solid var(--ink-900);
    border-radius: 99px;
    z-index: -1;
    transition: background-color 0.4s ease-in-out;
}

.icon-btn:hover {
    background-color: var(--fire-red);
    color: var(--color-white);
}

.icon-btn:hover::after {
    background-color: var(--fire-red);
}

/* Başlık */
.box-title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    margin: 0 0 0.2em;
    transition: color 0.4s ease-in-out;
}

.box-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.4s ease-in-out;
}

.box-title a:hover {
    color: var(--fire-red);
}

.box-count {
    font-size: var(--text-xs);
    color: var(--ink-500);
    font-weight: var(--font-weight-medium);
}

/* Hover efektleri */
.service-block:hover .box-icon {
    border-color: var(--fire-red);
    background-color: var(--color-white);
    color: var(--fire-red);
}

.service-block:hover .box-img img {
    transform: scale(1.1);
}

.service-block:hover .box-content {
    background-color: var(--fire-red);
}

.service-block:hover .box-title {
    color: var(--color-white);
}

.service-block:hover .box-title a {
    color: var(--color-white);
}

.service-block:hover .box-count {
    color: oklch(1 0 0 / 0.7);
}

.service-block:hover .icon-btn {
    background-color: var(--color-white);
    color: var(--fire-red);
}

/* Slider kontrolleri */
.ur-services-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.slider-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: oklch(1 0 0 / 0.08);
    border: 1px solid oklch(1 0 0 / 0.12);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out-quart);
}

.slider-arrow:hover {
    background-color: var(--fire-red);
    border-color: var(--fire-red);
}

.ur-services-pagination {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: oklch(1 0 0 / 0.5);
    font-weight: var(--font-weight-medium);
    font-variant-numeric: tabular-nums;
}

.ur-services-pagination .swiper-pagination-current {
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
}

.ur-services-pagination .swiper-pagination-total {
    color: oklch(1 0 0 / 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .ur-services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-block::after,
    .service-block::before {
        display: none;
    }

    .box-content {
        margin: -40px 12px 0 12px;
        padding: 0 20px 20px 20px;
    }

    .box-icon {
        width: 56px;
        height: 56px;
        margin: -28px auto -16px auto;
        transform: translateY(-28px);
    }
}

@media (max-width: 640px) {
    .ur-services-section {
        padding: clamp(3rem, 1.5rem + 4vw, 4rem) 0;
    }

    .ur-services-controls {
        margin-top: var(--space-6);
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
/* ================================
   Arem Yangın — 05 CF7 Form Styling
   Contact Form 7 Theme Override
   ================================ */

/* CF7 form container */
.wpcf7-form {
    display: grid;
    gap: var(--space-4);
}
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}
.wpcf7-form .form-row .form-field { grid-column: span 1; }
.wpcf7-form .form-row--full .form-field { grid-column: 1 / -1; }
.wpcf7-form .form-row--single { grid-template-columns: 1fr; }

@media (max-width: 640px) {
    .wpcf7-form .form-row { grid-template-columns: 1fr; }
    .wpcf7-form .form-row .form-field { grid-column: 1 / -1; }
}

/* Field groups */
.wpcf7-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wpcf7-form .form-field label {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--ink-800);
    display: block;
    margin-bottom: 2px;
}
.wpcf7-form .form-field label .required {
    color: var(--fire-red);
    margin-left: 2px;
}
.wpcf7-form .form-field .form-hint {
    font-size: var(--text-xs);
    color: var(--ink-500);
    margin-top: 4px;
}

/* Input/textarea/select */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="search"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--ink-900);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-base) var(--ease-out-quart),
                box-shadow var(--duration-base) var(--ease-out-quart);
    -webkit-appearance: none;
    appearance: none;
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; line-height: var(--leading-relaxed); }
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: var(--ink-500); opacity: 1; }

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--fire-red);
    box-shadow: 0 0 0 3px var(--fire-red-tint);
}
.wpcf7-form input.use-floating-validation-or-styling,
.wpcf7-form input:invalid:not(:placeholder-shown) { border-color: var(--fire-red); }

.wpcf7-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23404040' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

/* Checkbox / Radio */
.wpcf7-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--ink-700);
    cursor: pointer;
    padding: 8px 0;
}
.wpcf7-form .form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fire-red); flex-shrink: 0; }
.wpcf7-form .form-check-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
}
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-list-item-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--ink-700);
    cursor: pointer;
}
.wpcf7-form .wpcf7-list-item-label input { accent-color: var(--fire-red); margin-top: 3px; }

/* File upload */
.wpcf7-form input[type="file"] {
    padding: 12px;
    background-color: var(--color-cloud);
    border: 1px dashed var(--ink-400);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--text-sm);
}
.wpcf7-form input[type="file"]:hover { border-color: var(--fire-red); }

/* Submit */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    background-color: var(--fire-red);
    border: 2px solid var(--fire-red);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--duration-base) var(--ease-out-quart),
                transform var(--duration-base) var(--ease-out-quart),
                box-shadow var(--duration-base) var(--ease-out-quart);
    align-self: start;
    margin-top: var(--space-2);
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    background-color: var(--fire-red-hover);
    border-color: var(--fire-red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-fire);
}
.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
    background-color: var(--fire-red-active);
}
.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Validation states */
.wpcf7-form .wpcf7-not-valid {
    border-color: var(--fire-red) !important;
    background-color: oklch(0.96 0.025 27 / 0.4);
}
.wpcf7-form .wpcf7-not-valid-tip {
    color: var(--fire-red);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    margin-top: 4px;
}
.wpcf7-form .wpcf7-form-control-wrap { display: block; }

/* Response messages */
.wpcf7-form .wpcf7-response-output {
    margin-top: var(--space-4);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    border-left: 4px solid;
}
.wpcf7-form .wpcf7-mail-sent-ok {
    background-color: oklch(0.96 0.04 145);
    border-color: var(--color-success);
    color: oklch(0.32 0.10 145);
}
.wpcf7-form .wpcf7-validation-errors,
.wpcf7-form .wpcf7-acceptance-missing,
.wpcf7-form .wpcf7-mail-sent-ng,
.wpcf7-form .wpcf7-spam-blocked {
    background-color: var(--fire-red-tint);
    border-color: var(--fire-red);
    color: var(--fire-red-active);
}

/* Submitting state */
.wpcf7-form.submitting input[type="submit"],
.wpcf7-form.submitting button[type="submit"] {
    position: relative;
    color: transparent;
}
.wpcf7-form.submitting input[type="submit"]::after,
.wpcf7-form.submitting button[type="submit"]::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: cf7-spin 0.8s linear infinite;
}
@keyframes cf7-spin { to { transform: rotate(360deg); } }

/* Honeypot hidden */
.wpcf7-form .wpcf7-hidden { display: none !important; }

/* Acceptance (kvkk) */
.wpcf7-form .wpcf7-acceptance { margin-top: 4px; }
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label { font-size: var(--text-sm); color: var(--ink-700); line-height: var(--leading-snug); }
.wpcf7-form .wpcf7-acceptance a { color: var(--fire-red); text-decoration: underline; text-underline-offset: 3px; }

/* Form header */
.form-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-smoke);
}
.form-header__title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--ink-900);
    margin-bottom: var(--space-2);
}
.form-header__intro {
    color: var(--ink-600);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}
.form-header__intro strong { color: var(--fire-red); }

/* Multi-step form (manual step indicator) */
.form-steps {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-6);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-smoke);
}
.form-steps__step {
    flex: 1;
    padding: 12px 16px;
    background-color: var(--color-cloud);
    color: var(--ink-600);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    border-right: 1px solid var(--color-smoke);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.form-steps__step:last-child { border-right: none; }
.form-steps__step.is-active {
    background-color: var(--fire-red);
    color: var(--color-white);
}
.form-steps__step.is-active .step-num {
    background-color: var(--color-white);
    color: var(--fire-red);
}
.form-steps__step .step-num {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background-color: var(--color-white);
    color: var(--ink-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
}

@media (max-width: 640px) {
    .form-steps__step { padding: 8px 10px; font-size: var(--text-xs); }
    .form-steps__step .step-num { display: none; }
}
/* ================================
   Arem Yangın — 07 Motion
   Animations, keyframes, motion utilities
   Premium endüstriyel — exponential easing, no bounce
   ================================ */

/* ===== Reveal animation base ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
                transform var(--duration-reveal) var(--ease-out-expo);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays — class-based */
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }
.reveal[data-delay="5"] { transition-delay: 500ms; }
.reveal[data-delay="6"] { transition-delay: 600ms; }

/* Reveal variants */
.reveal--left {
    transform: translateX(-32px);
}
.reveal--left.is-visible {
    transform: translateX(0);
}
.reveal--right {
    transform: translateX(32px);
}
.reveal--right.is-visible {
    transform: translateX(0);
}
.reveal--scale {
    transform: scale(0.96);
}
.reveal--scale.is-visible {
    transform: scale(1);
}
.reveal--clip {
    clip-path: inset(0 0 100% 0);
}
.reveal--clip.is-visible {
    clip-path: inset(0);
    transition: clip-path 800ms var(--ease-out-expo);
}

/* Split text reveal (chars/words) — GSAP sets inline styles, this is fallback */
[data-split-text] .char,
[data-split-text] .word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 700ms var(--ease-out-expo);
}
[data-split-text].is-visible .char,
[data-split-text].is-visible .word {
    transform: translateY(0);
}

/* ===== Magnetic cursor ===== */
.magnetic-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--fire-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: width var(--duration-magnetic) var(--ease-out-quart),
                height var(--duration-magnetic) var(--ease-out-quart),
                border-color var(--duration-base) var(--ease-out-quart),
                opacity var(--duration-base) var(--ease-out-quart);
    mix-blend-mode: difference;
    opacity: 0;
}
.magnetic-cursor.is-visible {
    opacity: 1;
}
.magnetic-cursor.is-hover {
    width: 48px;
    height: 48px;
    border-color: var(--color-white);
    background-color: oklch(0.57 0.235 27 / 0.15);
}
.magnetic-cursor.is-text {
    width: 4px;
    height: 28px;
    border-radius: 2px;
}

/* Hide native cursor where magnetic is active */
@media (pointer: fine) {
    body.has-magnetic-cursor,
    body.has-magnetic-cursor * {
        cursor: none;
    }
    body.has-magnetic-cursor a,
    body.has-magnetic-cursor button {
        cursor: none;
    }
}

/* ===== Marquee (infinite scroll) ===== */
.marquee {
    --marquee-duration: 30s;
    --marquee-gap: 4rem;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    user-select: none;
}
.marquee__track {
    display: inline-flex;
    gap: var(--marquee-gap);
    align-items: center;
    animation: marquee var(--marquee-duration) linear infinite;
    padding-right: var(--marquee-gap);
}
.marquee:hover .marquee__track {
    animation-play-state: paused;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% - var(--marquee-gap))); }
}

/* ===== Timeline line fill (process) ===== */
.timeline {
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-smoke);
}
.timeline__line {
    position: absolute;
    left: 24px;
    top: 0;
    width: 2px;
    height: 0;
    background-color: var(--fire-red);
    transition: height 300ms linear;
}

/* ===== Scroll indicator (hero) ===== */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 64px;
    background-color: oklch(1 0 0 / 0.2);
    overflow: hidden;
}
.scroll-indicator::after {
    content: "";
    display: block;
    width: 100%;
    height: 50%;
    background-color: var(--color-white);
    animation: scroll-down 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-down {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* ===== Pulse (sade, hero credentials) ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}
.pulse {
    animation: pulse 2s var(--ease-in-out) infinite;
}

/* ===== Spin (loader/spinner) ===== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== View Transitions ===== */
@supports (view-transition-name: root) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 300ms;
        animation-timing-function: var(--ease-out-expo);
    }
}

/* ===== Counter (data-counter) — JS sets text, this animates ===== */
[data-counter] {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum", "lnum";
}

/* ===== Lenis (smooth scroll) ===== */
html.lenis,
html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* ===== Hero 3D Canvas container ===== */
.hero__canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: var(--z-hero-canvas);
    pointer-events: none;
}
.hero__canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.hero__poster {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Filter pills (projects) ===== */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-12);
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px 18px;
    border: 1px solid var(--color-smoke);
    background-color: transparent;
    color: var(--ink-700);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    border-radius: 9999px;
    cursor: pointer;
    transition: border-color var(--duration-base) var(--ease-out-quart),
                background-color var(--duration-base) var(--ease-out-quart),
                color var(--duration-base) var(--ease-out-quart);
}
.filter-pill:hover {
    border-color: var(--fire-red);
    color: var(--fire-red);
}
.filter-pill.is-active {
    background-color: var(--ink-900);
    border-color: var(--ink-900);
    color: var(--color-white);
}
.filter-pill__count {
    font-variant-numeric: tabular-nums;
    font-size: var(--text-xs);
    opacity: 0.7;
}

/* ===== Bento grid (services) ===== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-6);
}
.bento-item {
    position: relative;
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--duration-base) var(--ease-out-quart);
}
.bento-item:hover { border-color: var(--ink-900); }

.bento-item--hero { grid-column: span 8; min-height: 480px; }
.bento-item--lg   { grid-column: span 6; min-height: 320px; }
.bento-item--md   { grid-column: span 4; min-height: 320px; }
.bento-item--sm   { grid-column: span 3; min-height: 240px; }
.bento-item--full { grid-column: span 12; min-height: 360px; }

@media (max-width: 1024px) {
    .bento-item--hero { grid-column: span 12; }
    .bento-item--lg   { grid-column: span 6; }
    .bento-item--md   { grid-column: span 6; }
    .bento-item--sm   { grid-column: span 6; }
}
@media (max-width: 640px) {
    .bento-item--lg,
    .bento-item--md,
    .bento-item--sm {
        grid-column: span 12;
    }
}

/* ===== Section header — variants (endüstriyel, asymmetric) ===== */
.section-header--split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-8);
    align-items: end;
    margin-bottom: var(--space-16);
}
.section-header--split .section-header__heading {
    max-width: 720px;
}
.section-header--center {
    text-align: center;
    margin-inline: auto;
    max-width: 720px;
    margin-bottom: var(--space-16);
}
.section-header--full {
    margin-bottom: var(--space-16);
}
.section-header__heading p,
.section-header p {
    margin-top: var(--space-4);
    font-size: var(--text-lg);
    color: var(--ink-600);
    max-width: 60ch;
}
.section-header--center p {
    margin-inline: auto;
}

/* ===== Asymmetric grid (utility) ===== */
.grid-asymmetric {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: var(--space-16);
    align-items: start;
}
@media (max-width: 900px) {
    .grid-asymmetric { grid-template-columns: 1fr; gap: var(--space-10); }
}

/* ===== Process vertical timeline ===== */
.process-timeline {
    position: relative;
    padding-left: 64px;
}
.process-timeline__step {
    position: relative;
    padding-bottom: var(--space-16);
}
.process-timeline__step:last-child { padding-bottom: 0; }
.process-timeline__marker {
    position: absolute;
    left: -64px;
    top: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border: 2px solid var(--fire-red);
    border-radius: 50%;
    color: var(--fire-red);
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
    z-index: 1;
}
.process-timeline__step.is-active .process-timeline__marker {
    background-color: var(--fire-red);
    color: var(--color-white);
}
.process-timeline__connector {
    position: absolute;
    left: -41px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background-color: var(--color-smoke);
}
.process-timeline__step:last-child .process-timeline__connector { display: none; }

/* ===== Capability block (dark) ===== */
.capability {
    padding: var(--space-8);
    border: 1px solid oklch(1 0 0 / 0.08);
    border-radius: var(--radius-lg);
    background-color: oklch(1 0 0 / 0.02);
    transition: border-color var(--duration-base) var(--ease-out-quart),
                background-color var(--duration-base) var(--ease-out-quart);
}
.capability:hover {
    border-color: var(--fire-red);
    background-color: oklch(1 0 0 / 0.04);
}
.capability__num {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-black);
    color: var(--fire-red);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: var(--space-6);
}

/* ===== Testimonial card ===== */
.testimonial {
    padding: var(--space-8);
    background-color: var(--color-white);
    border: 1px solid var(--color-smoke);
    border-radius: var(--radius-lg);
}
.testimonial--featured {
    grid-column: span 2;
}
.testimonial__quote {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    line-height: var(--leading-relaxed);
    color: var(--ink-800);
    margin-bottom: var(--space-6);
    text-wrap: balance;
}
.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}
.testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-cloud);
    overflow: hidden;
    flex-shrink: 0;
}
.testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial__name {
    font-weight: var(--font-weight-semibold);
    color: var(--ink-900);
}
.testimonial__role {
    font-size: var(--text-sm);
    color: var(--ink-500);
}

/* ===== Reference logo strip (grayscale → color on hover) ===== */
.reference-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: var(--space-4);
    filter: grayscale(1) contrast(0.7);
    opacity: 0.6;
    transition: filter var(--duration-base) var(--ease-out-quart),
                opacity var(--duration-base) var(--ease-out-quart);
}
.reference-logo:hover {
    filter: grayscale(0) contrast(1);
    opacity: 1;
}
.reference-logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}