/* İnşaat2 — Kuzey Yapı (charcoal + mustard), construction'dan bağımsız */
:root {
    --cst-navy: #14171c;
    --cst-navy-dark: #0e1014;
    --cst-orange: #c8920e;
    --cst-orange-light: #dbab2e;
    --cst-ink: #14171c;
    --cst-muted: #5c6570;
    --cst-bg: #f4f1ea;
    --cst-white: #fff;
    --cst-line: #dde3ec;
    --cst-success: #059669;
    --cst-warning: #d97706;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body.cst-site {
    font-family: 'Barlow', system-ui, sans-serif;
    color: var(--cst-ink);
    background: var(--cst-white);
    line-height: 1.65;
    overflow-x: hidden;
    max-width: 100%;
    min-width: 0;
}
img, video, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
.cst-wrap { width: min(1200px, 92vw); margin: 0 auto; padding-inline: 0; }
.cst-main { min-height: 50vh; overflow-x: clip; }

/* Topbar */
.cst-topbar { background: var(--cst-navy-dark); color: #a8b8cc; font-size: .8125rem; padding: .5rem 0; }
.cst-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cst-topbar-tagline { font-weight: 600; color: var(--cst-orange); letter-spacing: .04em; }
.cst-topbar-social { display: flex; gap: .85rem; }
.cst-topbar-social a:hover { color: var(--cst-orange); }

/* Header */
.cst-header { background: var(--cst-white); border-bottom: 1px solid var(--cst-line); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(15,39,68,.06); }
.cst-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; position: relative; flex-wrap: nowrap; }
.cst-brand { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(1rem, 3.5vw, 1.3rem); font-weight: 700; color: var(--cst-navy); display: flex; align-items: center; gap: .65rem; min-width: 0; flex: 1; }
.cst-brand-mark { width: 4px; height: 32px; background: var(--cst-orange); display: inline-block; flex-shrink: 0; }
.cst-brand-logo { height: 44px; width: auto; max-width: min(220px, 56vw); display: block; object-fit: contain; }
.cst-footer-brand-link { display: inline-block; }
.cst-footer-logo { height: 40px; width: auto; max-width: 200px; display: block; margin-bottom: .75rem; object-fit: contain; }
.cst-nav { display: flex; align-items: center; gap: .1rem; flex-shrink: 0; }
.cst-nav a { padding: .5rem .85rem; font-size: .9rem; font-weight: 500; color: var(--cst-ink); border-radius: 4px; transition: .2s; }
.cst-nav a:hover, .cst-nav a.is-active { color: var(--cst-navy); background: var(--cst-bg); }
.cst-nav-cta { background: var(--cst-orange) !important; color: #fff !important; margin-left: .5rem; font-weight: 600 !important; }
.cst-nav-cta:hover { background: var(--cst-navy) !important; color: #fff !important; }
.cst-nav-toggle { display: none; border: none; background: none; font-size: 1.5rem; cursor: pointer; color: var(--cst-navy); padding: .5rem; min-width: 44px; min-height: 44px; flex-shrink: 0; }

/* Hero */
.cst-hero { position: relative; min-height: 90vh; overflow: hidden; }
.cst-hero--slider { display: block; }
.cst-hero-swiper { width: 100%; height: 90vh; min-height: 560px; max-width: 100%; overflow: hidden; }
.cst-hero-slide { position: relative; height: 100%; display: flex; align-items: center; }
.cst-hero-slide__bg { position: absolute; inset: 0; z-index: 0; }
.cst-hero-media { position: absolute; inset: 0; }
.cst-hero-photo { width: 100%; height: 100%; object-fit: cover; }
.cst-hero-photo--gradient { background: linear-gradient(135deg, var(--cst-navy-dark) 0%, #2a4a7f 40%, #4a6fa5 100%); }
.cst-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,39,68,.93) 0%, rgba(27,54,93,.7) 50%, rgba(27,54,93,.4) 100%); z-index: 1; }
.cst-hero-content { position: relative; z-index: 2; color: #fff; padding: 5rem 0 7rem; max-width: 720px; width: 100%; }
.cst-hero-animate { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.cst-hero-animate.is-hero-visible { opacity: 1; transform: none; }
.cst-hero-metrics-wrap { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; pointer-events: none; }
.cst-hero-metrics-wrap .cst-wrap { padding-bottom: 2.5rem; }
.cst-hero-pagination { bottom: 5.5rem !important; z-index: 6 !important; }
.cst-hero-bullet { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); margin: 0 5px !important; cursor: pointer; transition: .25s; opacity: 1; }
.cst-hero-bullet--active { background: var(--cst-orange); transform: scale(1.2); }
.cst-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--cst-orange); margin-bottom: 1rem; }
.cst-hero h1 { font-family: 'Libre Baskerville', serif; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.1; margin-bottom: 1rem; }
.cst-lead { font-size: 1.125rem; color: #c8d6e5; margin-bottom: 1.75rem; max-width: 560px; }
.cst-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.cst-btn { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.6rem; font-weight: 600; font-size: .9375rem; border-radius: 3px; border: 2px solid transparent; transition: .2s; cursor: pointer; max-width: 100%; text-align: center; }
.cst-btn-orange { background: var(--cst-orange); color: #fff; border-color: var(--cst-orange); }
.cst-btn-orange:hover { background: var(--cst-orange-light); border-color: var(--cst-orange-light); }
.cst-btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.cst-btn-ghost:hover { background: rgba(255,255,255,.1); }
.cst-btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.cst-btn-dark { background: var(--cst-navy); color: #fff; }
.cst-btn-dark:hover { background: var(--cst-navy-dark); }
.cst-btn-outline { border: 2px solid var(--cst-navy); color: var(--cst-navy); background: transparent; }
.cst-btn-outline:hover { background: var(--cst-navy); color: #fff; }
.cst-btn-block { width: 100%; margin-top: .5rem; }
.cst-hero-metrics { list-style: none; display: flex; gap: 2.5rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); align-items: flex-start; }
.cst-hero-metrics li { flex: 0 1 auto; min-width: 0; }
.cst-hero-metrics strong { display: block; font-size: 1.85rem; font-family: 'Libre Baskerville', serif; color: var(--cst-orange); line-height: 1.1; white-space: nowrap; }
.cst-hero-metrics span { display: block; font-size: .8125rem; color: #b0c0d4; line-height: 1.35; margin-top: .2rem; }

/* Blocks */
.cst-block { padding: 5rem 0; }
.cst-block-muted { background: var(--cst-bg); }
.cst-block--dark { background: var(--cst-navy-dark); color: #fff; }
.cst-section-head { margin-bottom: 2.5rem; max-width: 680px; }
.cst-section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.cst-section-head--light h2, .cst-section-head--light .cst-section-lead { color: #fff; }
.cst-section-head--light .cst-label { color: var(--cst-orange); }
.cst-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cst-orange); margin-bottom: .5rem; }
.cst-section-head h2 { font-family: 'Libre Baskerville', serif; font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--cst-navy); line-height: 1.2; }
.cst-section-lead { color: var(--cst-muted); margin-top: .75rem; font-size: 1.05rem; }
.cst-section-cta { text-align: center; margin-top: 2rem; }

/* Services */
.cst-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cst-service-grid--full { grid-template-columns: repeat(2, 1fr); }
.cst-service-card,
.cst-project-card,
.cst-blog-card,
.cst-quote,
.cst-value-card,
.cst-team-card,
.cst-video-card,
.cst-process-item,
.cst-gallery-slide,
.swiper-slide { min-width: 0; }
.cst-service-card { background: var(--cst-white); border: 1px solid var(--cst-line); padding: 1.75rem; border-top: 3px solid var(--cst-orange); transition: box-shadow .2s, transform .2s; }
.cst-service-card:hover { box-shadow: 0 16px 40px rgba(27,54,93,.1); transform: translateY(-3px); }
.cst-service-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.cst-service-num { font-size: .75rem; font-weight: 700; color: var(--cst-orange); }
.cst-service-card h3 { font-size: 1.125rem; margin-bottom: .5rem; color: var(--cst-navy); }
.cst-service-card h3 a { color: inherit; text-decoration: none; }
.cst-service-card h3 a:hover { color: var(--cst-orange); }
.cst-service-card p { color: var(--cst-muted); font-size: .9375rem; margin-bottom: 1rem; }
.cst-service-card a { color: var(--cst-navy); font-weight: 600; font-size: .875rem; border-bottom: 1px solid var(--cst-orange); }

/* Projects */
.cst-project-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cst-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cst-project-card { background: var(--cst-white); border: 1px solid var(--cst-line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.cst-project-card:hover { box-shadow: 0 20px 48px rgba(27,54,93,.12); transform: translateY(-4px); }
.cst-block--dark .cst-project-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.cst-project-card__visual { height: 180px; background: linear-gradient(135deg, var(--cst-navy) 0%, #3a5f8f 100%); position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 1rem; }
.cst-project-category { background: var(--cst-orange); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .65rem; border-radius: 2px; }
.cst-project-status { font-size: .7rem; font-weight: 600; padding: .3rem .65rem; border-radius: 2px; background: rgba(255,255,255,.2); color: #fff; }
.cst-project-status--completed { background: var(--cst-success); }
.cst-project-status--in_progress { background: var(--cst-warning); }
.cst-project-status--planned { background: #6366f1; }
.cst-project-card__body { padding: 1.5rem; }
.cst-block--dark .cst-project-card__body h3 a { color: #fff; }
.cst-block--dark .cst-project-card__body p { color: #b0c0d4; }
.cst-project-card__body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.cst-project-card__body h3 a:hover { color: var(--cst-orange); }
.cst-project-meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .8rem; color: var(--cst-muted); margin-top: .75rem; }
.cst-project-link { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: .875rem; color: var(--cst-orange); }

/* Split */
.cst-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.cst-split-media { min-height: 360px; }
.cst-split-photo { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.cst-split-photo--team { background: linear-gradient(160deg, #2a4a7f 0%, var(--cst-navy-dark) 100%); }
.cst-split-copy { padding: 4rem clamp(1.5rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; background: var(--cst-white); }
.cst-split-copy h2 { font-family: 'Libre Baskerville', serif; font-size: 2rem; color: var(--cst-navy); margin: .5rem 0 1rem; }
.cst-split-copy p { color: var(--cst-muted); margin-bottom: 1.25rem; }
.cst-checklist { list-style: none; margin-bottom: 1.5rem; }
.cst-checklist li { padding: .4rem 0; padding-left: 1.5rem; position: relative; }
.cst-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--cst-orange); font-weight: 700; }

/* Values */
.cst-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cst-value-card { background: var(--cst-white); border: 1px solid var(--cst-line); padding: 1.75rem; text-align: center; transition: .2s; }
.cst-value-card:hover { border-color: var(--cst-orange); }
.cst-value-icon { font-size: 2rem; display: block; margin-bottom: .75rem; }
.cst-value-card h3 { font-size: 1rem; color: var(--cst-navy); margin-bottom: .5rem; }
.cst-value-card p { font-size: .875rem; color: var(--cst-muted); }

/* Blog */
.cst-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cst-blog-grid--full { grid-template-columns: repeat(3, 1fr); }
.cst-blog-card { background: var(--cst-white); border: 1px solid var(--cst-line); padding: 1.75rem; transition: .2s; }
.cst-blog-card:hover { box-shadow: 0 12px 32px rgba(27,54,93,.08); }
.cst-blog-category { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cst-orange); }
.cst-blog-card time { display: block; font-size: .8rem; color: var(--cst-muted); margin: .35rem 0; }
.cst-blog-card h3 { font-size: 1.05rem; margin: .5rem 0; line-height: 1.35; }
.cst-blog-card h3 a:hover { color: var(--cst-orange); }
.cst-blog-card p { font-size: .9rem; color: var(--cst-muted); margin-bottom: 1rem; }
.cst-blog-link { font-weight: 600; font-size: .875rem; color: var(--cst-navy); border-bottom: 1px solid var(--cst-orange); }

/* Quotes */
.cst-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cst-quote { background: var(--cst-white); border: 1px solid var(--cst-line); padding: 1.75rem; border-left: 4px solid var(--cst-orange); }
.cst-quote-mark { font-size: 2.5rem; color: var(--cst-orange); line-height: 1; display: block; margin-bottom: .5rem; font-family: Georgia, serif; }
.cst-quote p { font-style: italic; color: var(--cst-muted); margin-bottom: 1.25rem; }
.cst-quote strong { display: block; color: var(--cst-navy); }
.cst-quote span { font-size: .8125rem; color: var(--cst-muted); }

/* CTA */
.cst-cta-panel { background: var(--cst-navy); color: #fff; padding: 4rem 0; }
.cst-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cst-cta-inner h2 { font-family: 'Libre Baskerville', serif; font-size: 1.75rem; margin-bottom: .35rem; }
.cst-cta-inner p { color: #b0c0d4; }
.cst-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Page hero */
.cst-page-hero { position: relative; min-height: 320px; display: grid; align-items: end; }
.cst-page-hero-bg { position: absolute; inset: 0; }
.cst-page-hero-photo { width: 100%; height: 100%; object-fit: cover; }
.cst-page-hero-photo--gradient { background: linear-gradient(135deg, var(--cst-navy-dark), var(--cst-navy)); }
.cst-page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,39,68,.85) 0%, rgba(15,39,68,.4) 100%); }
.cst-page-hero-content { position: relative; z-index: 2; color: #fff; padding: 3rem 0; }
.cst-breadcrumb { font-size: .8125rem; margin-bottom: .75rem; color: #b0c0d4; }
.cst-breadcrumb a:hover { color: var(--cst-orange); }
.cst-page-hero h1 { font-family: 'Libre Baskerville', serif; font-size: clamp(2rem, 4vw, 2.75rem); }
.cst-page-hero-lead { color: #c8d6e5; margin-top: .5rem; max-width: 600px; }
.cst-page-hero--project, .cst-page-hero--article, .cst-page-hero--service { background: var(--cst-navy); min-height: auto; padding: 3rem 0; }
.cst-project-hero-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: .9rem; color: #c8d6e5; }

/* Page body */
.cst-page-body { padding: 3.5rem 0; }
.cst-prose { max-width: 760px; overflow-wrap: anywhere; word-break: break-word; }
.cst-prose-page { max-width: 800px; }
.cst-prose-article { max-width: 720px; margin: 0 auto; }
.cst-prose img, .cst-prose video, .cst-prose iframe, .cst-prose table { max-width: 100%; height: auto; }
.cst-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cst-prose h2 { font-family: 'Libre Baskerville', serif; color: var(--cst-navy); margin: 1.5rem 0 .75rem; }
.cst-prose p { margin-bottom: 1rem; color: var(--cst-muted); }
.cst-lead-text { font-size: 1.15rem; color: var(--cst-ink); margin-bottom: 1.5rem; }

/* Project detail */
.cst-project-detail { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
.cst-sidebar-card { background: var(--cst-bg); border: 1px solid var(--cst-line); padding: 1.5rem; margin-bottom: 1rem; border-radius: 4px; }
.cst-sidebar-card h3 { font-size: 1rem; color: var(--cst-navy); margin-bottom: 1rem; }
.cst-sidebar-card dl dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cst-muted); margin-top: .75rem; }
.cst-sidebar-card dl dd { font-weight: 600; color: var(--cst-navy); }

/* Team */
.cst-team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.cst-team-card { text-align: center; padding: 1.5rem; background: var(--cst-white); border: 1px solid var(--cst-line); }
.cst-team-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--cst-navy); color: #fff; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; }
.cst-team-card h3 { font-size: 1rem; color: var(--cst-navy); }
.cst-team-role { font-size: .8rem; color: var(--cst-orange); font-weight: 600; display: block; margin-bottom: .5rem; }
.cst-team-card p { font-size: .85rem; color: var(--cst-muted); }

/* Stats */
.cst-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.cst-stat strong { display: block; font-size: 2.5rem; font-family: 'Libre Baskerville', serif; color: var(--cst-orange); }
.cst-stat span { font-size: .875rem; color: var(--cst-muted); }

/* Contact */
.cst-contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; }
.cst-contact-form { display: grid; gap: 1rem; }
.cst-form-row label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .35rem; color: var(--cst-navy); }
.cst-form-row input, .cst-form-row select, .cst-form-row textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--cst-line); border-radius: 4px; font: inherit; max-width: 100%; }
.cst-form-row input:focus, .cst-form-row textarea:focus { outline: 2px solid var(--cst-orange); border-color: var(--cst-orange); }
.cst-alert { padding: 1rem; border-radius: 4px; margin-bottom: 1rem; }
.cst-alert--success { background: #ecfdf5; color: #065f46; }
.cst-alert--error { background: #fef2f2; color: #991b1b; }
.cst-office-item { padding: .75rem 0; border-bottom: 1px solid var(--cst-line); }
.cst-office-item:last-child { border: none; }

/* Filter */
.cst-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 2rem; }
.cst-filter-label { font-weight: 600; font-size: .875rem; color: var(--cst-navy); }
.cst-filter-btn { padding: .45rem 1rem; border: 1px solid var(--cst-line); background: var(--cst-white); border-radius: 999px; font-size: .8125rem; font-weight: 500; cursor: pointer; transition: .2s; min-height: 36px; white-space: nowrap; }
.cst-filter-btn:hover, .cst-filter-btn--active { background: var(--cst-navy); color: #fff; border-color: var(--cst-navy); }

/* Footer */
.cst-footer { background: var(--cst-navy-dark); color: #9fb0c5; }
.cst-footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 2rem; padding: 3.5rem 0 2rem; }
.cst-footer-brand strong { color: #fff; font-family: 'Libre Baskerville', serif; font-size: 1.125rem; display: block; margin-bottom: .35rem; }
.cst-footer-tagline { color: var(--cst-orange); font-weight: 600; font-size: .85rem; margin-bottom: .75rem; }
.cst-footer-col h4, .cst-footer-offices h4 { color: #fff; font-size: .875rem; margin-bottom: .75rem; }
.cst-footer-col a, .cst-footer-brand p { display: block; font-size: .8125rem; padding: .2rem 0; color: inherit; }
.cst-footer-col a:hover { color: var(--cst-orange); }
.cst-footer-offices a { color: var(--cst-orange); font-size: .8125rem; font-weight: 600; }
.cst-footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; }
.cst-footer-bar .cst-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .8125rem; }
.cst-signature { margin: 0; }
.cst-signature a { color: var(--cst-orange); font-weight: 600; }

/* Reveal */
.cst-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.cst-reveal.is-visible { opacity: 1; transform: none; }

/* Header scrolled state */
.cst-header.is-scrolled { box-shadow: 0 6px 24px rgba(15,39,68,.12); }
.cst-header.is-scrolled .cst-header-inner { min-height: 64px; }

/* Project card image */
.cst-project-card__visual { overflow: hidden; }
.cst-project-card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cst-project-card:hover .cst-project-card__visual img { transform: scale(1.06); }
.cst-project-card__visual a { position: absolute; inset: 0; display: block; }
.cst-project-card__visual a img { position: static; width: 100%; height: 100%; }
.cst-project-card__visual .cst-project-category,
.cst-project-card__visual .cst-project-status { position: relative; z-index: 2; }

/* Service card with image */
.cst-service-card--visual { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cst-service-card__img { height: 190px; overflow: hidden; }
.cst-service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cst-service-card--visual:hover .cst-service-card__img img { transform: scale(1.06); }
.cst-service-card--visual .cst-service-card__head,
.cst-service-card--visual h3,
.cst-service-card--visual p,
.cst-service-card--visual > a,
.cst-service-card--visual .cst-prose-inline { margin-left: 1.75rem; margin-right: 1.75rem; }
.cst-service-card--visual .cst-service-card__head { margin-top: 1.25rem; }
.cst-service-card--visual > a { margin-bottom: 1.5rem; align-self: flex-start; }
.cst-service-card--visual .cst-prose-inline { margin-bottom: 1.5rem; }

/* Split photo */
.cst-split-media img.cst-split-photo { width: 100%; height: 100%; object-fit: cover; min-height: 360px; display: block; }

/* Project gallery slider */
.cst-project-gallery-slider { padding: 2.5rem 0 1rem; background: var(--cst-bg); }
.cst-section-head--compact { margin-bottom: 1.25rem; }
.cst-section-head--compact h2 { font-size: 1.5rem; margin-top: .35rem; }
.cst-section-desc { color: var(--cst-muted); margin-top: .35rem; max-width: 52rem; }
.cst-project-gallery-swiper { border-radius: 10px; overflow: hidden; box-shadow: 0 18px 48px rgba(27,54,93,.12); }
.cst-gallery-slide { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--cst-navy-dark); }
.cst-gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cst-gallery-slide:hover img { transform: scale(1.04); }
.cst-gallery-slide__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.25rem; background: linear-gradient(transparent, rgba(15,39,68,.85)); color: #fff; font-size: .9rem; overflow-wrap: anywhere; }
.cst-project-gallery-pagination { position: static; margin-top: 1rem; }
.cst-project-gallery-pagination .swiper-pagination-bullet { background: var(--cst-muted); opacity: 1; }
.cst-project-gallery-pagination .swiper-pagination-bullet-active { background: var(--cst-orange); }

/* Project videos — separate area */
.cst-project-videos { margin-top: 2.5rem; }
.cst-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cst-video-card { background: var(--cst-white); border: 1px solid var(--cst-line); border-radius: 8px; overflow: hidden; }
.cst-video-card__media { display: block; position: relative; aspect-ratio: 16/9; background: var(--cst-navy-dark); }
.cst-video-card__media video { width: 100%; height: 100%; object-fit: cover; }
.cst-video-card__caption { padding: .85rem 1rem; font-size: .875rem; color: var(--cst-muted); margin: 0; }

/* Process sections — drawings, plans, 3D, BIM, progress */
.cst-project-process-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--cst-line); }
.cst-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.cst-process-item { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; background: var(--cst-navy-dark); border: 1px solid var(--cst-line); }
.cst-process-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cst-process-item:hover img { transform: scale(1.06); }
.cst-process-item__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .65rem .75rem; background: rgba(15,39,68,.78); color: #fff; font-size: .75rem; line-height: 1.35; overflow-wrap: anywhere; }

/* Media gallery (legacy grid) */
.cst-media-gallery { margin-top: 2.5rem; }
.cst-media-gallery h2 { font-family: 'Libre Baskerville', serif; color: var(--cst-navy); margin-bottom: 1rem; }
.cst-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.cst-gallery-item { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; background: var(--cst-navy-dark); }
.cst-gallery-item img, .cst-gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cst-gallery-item:hover img, .cst-gallery-item:hover video { transform: scale(1.07); }
.cst-gallery-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; background: rgba(15,39,68,.35); transition: .2s; }
.cst-gallery-item:hover .cst-gallery-play { background: rgba(232,119,34,.55); }

/* Swiper customization */
.cst-project-swiper,
.cst-testimonial-swiper,
.cst-project-gallery-swiper,
.cst-hero-swiper {
    overflow: hidden;
    max-width: 100%;
}
.cst-project-swiper, .cst-testimonial-swiper { padding-bottom: 2.5rem; }
.cst-project-swiper .swiper-button-prev,
.cst-project-swiper .swiper-button-next { color: var(--cst-orange); width: 42px; height: 42px; background: rgba(255,255,255,.1); border-radius: 50%; backdrop-filter: blur(4px); }
.cst-project-swiper .swiper-button-prev::after,
.cst-project-swiper .swiper-button-next::after { font-size: 1rem; font-weight: 700; }
.cst-testimonial-swiper .swiper-pagination-bullet { background: var(--cst-muted); }
.cst-testimonial-swiper .swiper-pagination-bullet-active { background: var(--cst-orange); }
.cst-project-swiper .swiper-slide { height: auto; }
.cst-testimonial-swiper .swiper-slide { height: auto; }

/* AOS fallback: keep content visible if JS fails */
html.no-js [data-aos] { opacity: 1 !important; transform: none !important; }

/* Responsive — tablet */
@media (max-width: 1024px) {
    .cst-service-grid, .cst-project-grid, .cst-blog-grid, .cst-quote-grid { grid-template-columns: repeat(2, 1fr); }
    .cst-service-grid--full { grid-template-columns: 1fr; }
    .cst-values-grid { grid-template-columns: repeat(2, 1fr); }
    .cst-team-grid { grid-template-columns: repeat(3, 1fr); }
    .cst-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cst-footer-main { grid-template-columns: repeat(2, 1fr); }
    .cst-project-detail, .cst-contact-layout { grid-template-columns: 1fr; }
    .cst-split { grid-template-columns: 1fr; }
    .cst-process-grid, .cst-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .cst-video-grid { grid-template-columns: 1fr; }
    .cst-project-showcase { grid-template-columns: 1fr; }
    .cst-hero-content { padding: 4rem 0 6rem; }
}

/* Responsive — mobile */
@media (max-width: 768px) {
    .cst-topbar { padding: .4rem 0; }
    .cst-topbar-inner { justify-content: center; text-align: center; gap: .35rem; }
    .cst-topbar-inner > span:not(.cst-topbar-tagline):not(.cst-topbar-social) { display: none; }
    .cst-topbar-tagline { font-size: .75rem; }
    .cst-topbar-social { justify-content: center; flex-wrap: wrap; }

    .cst-header-inner { min-height: 64px; flex-wrap: wrap; align-items: center; }
    .cst-nav-toggle { display: flex; align-items: center; justify-content: center; }
    .cst-nav {
        display: none;
        width: 100%;
        flex: 1 1 100%;
        flex-direction: column;
        align-items: stretch;
        order: 3;
        padding: .75rem 0 0;
        margin-top: .25rem;
        border-top: 1px solid var(--cst-line);
        gap: .15rem;
    }
    body.cst-nav-open .cst-nav { display: flex; }
    .cst-nav a {
        width: 100%;
        text-align: left;
        padding: .75rem .5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .cst-nav-cta { margin-left: 0 !important; margin-top: .35rem; justify-content: center; text-align: center !important; }

    .cst-hero { min-height: min(72vh, 640px); }
    .cst-hero-swiper { height: min(72vh, 640px); min-height: 480px; max-height: none; }
    .cst-hero-content { padding: 2.5rem 0 7.5rem; }
    .cst-hero h1 { font-size: clamp(1.65rem, 7.5vw, 2.25rem); }
    .cst-lead { font-size: 1rem; margin-bottom: 1.25rem; }
    .cst-hero-actions { flex-direction: column; align-items: stretch; }
    .cst-hero-actions .cst-btn { width: 100%; }
    .cst-hero-metrics-wrap {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 5;
        background: linear-gradient(180deg, transparent 0%, rgba(15,39,68,.55) 35%, rgba(15,39,68,.9) 100%);
        pointer-events: none;
    }
    .cst-hero-metrics-wrap .cst-wrap { padding: 0.5rem 0 1.35rem; }
    .cst-hero-metrics {
        gap: 1.25rem 2rem;
        justify-content: flex-start;
        border-top: 1px solid rgba(255,255,255,.15);
        padding-top: 0.85rem;
    }
    .cst-hero-metrics li { flex: 0 1 auto; min-width: 0; }
    .cst-hero-metrics strong { font-size: 1.45rem; }
    .cst-hero-metrics span { font-size: .75rem; }
    .cst-hero-pagination { bottom: 4.25rem !important; }

    .cst-block { padding: 3rem 0; }
    .cst-page-body { padding: 2.5rem 0; }
    .cst-page-hero { min-height: 240px; }
    .cst-page-hero-content { padding: 2rem 0; }
    .cst-page-hero--project, .cst-page-hero--article, .cst-page-hero--service { padding: 2rem 0; }
    .cst-breadcrumb { overflow-wrap: anywhere; line-height: 1.5; }

    .cst-service-grid, .cst-project-grid, .cst-blog-grid, .cst-quote-grid, .cst-project-showcase { grid-template-columns: 1fr; }
    .cst-service-grid--full { grid-template-columns: 1fr; }
    .cst-values-grid, .cst-stats-grid, .cst-team-grid { grid-template-columns: 1fr; }
    .cst-process-grid, .cst-gallery-grid { grid-template-columns: 1fr; }
    .cst-split { min-height: 0; }
    .cst-split-copy { padding: 2.5rem 0; }
    .cst-split-media { min-height: 240px; }
    .cst-split-photo, .cst-split-media img.cst-split-photo { min-height: 240px; }

    .cst-cta-panel { padding: 2.5rem 0; }
    .cst-cta-inner { flex-direction: column; align-items: stretch; gap: 1.25rem; }
    .cst-cta-inner h2 { font-size: 1.45rem; }
    .cst-cta-actions { width: 100%; flex-direction: column; }
    .cst-cta-actions .cst-btn { width: 100%; }

    .cst-footer-main { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0 1.5rem; }
    .cst-footer-bar .cst-wrap { flex-direction: column; align-items: flex-start; gap: .75rem; }

    .cst-filter-bar { gap: .4rem; }
    .cst-filter-label { width: 100%; margin-bottom: .15rem; }
    .cst-section-head--compact h2 { font-size: 1.25rem; }
    .cst-project-gallery-slider { padding: 2rem 0 .75rem; }

    .cst-project-swiper .swiper-button-prev,
    .cst-project-swiper .swiper-button-next { display: none; }
}

/* Reduced motion */
@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;
    }
    .cst-reveal, .cst-hero-animate { opacity: 1; transform: none; }
}

/* Responsive — small phones */
@media (max-width: 380px) {
    .cst-wrap { width: min(1200px, 94vw); }
    .cst-hero-metrics { gap: 1rem 1.25rem; }
    .cst-hero-metrics strong { font-size: 1.3rem; }
    .cst-hero-content { padding-bottom: 8rem; }
    .cst-stat strong { font-size: 2rem; }
}
