:root {
    --navy: #06355c;
    --ink: #0a2a45;
    --blue: #1574bc;
    --sky: #4eb4ea;
    --ice: #eaf5fc;
    --line: rgba(21, 116, 188, 0.2);
    --shadow: 0 18px 50px rgba(6, 53, 92, 0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f7fbfe 0%, #dceef8 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 8;
    opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
    width: min(1480px, calc(100% - 28px));
    margin: 0 auto;
    padding: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 8px 6px 16px;
    flex-shrink: 0;
}

.brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
}

.call svg { width: 16px; height: 16px; stroke: #fff; }

.stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-rows: 1fr auto;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

.hero {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(165deg, var(--navy) 0%, #0c4d80 48%, var(--blue) 100%);
    color: #fff;
    padding: 28px 32px 24px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: var(--shadow);
}

.hero-copy { position: relative; z-index: 1; }

.kicker {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    opacity: .78;
    margin-bottom: 12px;
}

h1 { display: grid; gap: 6px; }

.script {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-size: clamp(40px, 4.8vw, 68px);
    line-height: .95;
    font-weight: 400;
}

.line {
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #cfe9fb;
}

.tag {
    margin-top: 14px;
    font-size: 16px;
    color: #d7eefc;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
}

.btn-solid { background: #fff; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }

.hero-visual {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
    min-height: 160px;
    border: 1px solid rgba(255,255,255,.16);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 45%;
}

.orb {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(from 200deg, var(--sky), #fff, var(--blue));
}

.services {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 8px;
    min-height: 0;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.ico {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #e7f4fc;
    color: var(--blue);
}

.ico svg { width: 22px; height: 22px; }

.card-txt { display: grid; gap: 2px; min-width: 0; }

.card h2 {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.25;
}

.card-txt small {
    font-size: 11px;
    font-weight: 500;
    color: var(--blue);
    line-height: 1.25;
}

.slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.slot {
    min-height: 70px;
    border-radius: 14px;
    border: 1.5px dashed rgba(21, 116, 188, .38);
    background: rgba(255,255,255,.5);
}

.foot {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    font-size: 13px;
    color: var(--navy);
    flex-shrink: 0;
}

.foot a { display: flex; align-items: center; gap: 10px; }
.foot svg { width: 16px; height: 16px; stroke: var(--blue); flex: 0 0 16px; }
.copy { opacity: .7; font-size: 12px; }
.copy .credit { color: var(--navy); font-weight: 600; }

.wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 12;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(21, 116, 188, .45);
}

.wa svg { width: 22px; height: 22px; stroke: #fff; }

.article {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

.article-open {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.article-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
    border-radius: 28px;
    background: linear-gradient(165deg, var(--navy) 0%, #0c4d80 48%, var(--blue) 100%);
    color: #fff;
    padding: 20px 28px 40px;
    box-shadow: var(--shadow);
    min-height: 0;
}

.article-hero.has-photo {
    grid-template-columns: minmax(0, 1.25fr) minmax(200px, 32%);
}

.article-copy {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.article-hero.has-photo .hero-photo {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    align-self: stretch;
    max-height: 100%;
}

.article-hero h1 { margin-bottom: 8px; }

.article-hero .script {
    font-size: clamp(28px, 3vw, 44px);
}

.article-hero .subline {
    display: block;
    margin-top: 6px;
    font-family: "DM Sans", system-ui, sans-serif;
    font-style: normal;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 500;
    letter-spacing: .01em;
    text-transform: none;
    color: #9be0ff;
}

.article-hero .lead {
    margin: 4px 0 0;
    max-width: 58ch;
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.55;
    color: #fff;
}

.article-hero .sign {
    position: absolute;
    right: 24px;
    bottom: 14px;
    margin: 0;
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-size: clamp(20px, 1.8vw, 28px);
    line-height: 1;
    color: #fff;
    z-index: 3;
    pointer-events: none;
}

.article-hero .lead strong {
    color: #fff;
    font-weight: 700;
}

.article-hero .lead a {
    color: #9be0ff;
    font-weight: 600;
    border-bottom: 1px solid rgba(155, 224, 255, .55);
}

.article-hero .lead a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.hero-photo {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(4, 22, 40, .28);
    min-height: 0;
    height: 100%;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.prose {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px 32px;
}

.prose p {
    max-width: 72ch;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 18px;
    color: var(--ink);
}

.prose p a {
    color: var(--blue);
    font-weight: 600;
    border-bottom: 1px solid rgba(21, 116, 188, .35);
}

.prose p strong { color: var(--navy); }

.prose-open {
    padding: 14px 28px 16px;
}

.prose-open p { margin-bottom: 0; }

.slogan {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    text-align: center;
}

.slogan-title {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-size: clamp(22px, 2.2vw, 30px);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 4px;
}

.slogan-line {
    font-size: 14px;
    letter-spacing: .04em;
    color: var(--blue);
    font-style: italic;
}

.prose { overflow: hidden; }

.prose-fig {
    float: right;
    width: min(280px, 34%);
    margin: 4px 0 16px 24px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ice);
}

.prose-fig img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.shots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.shot {
    margin: 0;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    min-height: 0;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
    appearance: none;
    display: block;
    width: 100%;
}

.shot img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: var(--ice);
}

/* Large desktop: home locks to one viewport */
@media (min-width: 1100px) {
    body.home { height: 100dvh; overflow: hidden; }
    body.home .shell { height: 100dvh; }
    body.inner { overflow: auto; }
    body.inner .shell {
        height: auto;
        min-height: 100dvh;
        padding-bottom: 24px;
    }
    body.inner .article-open {
        height: calc(100dvh - 88px);
    }
    body.inner .article-hero {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
    }
    body.inner .hero-photo img {
        max-height: none;
        height: 100%;
    }
    body.inner .prose-open {
        flex: 0 0 auto;
    }
}

/* Phone: three stacked screens */
@media (max-width: 1099px) {
    .nav { gap: 6px 10px; font-size: 12px; }
    .prose-fig {
        float: right;
        width: 42%;
        max-width: 168px;
        margin: 4px 0 10px 12px;
    }
    .prose-fig img { height: 110px; }
    .shots { grid-template-columns: 1fr 1fr; }
    .shot img { height: 110px; }
    .call span { display: none; }
    .brand img { height: 40px; }
    .top { border-radius: 22px; }

    .shell {
        width: calc(100% - 18px);
        padding-bottom: 84px;
        gap: 14px;
    }

    .stage {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .hero {
        min-height: calc(100svh - 78px);
        padding: 26px 22px 22px;
    }

    .hero-visual { min-height: 36vh; }

    .services {
        min-height: 100svh;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        align-content: stretch;
    }

    .card {
        min-height: 14svh;
        padding: 18px 20px;
    }

    .card h2 { font-size: 18px; }

    .slots {
        grid-template-columns: 1fr;
        min-height: 40svh;
    }

    .slot { min-height: 16svh; }

    .foot {
        min-height: 50svh;
        grid-template-columns: 1fr;
        align-content: center;
        gap: 22px;
        padding: 28px 20px;
        font-size: 15px;
    }

    .article-hero, .prose { padding: 22px 18px; border-radius: 22px; }
    .article-hero,
    .article-hero.has-photo {
        display: grid;
        grid-template-columns: 1fr;
        min-height: calc(100svh - 76px);
        padding: 26px 22px 68px;
        gap: 0;
    }
    .article-hero .hero-photo { display: none; }
    .article-hero .lead {
        max-width: none;
        font-size: clamp(16px, 4.2vw, 19px);
        line-height: 1.72;
    }
    .article-hero .sign {
        right: 18px;
        bottom: 18px;
        font-size: 26px;
    }
    .shots { grid-template-columns: 1fr; }
    body.home .shell { min-height: 300svh; }
}

.list-services {
    grid-template-rows: none;
    grid-template-columns: repeat(3, 1fr);
}

.article-hero.hizmet-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 22px 48px;
    min-height: 0;
}

.hizmet-head h1 { margin: 0; }
.hizmet-head .script { font-size: clamp(28px, 3vw, 42px); }

.hizmet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    flex: 1;
    min-height: 0;
}

.hizmet-tile {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    min-height: 0;
    background: rgba(4, 22, 40, .25);
}

.hizmet-tile img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    display: block;
}

.hizmet-tile span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 15px;
    display: grid;
    gap: 2px;
    background: linear-gradient(transparent, rgba(6, 53, 92, .88));
}

.hizmet-tile span small {
    font-size: 11px;
    font-weight: 500;
    opacity: .92;
}

.hizmet-tile:hover img { transform: scale(1.04); }
.hizmet-tile img { transition: transform .35s ease; }

@media (min-width: 1100px) {
    .article-hero.hizmet-hero {
        height: calc(100dvh - 88px);
    }
    .hizmet-tile img { min-height: 0; }
}

@media (max-width: 1099px) {
    .list-services { grid-template-columns: 1fr; }
    .article-hero.hizmet-hero {
        min-height: auto;
        height: auto;
        padding-bottom: 56px;
    }
    .hizmet-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hizmet-tile img { min-height: 0; height: 28vw; max-height: 160px; }
    .hizmet-tile span { font-size: 13px; padding: 10px 12px; }
}

.article-hero.contact-hero {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr;
    gap: 20px;
    align-items: stretch;
    padding: 20px;
}

.contact-copy {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: 8px 8px 8px 12px;
}

.contact-role {
    margin: 2px 0 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 12px;
    color: #cfe9fb;
}

.contact-links {
    display: grid;
    gap: 10px;
}

.contact-item {
    display: block;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(155, 224, 255, .22);
    color: #fff;
}

.contact-item small {
    display: block;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #9be0ff;
    margin-bottom: 4px;
}

.contact-item strong {
    font-size: clamp(16px, 1.35vw, 22px);
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.contact-item:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #9be0ff;
}

.contact-jobs-label {
    margin: 18px 0 8px;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #9be0ff;
}

.contact-jobs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-jobs a {
    display: grid;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(155, 224, 255, .25);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.contact-jobs a small {
    font-size: 10px;
    font-weight: 500;
    color: #9be0ff;
}

.contact-jobs a:hover { background: var(--blue); }

.contact-map-wrap {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    min-height: 0;
    height: 100%;
    padding: 7px;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(158, 224, 255, .75), rgba(21, 116, 188, .35) 45%, rgba(6, 53, 92, .55));
    box-shadow:
        0 18px 40px rgba(4, 22, 40, .28),
        inset 0 1px 0 rgba(255, 255, 255, .35);
}

.contact-map {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #0a2a45;
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.25) saturate(1.2) contrast(1.06);
}

.contact-map::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 50px 80px rgba(6, 53, 92, .16);
}

.map-chip {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 10px 24px rgba(6, 53, 92, .28);
    backdrop-filter: blur(10px);
}

@media (min-width: 900px) {
    .article-hero.contact-hero { height: calc(100dvh - 88px); }
}

@media (max-width: 899px) {
    .article-hero.contact-hero {
        grid-template-columns: 1fr !important;
        height: auto;
        min-height: 0;
        padding-bottom: 18px;
    }
    .contact-copy,
    .contact-map-wrap { grid-column: 1; grid-row: auto; }
    .contact-map,
    .contact-map-wrap { min-height: 260px; height: 44vh; }
    .contact-item strong { font-size: 18px; }
}

.lb {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(6, 53, 92, .78);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    padding: 28px 72px 88px;
}

.lb.is-on { display: flex; }

.lb-frame {
    position: relative;
    max-width: min(1100px, 100%);
    max-height: 100%;
    animation: lbIn .35s cubic-bezier(.22, 1, .36, 1);
}

.lb-frame img {
    max-width: min(1100px, 86vw);
    max-height: min(78vh, 820px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(4, 22, 40, .45);
    border: 1px solid rgba(155, 224, 255, .28);
    background: #0a2a45;
}

.lb-btn {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
}

.lb-close { top: 18px; right: 18px; z-index: 2; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.lb-btn:hover { background: var(--blue); }

.lb-count {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    color: #d7eefc;
    font-size: 13px;
    letter-spacing: .12em;
    font-weight: 500;
}

.lb-thumbs {
    position: absolute;
    left: 50%;
    bottom: 44px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    max-width: min(720px, 90vw);
    overflow-x: auto;
    padding: 4px;
}

.lb-thumbs button {
    flex: 0 0 52px;
    height: 40px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    opacity: .55;
}

.lb-thumbs button.is-on {
    opacity: 1;
    border-color: var(--sky);
}

.lb-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes lbIn {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1099px) {
    .lb { padding: 56px 12px 96px; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
    .lb-frame img { max-height: 68vh; }
}
