/* =============================================================================
   Ana sayfa — yalnız ana sayfada yüklenir (HomeController → page_css).
   Tüm sınıflar "hm-" önekli; genel tasarım token'larını ve düğmeleri (style.css, P1: .btn .btn-accent /
   .btn-outline-* / .btn-pill, .vessel-card, [data-aos]) kullanır; tanımlı değilse aşağıdaki yedek değerlere düşer.
   ============================================================================= */

:root {
    --hm-navy: var(--primary, #0d1b2a);
    --hm-navy-2: var(--primary-light, #1b2d45);
    --hm-blue: var(--brand, #0862be);   /* logo mavisi */
    --hm-blue-light: #8cc2ff;           /* koyu zemin üstünde bağlantı/etiket (≈9:1) */
    --hm-accent: var(--accent, #ef7f1a);
    --hm-ink: #1f2933;
    --hm-muted: #55606c;                /* beyaz üstünde ≈6:1 */
    --hm-soft: #f3f6fa;
    --hm-line: #e2e8f0;
    --hm-radius: 14px;
    --hm-shadow: 0 10px 30px rgba(13, 27, 42, .08);
    --hm-shadow-lg: 0 18px 44px rgba(13, 27, 42, .16);
    --hm-display: var(--font-display, "Barlow Condensed", var(--font-sans, Inter, system-ui, sans-serif));
    --hm-header-h: var(--header-h, 72px);
    --hm-edge: max(16px, calc((100% - 540px) / 2 + 12px));
}
@media (min-width: 768px)  { :root { --hm-edge: max(16px, calc((100% - 720px) / 2 + 12px)); } }
@media (min-width: 992px)  { :root { --hm-edge: max(16px, calc((100% - 960px) / 2 + 12px)); } }
@media (min-width: 1200px) { :root { --hm-edge: max(16px, calc((100% - 1140px) / 2 + 12px)); } }
@media (min-width: 1400px) { :root { --hm-edge: max(16px, calc((100% - 1320px) / 2 + 12px)); } }

/* ---------- Ortak ---------- */
.hm-section { padding: clamp(56px, 8vw, 104px) 0; }

/* Bölüm numarası: turuncu çizgi + "01" (metin eyebrow yerine; başlığı tekrar etmez) */
.hm-num {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 .65rem;
    font-family: var(--hm-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .14em;
    color: var(--hm-blue);
}
.hm-num::before {
    content: "";
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--hm-accent);
    flex: none;
}
.hm-num--light { color: var(--hm-blue-light); }

.hm-title {
    margin: 0;
    font-family: var(--hm-display);
    font-size: clamp(2rem, 1.35rem + 2.3vw, 3.1rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .005em;
    color: var(--hm-navy);
    text-wrap: balance;
}

.hm-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 3rem;
    margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.hm-head > div { max-width: 640px; }

.hm-center { margin-top: 2.25rem; text-align: center; }
.hm-more-btn { display: inline-flex; align-items: center; gap: .5rem; }
.hm-more-btn .bi { transition: transform .2s ease; }
.hm-more-btn:hover .bi { transform: translateX(3px); }

.hm-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    color: var(--hm-blue);
    text-decoration: none;
}
.hm-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hm-link .bi { transition: transform .2s ease; }
.hm-link:hover .bi { transform: translateX(3px); }

.hm-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    font-size: .9rem;
    color: var(--hm-blue);
    white-space: nowrap;
}
.hm-more .bi { transition: transform .2s ease; }

/* Kartın tamamını tıklanabilir yapan bağlantı (başlıktaki <a>) */
.hm-stretched { text-decoration: none; }
.hm-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hm-stretched:focus-visible { outline: none; }

/* ---------- Hero (şeffaf header altında başlar) ---------- */
.hm-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: calc(clamp(560px, 80vh, 820px) + var(--hm-header-h));
    margin-top: calc(-1 * var(--hm-header-h));
    overflow: hidden;
    color: #fff;
    background: var(--hm-navy);
}
.hm-hero-media,
.hm-hero-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.hm-hero-media { z-index: -2; overflow: hidden; }
.hm-hero-media img {
    object-fit: cover;
    object-position: 62% 50%;
    transform-origin: 62% 50%;
    animation: hm-kenburns 14s ease-out both;   /* Ken Burns: 1.06 → 1 */
}
@keyframes hm-kenburns {
    from { transform: scale(1.06); }
    to { transform: none; }
}
.hm-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 17, 29, .55) 0, rgba(7, 17, 29, 0) calc(var(--hm-header-h) + 96px)),
        linear-gradient(90deg, rgba(7, 17, 29, .9) 0%, rgba(7, 17, 29, .74) 36%, rgba(7, 17, 29, .2) 68%, rgba(7, 17, 29, 0) 100%),
        linear-gradient(0deg, rgba(7, 17, 29, .55) 0%, rgba(7, 17, 29, 0) 38%);
}
.hm-hero-inner { padding-block: calc(var(--hm-header-h) + clamp(48px, 8vh, 96px)) clamp(56px, 9vh, 104px); }
.hm-hero-content { max-width: 720px; }
.hm-kicker {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 .9rem;
    font-family: var(--hm-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hm-blue-light);
}
.hm-kicker::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--hm-accent);
    flex: none;
}
.hm-hero-title {
    margin: 0 0 1rem;
    font-family: var(--hm-display);
    font-size: clamp(2.8rem, 2rem + 4vw, 5.2rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: .005em;
    color: #fff;
    text-wrap: balance;
}
.hm-hero-lead {
    max-width: 34rem;
    margin: 0 0 2rem;
    font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, .9);
}
.hm-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* Hero düğmeleri bilinçli pill (P1 .btn-pill yoksa da) */
.hm-hero .hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 999px;
    padding-inline: 1.65rem;
    font-weight: 700;
}
.hm-hero .hm-btn .bi { transition: transform .2s ease; }
.hm-hero .hm-btn:hover .bi-arrow-right { transform: translateX(3px); }
.hm-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 1.5px solid rgba(255, 255, 255, .6);
}
.hm-btn-ghost:hover,
.hm-btn-ghost:focus-visible { color: var(--hm-navy); background: #fff; border-color: #fff; }
.hm-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
    margin-top: 1.75rem;
}
.hm-video-btn {
    display: inline-flex;
    margin-left: 6px;
    align-items: center;
    gap: .75rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.hm-video-btn-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.35rem;
    color: var(--hm-navy);
    background: #fff;
    transition: transform .2s ease;
}
.hm-video-btn-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .45);
}
.hm-video-btn:hover { color: #fff; }
.hm-video-btn:hover .hm-video-btn-icon { transform: scale(1.08); }
.hm-video-btn:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.hm-hero-tel {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
    text-decoration: none;
}
.hm-hero-tel:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hm-hero-caption {
    position: absolute;
    right: 16px;
    bottom: 12px;
    margin: 0;
    font-size: .75rem;
    color: rgba(255, 255, 255, .75);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.hm-hero a:focus-visible,
.hm-hero .btn:focus-visible { outline: 3px solid var(--hm-blue-light); outline-offset: 3px; }

/* Mobil: fotoğraf üstte tam görünür (9:8 kırpım), metin altta koyulaşan zeminde */
@media (max-width: 767.98px) {
    .hm-hero { display: block; min-height: 0; }
    .hm-hero-media { position: relative; inset: auto; height: auto; aspect-ratio: 9 / 8; }
    .hm-hero-media img { object-position: 50% 50%; }
    .hm-hero-shade {
        background:
            linear-gradient(180deg, rgba(7, 17, 29, .5) 0, rgba(7, 17, 29, 0) calc(var(--hm-header-h) + 40px)),
            linear-gradient(180deg,
                rgba(7, 17, 29, 0) 0,
                rgba(7, 17, 29, .05) 38vw,
                rgba(7, 17, 29, .82) 68vw,
                var(--hm-navy) 88vw);
    }
    .hm-hero-inner { position: relative; margin-top: -26vw; padding-block: 0 44px; }
    .hm-hero-title { font-size: clamp(2.5rem, 1.6rem + 4.6vw, 3.2rem); }
    .hm-hero-lead { margin-bottom: 1.5rem; color: rgba(255, 255, 255, .86); }
    .hm-hero-actions .btn { flex: 1 1 auto; }
    .hm-hero-meta { gap: .9rem 1.5rem; }
    .hm-hero-caption { display: none; }
}

/* ---------- 01 Hizmetler ---------- */
.hm-services { background: #fff; }
.hm-svc {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hm-svc:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-lg); border-color: transparent; }
.hm-svc:focus-within { outline: 3px solid var(--hm-blue); outline-offset: 3px; }
.hm-svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hm-navy-2); }
.hm-svc-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.hm-svc:hover .hm-svc-media img { transform: scale(1.04); }
.hm-svc-noimg {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    color: rgba(255, 255, 255, .5);
    background: linear-gradient(160deg, #143a63, #0d1b2a);
}
.hm-svc-icon {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    margin: -23px 0 0 1.2rem;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.45rem;
    color: #fff;
    background: var(--hm-blue);
    box-shadow: 0 8px 18px rgba(8, 98, 190, .35);
}
.hm-svc-icon svg,
.hm-svc-noimg svg { width: 1em; height: 1em; }
.hm-svc-body {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1.3rem 1.3rem;
}
.hm-svc-title {
    margin: 0;
    font-family: var(--hm-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
}
.hm-svc-title a { color: var(--hm-navy); }
.hm-svc-go {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--hm-blue);
    border: 1.5px solid var(--hm-line);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hm-svc:hover .hm-svc-go { color: #fff; background: var(--hm-blue); border-color: var(--hm-blue); }
@media (max-width: 575.98px) {
    .hm-svc-icon { width: 38px; height: 38px; margin: -19px 0 0 .85rem; border-radius: 10px; font-size: 1.2rem; }
    .hm-svc-body { padding: .7rem .85rem .95rem; gap: .5rem; }
    .hm-svc-title { font-size: 1.2rem; }
    .hm-svc-go { display: none; } /* kartın tamamı bağlantı; dar sütunda başlığa yer kalsın */
}
.hm-post:hover .hm-more .bi { transform: translateX(3px); }

/* ---------- 02 Filo vitrini ---------- */
.hm-fleet { overflow: hidden; color: #fff; background: var(--hm-navy); }
.hm-fleet .hm-title { color: #fff; }
.hm-fleet-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.hm-fleet-filters {
    display: flex;
    gap: .5rem;
    max-width: 100%;
    padding: 4px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.hm-fleet-filters::-webkit-scrollbar { display: none; }
.hm-fleet-filters[hidden],
.hm-fleet-nav[hidden] { display: none; }
.hm-chip {
    flex: none;
    padding: .5rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hm-chip:hover { border-color: #fff; }
.hm-chip[aria-pressed="true"] { color: var(--hm-navy); background: #fff; border-color: #fff; }
.hm-fleet-nav { display: flex; gap: .5rem; }
/* Telefonda kaydırma parmakla yapılır; oklar ayrı bir satır kaplamasın */
@media (max-width: 575.98px) { .hm-fleet-nav { display: none; } }
.hm-round-btn {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    font-size: 1.1rem;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.hm-round-btn:hover:not(:disabled) { color: var(--hm-navy); background: #fff; }
.hm-round-btn:disabled { opacity: .35; cursor: default; }
.hm-chip:focus-visible,
.hm-round-btn:focus-visible { outline: 3px solid var(--hm-blue-light); outline-offset: 2px; }

.hm-fleet-track {
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: .5rem var(--hm-edge) 1.5rem;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--hm-edge);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .3) transparent;
}
.hm-fleet-track::-webkit-scrollbar { height: 6px; }
.hm-fleet-track::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .3); border-radius: 3px; }
.hm-vessel { flex: 0 0 clamp(262px, 78vw, 320px); scroll-snap-align: start; }
.hm-vessel[hidden] { display: none; }
/* P1 partials/vessel-card (koyu varyant) şerit içinde eşit yükseklikte */
.hm-vessel > .vessel-card { height: 100%; }

/* Yedek kart (partials/vessel-card yoksa) */
.hm-vessel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--hm-navy-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--hm-radius);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hm-vessel-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .22); box-shadow: 0 16px 36px rgba(0, 0, 0, .35); }
.hm-vessel-card:focus-within { outline: 3px solid var(--hm-blue-light); outline-offset: 3px; }
.hm-vessel-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(160deg, #143a63, #0d1b2a);
}
.hm-vessel-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.hm-vessel-card:hover .hm-vessel-media img { transform: scale(1.04); }
.hm-vessel-cat {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .3rem .7rem;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    background: rgba(13, 27, 42, .8);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.hm-vessel-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding: 1rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(160deg, #143a63 0%, #0d1b2a 100%);
}
.hm-vessel-ph .bi { font-size: 2.4rem; opacity: .85; }
.hm-vessel-ph-name { font-family: var(--hm-display); font-size: 1.4rem; font-weight: 700; }
.hm-vessel-body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 1.2rem 1.25rem; }
.hm-vessel-name { margin: 0; font-family: var(--hm-display); font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
.hm-vessel-name a { color: #fff; }
.hm-vessel-kind {
    margin: .2rem 0 0;
    overflow: hidden;
    font-size: .88rem;
    color: rgba(255, 255, 255, .72);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ---------- 03 Tek muhatap ---------- */
.hm-why { background: var(--hm-soft); }
.hm-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem 1.5rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 576px) { .hm-trust { grid-template-columns: 1fr 1fr; } }
.hm-trust-item { display: flex; align-items: center; gap: .9rem; }
.hm-trust-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: var(--hm-blue);
    background: rgba(8, 98, 190, .1);
}
.hm-ico { display: block; width: 26px; height: 26px; }
.hm-trust-title {
    margin: 0;
    font-family: var(--hm-display);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--hm-navy);
}

.hm-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(96px, 15vw, 160px);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hm-mosaic-item--lg { grid-column: span 2; grid-row: span 2; }
/* Pasif araç atlandığında boşluk kalmasın */
.hm-mosaic--n5 .hm-mosaic-item:last-child { grid-column: span 2; }
.hm-mosaic--n4 .hm-mosaic-item:last-child { grid-column: 1 / -1; }
.hm-mosaic--n2 .hm-mosaic-item:last-child { grid-row: span 2; }
.hm-mosaic--n1 .hm-mosaic-item--lg { grid-column: 1 / -1; }
.hm-mosaic-item a {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--hm-navy-2);
}
.hm-mosaic-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hm-mosaic-item a:hover img { transform: scale(1.06); }
.hm-mosaic-item a:focus-visible { outline: 3px solid var(--hm-blue); outline-offset: 3px; }
.hm-mosaic-name {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.6rem .7rem .55rem;
    font-family: var(--hm-display);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(0deg, rgba(7, 17, 29, .85), rgba(7, 17, 29, 0));
}
.hm-mosaic-item--lg .hm-mosaic-name { padding: 2.5rem 1rem .85rem; font-size: 1.2rem; }
@media (max-width: 575.98px) { .hm-mosaic { gap: 6px; } .hm-mosaic-name { font-size: .82rem; padding-inline: .5rem; } }

/* ---------- 04 Operasyonlar ---------- */
.hm-ops { background: #fff; }
.hm-op {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    transition: transform .25s ease, box-shadow .25s ease;
}
.hm-op:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-lg); }
.hm-op:focus-within { outline: 3px solid var(--hm-blue); outline-offset: 3px; }
.hm-op-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hm-navy-2); }
.hm-op-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hm-op:hover .hm-op-media img { transform: scale(1.05); }
.hm-op-tag {
    position: absolute;
    top: .8rem;
    left: .8rem;
    padding: .3rem .75rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--hm-navy);
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.hm-op-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    border-radius: 50%;
    font-size: 1.7rem;
    color: var(--hm-navy);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    transition: transform .2s ease;
}
.hm-op:hover .hm-op-play { transform: scale(1.08); }
.hm-op-body { padding: 1.1rem 1.3rem 1.25rem; }
.hm-op-title {
    margin: 0 0 .2rem;
    font-family: var(--hm-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
}
.hm-op-title a { color: var(--hm-navy); }
.hm-op-text { margin: 0; font-size: .88rem; font-weight: 600; line-height: 1.45; color: var(--hm-muted); }

/* ---------- 05 Hızlı teklif: açık zeminde liman fotoğraflı lacivert panel (footer'dan ayrışır) ---------- */
.hm-quote { background: #fff; }
.hm-quote-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.5rem, 4.5vw, 3.75rem);
    color: #fff;
    background: linear-gradient(135deg, #0d1b2a 0%, #112c4a 100%);
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(13, 27, 42, .22);
}
.hm-quote-bg,
.hm-quote-bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.hm-quote-bg { z-index: -2; }
.hm-quote-bg img { object-fit: cover; object-position: 50% 60%; opacity: .2; filter: grayscale(.35); }
.hm-quote-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 420px at 0% 0%, rgba(8, 98, 190, .38), transparent 70%),
        linear-gradient(90deg, rgba(13, 27, 42, .55) 0%, rgba(13, 27, 42, .15) 55%, rgba(13, 27, 42, .45) 100%);
}
.hm-quote .hm-title { color: #fff; }
.hm-quote-tel {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: var(--hm-display);
    font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: .01em;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.hm-quote-tel:hover,
.hm-quote-tel:focus-visible { color: var(--hm-accent); }
.hm-quote-tel:focus-visible { outline: 3px solid var(--hm-blue-light); outline-offset: 4px; }
.hm-contact-list { display: grid; gap: .9rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.hm-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.hm-contact-list a:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.hm-contact-list a:focus-visible { outline: 3px solid var(--hm-blue-light); outline-offset: 3px; }
.hm-contact-list small {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
}
.hm-contact-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
}
.hm-form {
    position: relative;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    color: var(--hm-ink);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.hm-form .form-label { margin-bottom: .35rem; font-size: .9rem; font-weight: 600; color: var(--hm-navy); }
.hm-form .form-control,
.hm-form .form-select { min-height: 48px; border-color: #cbd5e1; border-radius: 10px; }
.hm-form textarea.form-control { min-height: 96px; }
.hm-form .form-control:focus,
.hm-form .form-select:focus { border-color: var(--hm-blue); box-shadow: 0 0 0 .2rem rgba(8, 98, 190, .2); }
.hm-req { color: #b42318; font-weight: 700; }
.hm-hint { margin-top: .3rem; font-size: .8rem; color: var(--hm-muted); }
.hm-kvkk .form-check-label { font-size: .88rem; line-height: 1.5; color: var(--hm-muted); }
.hm-kvkk a { font-weight: 600; color: var(--hm-blue); }
.hm-kvkk .form-check-input { width: 1.15em; height: 1.15em; margin-top: .2em; border-color: #94a3b8; }
.hm-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.hm-form-foot .hm-hint { margin: 0; }
.hm-submit { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.hm-form button[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 575.98px) {
    .hm-quote-panel { padding: 1.5rem 1rem 1rem; border-radius: 16px; }
    .hm-submit { width: 100%; }
}

/* ---------- Referanslar: tek satır kayan logo şeridi (gri; üzerine gelince renkli) ---------- */
.hm-refs { padding-block: clamp(40px, 5vw, 72px); background: #fff; border-top: 1px solid var(--hm-line); }
.hm-refs-title {
    margin: 0 0 1.5rem;
    font-family: var(--hm-display);
    font-size: clamp(1.1rem, .95rem + .6vw, 1.35rem);
    font-weight: 700;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
    color: var(--hm-muted);
}
.hm-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hm-marquee-track {
    display: flex;
    width: max-content;
    animation: hm-marquee var(--hm-marquee-dur, 40s) linear infinite;
}
.hm-marquee:hover .hm-marquee-track,
.hm-marquee:focus-within .hm-marquee-track { animation-play-state: paused; }
@keyframes hm-marquee {
    to { transform: translateX(-50%); }
}
.hm-logos {
    display: flex;
    flex: none;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    margin: 0;
    padding: 0 clamp(2rem, 4vw, 3.5rem) 0 0;   /* sondaki boşluk = aralık: döngü dikişsiz */
    list-style: none;
}
.hm-logo { flex: none; }
.hm-logo img {
    display: block;
    width: auto;
    max-width: 160px;
    height: 48px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .7;
    transition: filter .25s ease, opacity .25s ease;
}
.hm-logo:hover img,
.hm-logo a:focus-visible img { filter: none; opacity: 1; }
.hm-logo-text { font-weight: 700; color: var(--hm-muted); white-space: nowrap; }
.hm-marquee--static { -webkit-mask-image: none; mask-image: none; }
.hm-marquee--static .hm-marquee-track { width: auto; justify-content: center; animation: none; }
.hm-marquee--static .hm-logos { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; padding: 0 16px; }

/* ---------- Haberler ---------- */
.hm-news { background: var(--hm-soft); }
.hm-post {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    transition: transform .25s ease, box-shadow .25s ease;
}
.hm-post:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-lg); }
.hm-post:focus-within { outline: 3px solid var(--hm-blue); outline-offset: 3px; }
.hm-post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hm-navy-2); }
.hm-post-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-post-noimg {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, .45);
    background: linear-gradient(160deg, #143a63, #0d1b2a);
}
.hm-post-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.3rem 1.4rem; }
.hm-post-date { margin-bottom: .4rem; font-size: .82rem; font-weight: 600; color: var(--hm-muted); }
.hm-post-title { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; line-height: 1.35; }
.hm-post-title a { color: var(--hm-navy); }
.hm-post .hm-more { margin-top: auto; }

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
    .hm-hero-media img { animation: none; transform: none; }
    .hm-svc,
    .hm-op,
    .hm-post,
    .hm-vessel-card,
    .hm-svc-media img,
    .hm-vessel-media img,
    .hm-op-media img,
    .hm-mosaic-item img { transition: none !important; }
    .hm-svc:hover,
    .hm-op:hover,
    .hm-post:hover,
    .hm-vessel-card:hover { transform: none; }
    .hm-fleet-track { scroll-behavior: auto; }
    /* Logo şeridi durağan: kopya liste gizli, gerekirse yatay kaydırılır */
    .hm-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .hm-marquee-track { animation: none; }
    .hm-marquee-track > .hm-logos[aria-hidden="true"] { display: none; }
}
