﻿:root {
    --bg: #2a070b;
    --bg-soft: #5d0d14;
    --panel: rgba(42, 7, 11, 0.92);
    --surface: #f7ecec;
    --surface-strong: #fffafa;
    --text: #2e1014;
    --muted: #6b454b;
    --muted-strong: #542f35;
    --line: rgba(255, 255, 255, 0.12);
    --brand: #aa0d16;
    --brand-deep: #d0343d;
    --brand-soft: #f3d3d6;
    --brand-ink: #8a0f18;
    --brand-glow: rgba(170, 13, 22, 0.24);
    --white: #ffffff;
    --shadow: 0 24px 60px rgba(68, 10, 16, 0.16);
    --radius-lg: 28px;
    --radius-md: 20px;
}

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

img,
svg,
iframe {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: min(100% - 2rem, 1366px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.row {
    --gutter-x: 1.5rem;
    --gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--gutter-y));
    margin-right: calc(-0.5 * var(--gutter-x));
    margin-left: calc(-0.5 * var(--gutter-x));
}

.row > * {
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--gutter-x) * 0.5);
    padding-left: calc(var(--gutter-x) * 0.5);
    margin-top: var(--gutter-y);
}

.g-4 {
    --gutter-x: 1.5rem;
    --gutter-y: 1.5rem;
}

.g-5 {
    --gutter-x: 3rem;
    --gutter-y: 3rem;
}

.align-items-center {
    align-items: center;
}

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

.justify-content-end {
    justify-content: flex-end;
}

.text-start {
    text-align: left;
}

.pt-0 {
    padding-top: 0 !important;
}

.mb-3 {
    margin-bottom: 1rem;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--muted-strong);
}

.text-danger {
    display: block;
    margin-top: 0.35rem;
    color: #a01822;
    font-size: 0.9rem;
}

.alert {
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 8px;
    font-weight: 700;
}

.alert-success {
    border: 1px solid rgba(41, 129, 72, 0.18);
    background: #eaf7ef;
    color: #245b37;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-collapse {
    display: none;
    flex-basis: 100%;
    flex-grow: 1;
}

.navbar-collapse.show {
    display: block;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.nav-item {
    min-width: 0;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.navbar-toggler-icon {
    position: relative;
    display: block;
    width: 1.35rem;
    height: 2px;
    background: currentColor;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 1.35rem;
    height: 2px;
    background: currentColor;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

.btn-lg {
    min-height: 3rem;
    padding: 0.9rem 1.35rem;
    font-size: 1rem;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    color: var(--white);
    font-weight: 800;
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--brand-ink);
    background: var(--white);
    transform: translateY(-3px);
}

@media (min-width: 768px) {
    .container {
        max-width: min(100% - 3rem, 860px);
    }

    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: min(100% - 4rem, 1180px);
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.333333%;
    }

    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-lg > .container {
        flex-wrap: nowrap;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .align-items-lg-center {
        align-items: center;
    }

    .ms-lg-3 {
        margin-left: 1rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: min(100% - 4rem, 1366px);
    }

    .col-xl-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: min(100% - 6cm, 1500px);
    }
}

html {
    font-size: 16px;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(208, 52, 61, 0.16), transparent 34%),
        linear-gradient(180deg, #fbf3f3 0%, #f3e4e5 100%);
}

body.lightbox-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.site-shell {
    overflow-x: hidden;
    padding-top: var(--site-header-height, 82px);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    backdrop-filter: blur(18px);
    background: rgba(68, 14, 20, 0.9);
    border-bottom: 1px solid var(--line);
}

.navbar {
    padding: 0.7rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    color: var(--white) !important;
}

.brand-logo {
    display: block;
    width: clamp(108px, 11vw, 150px);
    height: auto;
    border-radius: 4px;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.84) !important;
    font-weight: 600;
    padding: 0.65rem 0.9rem !important;
    border-radius: 999px;
    background: transparent;
    transition: color 0.28s ease, transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.navbar .btn-brand {
    padding: 0.78rem 1.25rem;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff6f8 !important;
    background: rgba(255, 212, 222, 0.16);
    box-shadow: 0 10px 24px rgba(22, 3, 6, 0.18);
    transform: translateY(-1px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(208, 52, 61, 0.22);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.btn-brand,
.btn-brand:hover,
.btn-brand:focus {
    color: #fff7fa;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    padding: 0.95rem 1.5rem;
    box-shadow: 0 16px 30px rgba(143, 29, 63, 0.28);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.btn-brand:hover {
    background: linear-gradient(135deg, #bf2530, #df4b53);
    transform: translateY(-3px);
    box-shadow: 0 22px 34px rgba(143, 29, 63, 0.35);
    filter: saturate(1.08);
}

.hero-section {
    position: relative;
    padding: 7rem 0 5rem;
    background:
        linear-gradient(180deg, rgba(42, 7, 11, 0.96), rgba(93, 13, 20, 0.9)),
        linear-gradient(135deg, rgba(208, 52, 61, 0.14), transparent 48%);
    color: var(--white);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(170, 13, 22, 0.12);
    color: var(--brand-ink);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-section .eyebrow,
.inner-hero .eyebrow,
.section-dark .eyebrow,
.cta-banner .eyebrow {
    background: rgba(244, 214, 223, 0.12);
    color: #ffd4de;
}

.hero-title,
.inner-hero h1 {
    font-size: clamp(2.25rem, 4.2vw, 4.35rem);
    line-height: 0.98;
    margin: 0 0 1.1rem;
}

.hero-text,
.inner-hero p,
.service-card p,
.feature-tile p,
.content-card p,
.project-card p,
.site-footer p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-metrics div {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.hero-metrics strong {
    display: block;
    font-size: 1.6rem;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.72);
}

.hero-panel,
.content-card,
.project-card,
.service-card,
.feature-tile,
.cta-banner,
.hero-metrics div,
.form-side,
.contact-highlight,
.signal-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}

.hero-panel {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--line);
}

.hero-panel-top {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.hero-panel-top span,
.signal-card span {
    color: #ffd4de;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-checks {
    margin: 0 0 1.5rem;
    padding-left: 1.2rem;
}

.hero-checks li {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
}

.signal-card {
    padding: 1.3rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(170, 13, 22, 0.26), rgba(208, 52, 61, 0.22));
}

.signal-card h2 {
    margin: 0.5rem 0 0;
    font-size: 1.5rem;
}

.section-block {
    padding: 5.5rem 0;
}

.section-dark {
    background: linear-gradient(180deg, rgba(42, 7, 11, 0.97), rgba(93, 13, 20, 0.95));
    color: var(--white);
}

.section-heading {
    width: 100%;
    max-width: none;
    margin: 0 auto 2.5rem;
    padding: 1.65rem 2rem 2.2rem;
    border: 1px solid rgba(170, 13, 22, 0.08);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    text-align: center;
}

.section-dark .section-heading {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 52px rgba(16, 4, 6, 0.22);
}

.section-heading.text-start {
    width: 100%;
    margin: 0;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0.65rem 0 0.9rem;
}

.section-heading p {
    max-width: 920px;
    margin: 0 auto;
    color: var(--muted-strong);
}

.section-heading.text-start p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.service-card,
.content-card,
.project-card {
    height: 100%;
    padding: 2rem;
    background: var(--surface-strong);
}

.service-card span,
.project-card span {
    color: var(--brand);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.service-card h3,
.feature-tile h3,
.content-card h2,
.project-card h2,
.cta-banner h2 {
    margin: 1rem 0 0.85rem;
    color: var(--text);
    transition: color 0.28s ease;
}

.cta-banner h2 {
    color: var(--white);
}

.service-card p,
.content-card p,
.project-card p,
.contact-card a {
    color: var(--muted);
    transition: color 0.28s ease, transform 0.28s ease;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.feature-tile {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.feature-tile h3,
.section-dark .section-heading h2,
.section-dark .section-heading p,
.section-dark .feature-tile p {
    color: var(--white);
}

.section-dark .section-heading h2 {
    color: var(--white);
}

.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.2rem;
    background: linear-gradient(135deg, #7f0d15, #b51a24);
    color: var(--white);
}

.inner-hero {
    padding: 5rem 0 2rem;
    background: linear-gradient(180deg, rgba(42, 7, 11, 0.95), rgba(93, 13, 20, 0.88));
    color: var(--white);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.works-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0;
    width: 100%;
    max-width: none;
}

.works-summary {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.4rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #7f0d15, #b51a24);
    color: var(--white);
    box-shadow: var(--shadow);
    align-self: center;
    transform: translateY(-0.75rem);
    text-align: center;
}

.works-projects-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.works-projects-section .container {
    display: grid;
    gap: 3rem;
}

.works-heading-copy {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
}

.works-heading .works-summary {
    margin-left: auto;
    align-self: center;
    transform: none;
}

.works-summary strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.works-summary span {
    display: block;
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
}

.project-card-portfolio {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-works-section {
    padding-top: 3rem;
    background:
        radial-gradient(circle at top right, rgba(208, 52, 61, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 250, 250, 0.92), rgba(246, 231, 232, 0.95));
}

.home-works-section .section-heading {
    max-width: none;
    width: 100%;
}

.works-heading,
.home-works-heading {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.works-heading-copy,
.home-works-heading > div:first-child {
    padding: 1.65rem 2rem 2.2rem;
    border: 1px solid rgba(170, 13, 22, 0.08);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.home-works-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.home-works-heading > div:first-child {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    margin-bottom: 1.25rem;
}

.works-summary-home {
    min-width: 200px;
    margin-left: auto;
    align-self: center;
    transform: none;
}

.project-grid.project-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.project-card-compact h2 {
    font-size: 1.3rem;
    line-height: 1.22;
    margin: 0;
}

.project-card-compact .project-partner {
    font-size: 0.98rem;
}

.project-card-compact .project-meta {
    margin-top: auto;
}

.home-works-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.project-card-visual {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(170, 13, 22, 0.08);
    background:
        radial-gradient(circle at top left, rgba(208, 52, 61, 0.2), transparent 40%),
        linear-gradient(135deg, #f7dde0, #fdf7f8);
}

.project-card-slides {
    position: absolute;
    inset: 0;
}

.project-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.4s ease;
}

.project-card-image.is-active {
    opacity: 1;
    pointer-events: auto;
    cursor: zoom-in;
}

.project-card-visual::after {
    content: "";
    position: absolute;
    inset: 16px;
    pointer-events: none;
    border: 1px dashed rgba(170, 13, 22, 0.22);
    border-radius: 18px;
}

.project-card-visual-filled::after {
    inset: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(33, 7, 10, 0.06) 0%, rgba(33, 7, 10, 0.58) 100%);
}

.project-card-controls,
.project-card-dots {
    position: absolute;
    z-index: 2;
}

.project-card-controls {
    inset: auto 1rem 1rem auto;
    display: flex;
    gap: 0.5rem;
}

.project-card-nav {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 250, 250, 0.92);
    color: #14b8a6;
    box-shadow: 0 12px 22px rgba(33, 7, 10, 0.16);
    font-size: 1.4rem;
    line-height: 1;
}

.project-card-nav:hover,
.project-card-nav:focus {
    background: rgba(255, 250, 250, 0.92);
    color: #14b8a6;
}

.project-card-dots {
    left: 1rem;
    bottom: 4rem;
    display: inline-flex;
    gap: 0.4rem;
}

.project-card-dot {
    width: 0.65rem;
    height: 0.65rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
}

.project-card-dot.is-active {
    background: var(--white);
    transform: scale(1.1);
}

.project-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.6rem;
}

.project-lightbox {
    --lightbox-button-gap: 0.5cm;
    --lightbox-close-size: 2.75rem;
    --lightbox-nav-size: 3rem;
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(2rem + var(--lightbox-nav-size) + var(--lightbox-button-gap));
    background: rgba(16, 4, 6, 0.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.project-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.project-lightbox-dialog {
    position: relative;
    width: min(92vw, 1120px);
    max-height: 92vh;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.project-lightbox-image {
    width: 100%;
    max-height: calc(92vh - 4.5rem);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.project-lightbox-caption {
    color: rgba(255, 244, 246, 0.84);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.project-lightbox-close,
.project-lightbox-nav {
    position: absolute;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 250, 250, 0.94);
    color: #14b8a6;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.project-lightbox-close {
    top: calc((var(--lightbox-close-size) + var(--lightbox-button-gap)) * -1);
    right: calc((var(--lightbox-close-size) + var(--lightbox-button-gap)) * -1);
    width: var(--lightbox-close-size);
    height: var(--lightbox-close-size);
    border-radius: 999px;
    transform: none;
    font-size: 1.6rem;
    line-height: 1;
}

.project-lightbox-nav {
    top: 50%;
    width: var(--lightbox-nav-size);
    height: var(--lightbox-nav-size);
    border-radius: 999px;
    transform: translateY(-50%);
    font-size: 1.8rem;
    line-height: 1;
}

.project-lightbox-nav-prev {
    left: calc((var(--lightbox-nav-size) + var(--lightbox-button-gap)) * -1);
}

.project-lightbox-nav-next {
    right: calc((var(--lightbox-nav-size) + var(--lightbox-button-gap)) * -1);
}

.project-lightbox-close:hover,
.project-lightbox-close:focus,
.project-lightbox-nav:hover,
.project-lightbox-nav:focus {
    background: var(--white);
    color: #14b8a6;
}

.project-lightbox-nav[hidden] {
    display: none;
}

.project-card-compact .project-card-visual {
    min-height: 190px;
}

.project-card-portfolio h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.project-partner {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
}

.project-meta {
    display: none;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.accent-card {
    background: linear-gradient(180deg, #f6d7da, #efbcc0);
}

.check-list {
    margin: 0;
    padding-left: 1.2rem;
}

.check-list li {
    margin-bottom: 0.75rem;
}

.contact-highlight {
    margin-top: 1.25rem;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: #f7dde0;
}

.contact-highlight span {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    font-weight: 700;
}

.contact-map-section {
    display: grid;
    gap: 1.5rem;
}

.contact-map-heading {
    max-width: 42rem;
}

.contact-map-frame {
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(170, 13, 22, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--surface-strong);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.contact-map-link {
    width: fit-content;
}

.form-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.form-side {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #7f0d15, #b51a24);
    color: var(--white);
    box-shadow: var(--shadow);
}

.form-control {
    border-radius: 16px;
    border: 1px solid #d9d2c2;
    padding: 0.9rem 1rem;
}

.form-control:focus {
    border-color: var(--brand-deep);
    box-shadow: 0 0 0 0.2rem rgba(208, 52, 61, 0.18);
}

.site-footer {
    padding: 4rem 0 2rem;
    background: #4a1218;
    color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-about {
    padding-right: 1cm;
}

.footer-brand {
    display: block;
    width: min(100%, 220px);
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.site-footer h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-footer a {
    display: block;
    width: fit-content;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffd4de;
    transform: translateX(4px);
}

.service-card:hover,
.service-card:focus-within,
.content-card:hover,
.content-card:focus-within,
.project-card:hover,
.project-card:focus-within,
.feature-tile:hover,
.feature-tile:focus-within,
.hero-panel:hover,
.hero-panel:focus-within,
.hero-metrics div:hover,
.hero-metrics div:focus-within,
.cta-banner:hover,
.cta-banner:focus-within,
.form-side:hover,
.contact-highlight:hover,
.signal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(106, 16, 24, 0.24);
}

.career-form-card:hover,
.career-form-card:focus-within,
.career-form-card .btn-brand:hover,
.career-form-card .btn-brand:focus {
    transform: none;
}

.service-card:hover,
.service-card:focus-within,
.content-card:hover,
.content-card:focus-within,
.project-card:hover,
.project-card:focus-within {
    background: linear-gradient(180deg, #fffafa, #f8e6e8);
}

.project-card:hover .project-card-image.is-active,
.project-card:focus-within .project-card-image.is-active {
    transform: scale(1.05);
}

.feature-tile:hover,
.feature-tile:focus-within,
.hero-panel:hover,
.hero-panel:focus-within {
    border-color: rgba(244, 214, 223, 0.4);
}

.service-card:hover h3,
.service-card:focus-within h3,
.content-card:hover h2,
.content-card:focus-within h2,
.project-card:hover h2,
.project-card:focus-within h2,
.feature-tile:hover h3,
.feature-tile:focus-within h3,
.cta-banner:hover h2,
.cta-banner:focus-within h2,
.hero-panel:hover .hero-panel-top strong,
.hero-panel:focus-within .hero-panel-top strong {
    color: var(--brand);
}

.feature-tile:hover h3,
.feature-tile:focus-within h3,
.cta-banner:hover h2,
.cta-banner:focus-within h2,
.hero-panel:hover .hero-panel-top strong,
.hero-panel:focus-within .hero-panel-top strong {
    color: #ffe6ed;
    text-shadow: 0 6px 18px rgba(255, 214, 223, 0.12);
}

.service-card:hover p,
.service-card:focus-within p,
.content-card:hover p,
.content-card:focus-within p,
.project-card:hover p,
.project-card:focus-within p,
.contact-card a:hover,
.contact-card a:focus {
    color: #5d1529;
}

.service-card:hover span,
.service-card:focus-within span,
.project-card:hover span,
.project-card:focus-within span,
.hero-panel:hover .hero-panel-top span,
.hero-panel:focus-within .hero-panel-top span,
.signal-card:hover span {
    color: var(--brand-deep);
}

.project-card:hover .project-card-nav span,
.project-card:focus-within .project-card-nav span,
.project-card-nav:hover span,
.project-card-nav:focus span {
    color: #14b8a6;
}

.hero-title,
.hero-text,
.section-heading h2,
.section-heading p,
.inner-hero h1,
.inner-hero p,
.hero-panel-top strong,
.hero-checks li,
.hero-metrics strong,
.hero-metrics span {
    transition: color 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

.hero-title:hover,
.inner-hero h1:hover {
    color: #ffd9e3;
}

.section-heading h2:hover {
    color: #5c1319;
    text-shadow: 0 6px 18px rgba(170, 13, 22, 0.08);
}

.section-dark .section-heading h2:hover {
    color: #ffd9e3;
}

.hero-text:hover,
.inner-hero p:hover,
.hero-checks li:hover,
.hero-metrics span:hover {
    color: #fff0f4;
}

.section-heading p:hover {
    color: #6c3b41;
    text-shadow: 0 4px 12px rgba(170, 13, 22, 0.06);
}

.section-dark .section-heading p:hover {
    color: #fff0f4;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 5.5rem;
    }

    .hero-metrics,
    .feature-grid,
    .project-grid,
    .form-shell,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about {
        padding-right: 0;
    }

    .cta-banner,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav {
        padding-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        width: 108px;
    }

    .hero-title,
    .inner-hero h1 {
        font-size: 2.1rem;
    }

    .section-block {
        padding: 4rem 0;
    }

    .hero-actions .btn,
    .btn-brand {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }
}

/* Career form polish */
.form-shell {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.8fr);
    gap: 1.75rem;
}

.form-side {
    position: relative;
    min-height: 100%;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(127, 13, 21, 0.88)),
        url("../images/projects/ekfoto/KayseriOSBUluslararasiFuarMerkeziEkFoto.jpg") center / cover no-repeat;
    color: var(--white);
    box-shadow: 0 24px 64px rgba(17, 24, 39, 0.16);
}

.form-side::after {
    content: "";
    position: absolute;
    inset: auto 1.5rem 1.5rem auto;
    width: 6rem;
    height: 6rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.form-side h2 {
    position: relative;
    z-index: 1;
    max-width: 12rem;
    margin: 0 0 0.9rem;
    color: var(--white);
    font-size: clamp(1.8rem, 2.5vw, 2.55rem);
    line-height: 1.05;
}

.form-side p {
    position: relative;
    z-index: 1;
    max-width: 20rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.career-side-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.65rem;
    margin-top: 2rem;
}

.career-side-list span {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.career-side-list span::before {
    content: "";
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #f2a900;
}

.career-form-card {
    padding: 2rem;
}

.career-form-card form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
    align-items: start;
}

.career-form-card .mb-3 {
    margin-bottom: 0;
}

.career-form-card .form-status {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.career-form-card .validation-summary-valid {
    display: none;
}

.career-form-card .form-field {
    min-width: 0;
}

.career-form-card .form-field-wide {
    grid-column: 1 / -1;
}

.career-form-card .form-label {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.92rem;
}

.form-control {
    display: block;
    width: 100%;
    min-height: 3.1rem;
    background: #f9fafb;
}

.career-form-card textarea.form-control {
    min-height: 9rem;
    resize: vertical;
}

.career-form-card .form-control-file {
    padding: 0.8rem 1rem;
    cursor: pointer;
}

.career-form-card .form-control-file::file-selector-button {
    margin-right: 0.9rem;
    padding: 0.55rem 0.85rem;
    border: 0;
    border-radius: 8px;
    background: #111827;
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
}

.form-help {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.career-form-card .btn-brand {
    grid-column: 1 / -1;
    width: fit-content;
    min-width: 12rem;
    margin-top: 0.35rem;
}

.career-form-card .alert {
    margin-bottom: 1.25rem;
}

@media (max-width: 991.98px) {
    .form-shell {
        grid-template-columns: 1fr;
    }

    .form-side {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .career-form-card form {
        grid-template-columns: 1fr;
    }

    .career-form-card .form-field-wide {
        grid-column: auto;
    }

    .career-form-card .btn-brand {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .works-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .works-heading-copy,
    .home-works-heading > div:first-child {
        width: 100%;
    }

    .works-heading .works-summary,
    .works-summary,
    .works-summary-home {
        transform: none;
    }

    .works-heading .works-summary {
        margin-left: 0;
    }

    .home-works-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-grid.project-grid-home,
    .project-grid.project-grid-portfolio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767.98px) {
    .works-summary {
        min-width: 0;
        width: 100%;
    }

    .works-summary-home {
        min-width: 0;
        width: 100%;
    }

    .home-works-actions .btn {
        width: 100%;
    }

    .project-grid.project-grid-home,
    .project-grid.project-grid-portfolio {
        grid-template-columns: 1fr;
    }

    .project-card-dots {
        bottom: 4.2rem;
    }

    .project-lightbox {
        padding: calc(1rem + var(--lightbox-button-gap)) 1rem;
    }

    .project-lightbox-dialog {
        width: 100%;
    }

    .project-lightbox-image {
        max-height: calc(100vh - 7.5rem - (var(--lightbox-close-size) + var(--lightbox-button-gap)));
    }

    .project-lightbox-close {
        top: calc((var(--lightbox-close-size) + var(--lightbox-button-gap)) * -1);
        right: 0;
        transform: none;
    }

    .project-lightbox-nav {
        top: auto;
        bottom: calc((var(--lightbox-nav-size) + var(--lightbox-button-gap)) * -1);
        transform: none;
    }

    .project-lightbox-nav-prev {
        left: calc(50% - 3.5rem);
    }

    .project-lightbox-nav-next {
        right: calc(50% - 3.5rem);
    }

    .contact-map-frame,
    .contact-map-frame iframe {
        min-height: 320px;
    }
}

/* Modern UI refresh - can be removed to return to the previous visual style. */
:root {
    --bg: #f5f6f8;
    --bg-soft: #eef1f4;
    --panel: rgba(17, 24, 39, 0.84);
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --text: #151922;
    --muted: #5f6673;
    --muted-strong: #374151;
    --line: rgba(17, 24, 39, 0.1);
    --brand: #b4121d;
    --brand-deep: #7f0d15;
    --brand-soft: #f8dfe2;
    --brand-ink: #8b1119;
    --brand-glow: rgba(180, 18, 29, 0.2);
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
    --radius-lg: 8px;
    --radius-md: 8px;
}

body {
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(245, 246, 248, 0.96), rgba(238, 241, 244, 0.96)),
        #f5f6f8;
}

.site-header {
    background: rgba(17, 24, 39, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.16);
}

.navbar {
    padding: 0.85rem 0;
}

.brand-logo {
    width: clamp(118px, 10vw, 158px);
    border-radius: 0;
}

.nav-link {
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link:focus {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
    box-shadow: none;
}

.btn-brand {
    border-radius: 8px;
    background: linear-gradient(135deg, #c91c28, #8d1119);
    box-shadow: 0 16px 34px rgba(141, 17, 25, 0.24);
}

.btn-brand:hover {
    background: linear-gradient(135deg, #d72632, #99151e);
    box-shadow: 0 22px 40px rgba(141, 17, 25, 0.28);
}

.hero-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 6rem 0 4.5rem;
    background:
        linear-gradient(90deg, rgba(14, 20, 30, 0.92) 0%, rgba(14, 20, 30, 0.74) 52%, rgba(14, 20, 30, 0.46) 100%),
        url("../images/projects/fotograflar/AbdullahGulUniversitesiMimarsinanKampusuCevreAydinlatma1.png") center / cover no-repeat;
}

.hero-section .row {
    width: 100%;
    transform: translateY(-0.5cm);
}

.hero-title {
    max-width: 960px;
    font-size: clamp(2.65rem, 5vw, 5.9rem);
    line-height: 0.95;
    color: var(--white);
}

.hero-text {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 1.35vw, 1.24rem);
}

.eyebrow {
    border-radius: 8px;
    background: rgba(180, 18, 29, 0.1);
    color: var(--brand-ink);
}

.hero-section .eyebrow,
.inner-hero .eyebrow,
.section-dark .eyebrow,
.cta-banner .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
}

.hero-metrics {
    max-width: 720px;
}

.hero-metrics div,
.hero-panel,
.signal-card {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.hero-panel {
    backdrop-filter: blur(18px);
}

.signal-card {
    background: linear-gradient(135deg, rgba(201, 28, 40, 0.38), rgba(255, 255, 255, 0.08));
}

.section-block {
    padding: 6rem 0;
}

.section-heading,
.works-heading-copy,
.home-works-heading > div:first-child {
    padding: 1.6rem 1.8rem 1.9rem;
    border-radius: 8px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
        var(--surface);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
}

.section-heading h2 {
    margin: 0.45rem 0 0.75rem;
    color: var(--text);
    font-size: clamp(2.2rem, 4vw, 4.15rem);
    line-height: 1.02;
}

.section-heading p {
    max-width: 980px;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-heading .eyebrow,
.works-heading-copy .eyebrow,
.home-works-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.05rem;
    padding: 0.48rem 0.75rem 0.48rem 0.55rem;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-left: 3px solid #c91c28;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #243044;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.section-heading .eyebrow::before,
.works-heading-copy .eyebrow::before,
.home-works-heading .eyebrow::before {
    content: "";
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 999px;
    background: #c91c28;
    box-shadow: 0 0 0 4px rgba(201, 28, 40, 0.12);
}

.section-dark .section-heading .eyebrow {
    border-color: rgba(255, 255, 255, 0.16);
    border-left-color: #14b8a6;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

.section-dark .section-heading .eyebrow::before {
    background: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

.section-heading.text-start p,
.works-heading-copy p,
.home-works-heading p {
    max-width: none;
}

.service-card,
.content-card,
.project-card,
.feature-tile,
.form-side,
.contact-highlight {
    border-radius: 8px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: var(--surface);
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.service-card {
    position: relative;
    min-height: 230px;
    padding: 2rem;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #c91c28, #8d1119);
}

.service-card span,
.project-card span {
    color: var(--brand);
}

.service-card h3,
.content-card h2,
.project-card h2,
.feature-tile h3 {
    color: var(--text);
    line-height: 1.16;
}

.service-card p,
.content-card p,
.project-card p,
.contact-card a,
.project-partner {
    color: var(--muted);
}

.home-works-section {
    background:
        linear-gradient(180deg, rgba(17, 24, 39, 0.03), rgba(17, 24, 39, 0.07)),
        var(--bg);
}

.home-works-section .home-works-heading {
    margin-top: -1.2rem;
    margin-bottom: 3rem;
}

.project-grid {
    gap: 1.75rem;
}

.project-card {
    overflow: hidden;
}

.project-card-visual {
    min-height: 250px;
    border-bottom: 0;
    background: linear-gradient(135deg, #e8eaee, #ffffff);
}

.project-card-visual::after {
    inset: 0;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(14, 20, 30, 0.26) 0%, rgba(14, 20, 30, 0.02) 42%, rgba(14, 20, 30, 0.66) 100%);
}

.project-card-controls {
    inset: 1rem 1rem auto auto;
    gap: 0.35rem;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.68);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.22);
    backdrop-filter: blur(14px);
}

.project-card-nav {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 6px;
    background: transparent;
    color: #14b8a6;
    box-shadow: none;
    font-size: 1.28rem;
    transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.project-card-nav span {
    color: inherit;
}

.project-card-nav:hover,
.project-card-nav:focus {
    background: transparent;
    color: #14b8a6;
    transform: none;
}

.project-card-dots {
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.68);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.22);
    backdrop-filter: blur(14px);
}

.project-card-dot {
    width: 0.52rem;
    height: 0.52rem;
    background: rgba(255, 255, 255, 0.44);
    transition: width 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.project-card-dot.is-active {
    width: 1.45rem;
    background: #14b8a6;
    transform: none;
}

.project-card-body {
    padding: 1.55rem;
}

.works-summary {
    border-radius: 8px;
    background: linear-gradient(135deg, #111827, #7f0d15);
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.16);
}

.section-dark {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(44, 20, 28, 0.94)),
        #111827;
}

.section-dark .section-heading {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .section-heading h2,
.section-dark .section-heading p {
    color: var(--white);
}

.feature-tile {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.feature-tile h3,
.feature-tile p {
    color: var(--white);
}

.cta-banner {
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(127, 13, 21, 0.9)),
        url("../images/projects/fotograflar/TunaLifeCenterAlisverisMerkezi1.png") center / cover no-repeat;
}

.inner-hero {
    padding: 6rem 0 3.5rem;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(127, 13, 21, 0.78)),
        url("../images/projects/ekfoto/AydinTekstilYeniFabrikaInsaatiEkFoto3.jpg") center / cover no-repeat;
}

.inner-hero h1 {
    max-width: 980px;
    color: var(--white);
    font-size: clamp(2.6rem, 5vw, 5.3rem);
}

.inner-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
}

.form-control {
    border-radius: 8px;
    border-color: rgba(17, 24, 39, 0.14);
}

.site-footer {
    background: #111827;
}

.footer-brand {
    border-radius: 0;
}

.service-card:hover,
.service-card:focus-within,
.content-card:hover,
.content-card:focus-within,
.project-card:hover,
.project-card:focus-within,
.feature-tile:hover,
.feature-tile:focus-within,
.hero-panel:hover,
.hero-panel:focus-within,
.hero-metrics div:hover,
.hero-metrics div:focus-within,
.cta-banner:hover,
.cta-banner:focus-within,
.form-side:hover,
.contact-highlight:hover,
.signal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(17, 24, 39, 0.14);
}

.service-card:hover,
.service-card:focus-within,
.content-card:hover,
.content-card:focus-within,
.project-card:hover,
.project-card:focus-within {
    background: var(--surface);
}

.service-card:hover h3,
.service-card:focus-within h3,
.content-card:hover h2,
.content-card:focus-within h2,
.project-card:hover h2,
.project-card:focus-within h2 {
    color: var(--brand-ink);
}

.section-heading h2:hover,
.section-dark .section-heading h2:hover,
.hero-title:hover,
.inner-hero h1:hover {
    color: inherit;
    text-shadow: none;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 5rem 0 4rem;
    }

    .section-heading,
    .works-heading-copy,
    .home-works-heading > div:first-child {
        padding: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .section-heading h2,
    .inner-hero h1,
    .hero-title {
        font-size: 2.15rem;
        line-height: 1.05;
    }

    .section-block {
        padding: 4.25rem 0;
    }
}

/* Career panel final override */
.form-shell .form-side {
    position: relative;
    min-height: 100%;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(127, 13, 21, 0.9)),
        url("../images/projects/ekfoto/AydinTekstilYeniFabrikaInsaatiEkFoto2.jpg") center / cover no-repeat;
    color: var(--white);
    box-shadow: 0 24px 64px rgba(17, 24, 39, 0.16);
}

.form-shell .form-side h2 {
    margin: 0 0 0.85rem;
    color: var(--white);
    font-size: clamp(1.85rem, 2.5vw, 2.65rem);
    line-height: 1.05;
}

.form-shell .form-side p {
    max-width: 21rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.form-shell .career-side-list span {
    color: rgba(255, 255, 255, 0.94);
}

.contact-map-heading {
    width: 100%;
    max-width: none;
}

/* Contact page */
.contact-hero {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(127, 13, 21, 0.72)),
        url("../images/projects/ekfoto/MixKayseriYasamMerkeziEkFoto1.jpg") center / cover no-repeat;
}

.contact-overview-section {
    padding-bottom: 4rem;
}

.contact-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1.75rem;
    align-items: stretch;
}

.contact-main-card,
.contact-side-card,
.contact-map-shell {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.contact-main-card {
    padding: clamp(1.6rem, 3vw, 2.5rem);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
        var(--surface);
}

.contact-main-card h2 {
    margin: 0 0 0.65rem;
    color: var(--text);
    font-size: clamp(2.25rem, 4vw, 4.2rem);
    line-height: 1;
}

.contact-company-name {
    max-width: 760px;
    margin-bottom: 2rem;
    color: var(--muted);
    font-weight: 700;
}

.contact-info-list {
    display: grid;
    gap: 0.85rem;
}

.contact-info-item {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-left: 3px solid #c91c28;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: inherit;
    text-decoration: none;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.contact-info-item:hover,
.contact-info-item:focus {
    transform: translateY(-2px);
    border-color: rgba(201, 28, 40, 0.24);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.contact-info-item span,
.contact-side-card span {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-info-item strong {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.35;
}

.contact-side-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: clamp(1.6rem, 3vw, 2rem);
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(127, 13, 21, 0.9)),
        url("../images/projects/ekfoto/KayseriOSBUluslararasiFuarMerkeziEkFoto1.jpg") center / cover no-repeat;
    color: var(--white);
}

.contact-side-card strong {
    display: block;
    margin: 0.65rem 0 1rem;
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    line-height: 1.05;
}

.contact-side-card p {
    color: rgba(255, 255, 255, 0.82);
}

.contact-side-card .btn {
    width: fit-content;
    margin-top: 0.5rem;
}

.contact-map-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    overflow: hidden;
    background: var(--surface);
}

.contact-map-copy {
    padding: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-map-copy h2 {
    margin: 0.45rem 0 0.85rem;
    color: var(--text);
    font-size: clamp(1.9rem, 3vw, 3.2rem);
    line-height: 1.04;
}

.contact-map-copy p {
    color: var(--muted);
}

.contact-map-shell .contact-map-frame {
    min-height: 480px;
    border: 0;
    border-left: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 0;
    box-shadow: none;
}

.contact-map-shell .contact-map-frame iframe {
    min-height: 480px;
}

@media (max-width: 991.98px) {
    .contact-overview-grid,
    .contact-map-shell {
        grid-template-columns: 1fr;
    }

    .contact-map-shell .contact-map-frame {
        border-left: 0;
        border-top: 1px solid rgba(17, 24, 39, 0.08);
    }
}

/* Works page */
.works-hero {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(127, 13, 21, 0.72)),
        url("../images/projects/ekfoto/TunaAVMProjesiEkFoto4.jpg") center / cover no-repeat;
}

.works-projects-section {
    position: relative;
    background:
        linear-gradient(180deg, rgba(17, 24, 39, 0.025), rgba(17, 24, 39, 0.075)),
        var(--bg);
}

.works-projects-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 18rem;
    background: linear-gradient(180deg, rgba(127, 13, 21, 0.08), rgba(127, 13, 21, 0));
    pointer-events: none;
}

.works-projects-section .container {
    position: relative;
}

.works-projects-section .works-heading {
    margin-bottom: 0;
}

.works-heading-copy {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.works-heading-copy::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #c91c28, #8d1119);
}

.works-heading-copy h2 {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.works-heading-copy p {
    max-width: 1060px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.75;
}

.project-grid-portfolio {
    align-items: stretch;
}

.project-card-portfolio {
    border: 1px solid rgba(17, 24, 39, 0.09);
    background: rgba(255, 255, 255, 0.96);
}

.project-card-portfolio .project-card-visual {
    min-height: 280px;
}

.project-card-portfolio .project-card-body {
    position: relative;
    padding: 1.45rem 1.5rem 1.6rem;
}

.project-card-portfolio .project-card-body > span {
    width: fit-content;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    background: rgba(201, 28, 40, 0.08);
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.project-card-portfolio h2 {
    font-size: clamp(1.18rem, 1.5vw, 1.48rem);
}

.project-card-portfolio .project-partner {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    margin: 0;
}

.project-card-portfolio .project-partner::before {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
    flex: 0 0 auto;
}

.project-card-portfolio .project-meta {
    display: inline-flex;
    flex: 0 0 auto;
    margin-top: 0;
    white-space: nowrap;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(17, 24, 39, 0.04);
    color: var(--muted-strong);
}

.project-card-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

/* About page */
.about-hero {
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(127, 13, 21, 0.74)),
        url("../images/projects/ekfoto/MixKayseriYasamMerkeziEkFoto2.jpg") center / cover no-repeat;
}

.about-intro-section {
    padding-bottom: 4rem;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.75rem;
    align-items: stretch;
}

.about-story-panel,
.about-visual-panel,
.about-value-card {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.about-story-panel {
    padding: clamp(1.6rem, 3vw, 2.5rem);
}

.about-story-panel h2 {
    max-width: 860px;
    margin: 0 0 1rem;
    color: var(--text);
    font-size: clamp(2rem, 3.4vw, 3.45rem);
    line-height: 1.04;
}

.about-story-panel p {
    max-width: 820px;
    color: var(--muted);
}

.about-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
}

.about-proof-grid div {
    padding: 1rem;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-left: 3px solid #c91c28;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(245, 246, 248, 0.9), rgba(255, 255, 255, 0.94));
}

.about-proof-grid strong {
    display: block;
    color: var(--brand-ink);
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    line-height: 1;
}

.about-proof-grid span {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.about-visual-panel {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #111827;
}

.about-visual-panel img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    opacity: 0.86;
}

.about-visual-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.72));
}

.about-visual-card {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 1;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.74);
    color: var(--white);
    backdrop-filter: blur(14px);
}

.about-visual-card span {
    display: block;
    margin-bottom: 0.45rem;
    color: #14b8a6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-visual-card strong {
    display: block;
    max-width: 24rem;
    font-size: clamp(1.25rem, 2.2vw, 1.9rem);
    line-height: 1.08;
}

.about-values-grid,
.about-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-value-card {
    position: relative;
    min-height: 240px;
    padding: 1.7rem;
    overflow: hidden;
}

.about-value-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #c91c28, #8d1119);
}

.about-value-card span {
    color: var(--brand);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.about-value-card h3 {
    margin: 1.1rem 0 0.8rem;
    color: var(--text);
    font-size: 1.35rem;
}

.about-value-card p {
    color: var(--muted);
}

.about-process-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.about-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-process-grid .feature-tile {
    min-height: 190px;
}

.about-cta {
    align-items: center;
}

.about-cta h2 {
    max-width: 760px;
}

@media (max-width: 991.98px) {
    .about-intro-grid,
    .about-values-grid,
    .about-process-grid {
        grid-template-columns: 1fr;
    }

    .about-visual-panel img {
        min-height: 360px;
    }

    .about-proof-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile layout hardening */
html,
body {
    overflow-x: hidden;
}

.navbar-collapse,
.project-card,
.section-heading,
.contact-info-item,
.about-story-panel,
.career-form-card,
.form-side {
    min-width: 0;
}

.hero-title,
.inner-hero h1,
.section-heading h2,
.project-card h2,
.about-story-panel h2,
.contact-main-card h2,
.contact-map-copy h2,
.about-visual-card strong {
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .container {
        max-width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .row {
        --gutter-x: 1rem;
    }

    .g-5 {
        --gutter-x: 1rem;
        --gutter-y: 1.75rem;
    }

    .site-header {
        max-height: 100dvh;
        overflow-y: auto;
    }

    .navbar {
        padding: 0.55rem 0;
    }

    .navbar > .container {
        gap: 0.65rem;
    }

    .navbar-collapse.show {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        background: rgba(17, 24, 39, 0.96);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    }

    .navbar-nav {
        gap: 0.35rem;
        padding-top: 0;
    }

    .nav-link,
    .navbar .btn-brand {
        width: 100%;
        justify-content: flex-start;
        padding: 0.8rem 0.9rem;
    }

    .hero-section,
    .inner-hero {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

    .hero-title,
    .inner-hero h1 {
        max-width: 100%;
    }

    .hero-text,
    .inner-hero p,
    .section-heading p {
        max-width: 100%;
    }

    .hero-panel,
    .section-heading,
    .works-heading-copy,
    .home-works-heading > div:first-child,
    .contact-main-card,
    .contact-side-card,
    .contact-map-copy,
    .about-story-panel,
    .career-form-card,
    .form-side,
    .cta-banner {
        padding: 1.25rem;
    }

    .hero-metrics,
    .about-proof-grid {
        gap: 0.75rem;
    }

    .home-works-heading,
    .works-heading {
        align-items: stretch;
    }

    .works-summary,
    .works-summary-home {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .project-grid,
    .project-grid.project-grid-home,
    .project-grid.project-grid-portfolio,
    .about-values-grid,
    .about-process-grid,
    .contact-overview-grid,
    .contact-map-shell,
    .form-shell {
        grid-template-columns: 1fr;
    }

    .project-card-visual,
    .project-card-portfolio .project-card-visual {
        min-height: 230px;
    }

    .about-visual-panel img,
    .contact-map-shell .contact-map-frame,
    .contact-map-shell .contact-map-frame iframe {
        min-height: 320px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }

    .brand-logo {
        width: 96px;
    }

    .navbar-toggler {
        width: 2.5rem;
        height: 2.35rem;
    }

    .hero-section,
    .inner-hero {
        padding-top: 2.75rem;
        padding-bottom: 2.5rem;
    }

    .hero-title,
    .inner-hero h1,
    .section-heading h2 {
        font-size: 1.85rem;
        line-height: 1.12;
    }

    .hero-text,
    .inner-hero p,
    .section-heading p,
    .site-footer p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .section-block {
        padding: 3.25rem 0;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-actions .btn,
    .home-works-actions .btn,
    .contact-side-card .btn,
    .career-form-card .btn-brand {
        width: 100%;
    }

    .hero-metrics div,
    .about-proof-grid div {
        padding: 0.95rem;
    }

    .hero-metrics strong,
    .works-summary strong {
        font-size: 1.55rem;
    }

    .project-card-compact h2,
    .project-card-portfolio h2 {
        font-size: 1.18rem;
        line-height: 1.24;
    }

    .project-card-portfolio .project-card-body {
        padding: 1.15rem;
    }

    .project-card-info-row {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .project-card-portfolio .project-partner {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .project-card-portfolio .project-meta {
        margin-left: auto;
        padding: 0.55rem 0.75rem;
        font-size: 0.86rem;
    }

    .project-card-controls {
        top: auto;
        right: 0.75rem;
        bottom: 0.75rem;
        left: auto;
        width: auto;
        height: auto;
        padding: 0.18rem;
        gap: 0.25rem;
        border-radius: 8px;
    }

    .project-card-dots {
        left: 0.75rem;
        right: auto;
        bottom: 0.75rem;
        max-width: calc(100% - 6.2rem);
        transform: none;
        padding: 0.35rem 0.45rem;
        overflow: hidden;
    }

    .project-card-nav {
        width: 1.95rem;
        height: 1.95rem;
        font-size: 1.05rem;
    }

    .project-card-dot {
        width: 0.48rem;
        height: 0.48rem;
        flex: 0 0 auto;
    }

    .project-card-dot.is-active {
        width: 1.25rem;
    }

    .contact-main-card h2,
    .about-story-panel h2,
    .contact-map-copy h2 {
        font-size: 1.8rem;
        line-height: 1.12;
    }

    .contact-info-item strong,
    .site-footer a {
        overflow-wrap: anywhere;
    }

    .career-form-card .form-control-file::file-selector-button {
        width: 100%;
        margin: 0 0 0.55rem;
    }
}

@media (max-width: 420px) {
    .container {
        padding-right: 0.7rem;
        padding-left: 0.7rem;
    }

    .hero-title,
    .inner-hero h1,
    .section-heading h2 {
        font-size: 1.65rem;
    }

    .hero-panel,
    .section-heading,
    .works-heading-copy,
    .home-works-heading > div:first-child,
    .contact-main-card,
    .contact-side-card,
    .about-story-panel,
    .career-form-card,
    .form-side,
    .cta-banner {
        padding: 1rem;
    }

    .project-card-visual,
    .project-card-portfolio .project-card-visual {
        min-height: 205px;
    }
}

