.hero-bg-shell {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 68vh;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: var(--shadow);
    background: #111827;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-media .hero-media-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.52s ease;
}

.hero-bg-media .hero-media-item.is-visible {
    opacity: 1;
}

.hero-bg-media iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100%;
    border: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.hero-bg-media .hero-media-item.is-portrait-video iframe {
    width: 100vw;
    height: 177.78vw;
    min-width: 56.25vh;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

.hero-bg-media .hero-media-item.is-shorts-video iframe {
    transform: translate(-50%, -50%) scale(3.2);
    transform-origin: center center;
}

.hero-bg-media .hero-bg-image,
.hero-bg-media .subpage-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-bg-dim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(3, 7, 18, 0.72) 0%, rgba(3, 7, 18, 0.44) 44%, rgba(3, 7, 18, 0.32) 100%),
    linear-gradient(180deg, rgba(82, 39, 120, 0.26), transparent 58%);
}

.hero-bg-content {
    position: relative;
    z-index: 2;
}

.hero-bg-shell--full {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    min-height: 74vh;
}

.hero-home-grid {
    display: grid;
    gap: 1.2rem;
    align-items: end;
}

.hero-call-panel {
    position: relative;
    margin-top: 1rem;
    border-radius: 1.45rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(148, 46, 135, 0.3), rgba(82, 39, 120, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0 24px 42px -30px rgba(3, 7, 18, 0.78);
    max-width: 30rem;
}

.hero-call-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02));
}

.hero-call-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 248, 255, 0.66));
    color: #0f172a;
    padding: 0.85rem 1.05rem;
    backdrop-filter: blur(8px);
}

.hero-call-input::placeholder {
    color: #475569;
}

.hero-call-submit {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    color: #ffffff;
    padding: 0.8rem 1rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-call-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.hero-call-divider {
    position: relative;
    text-align: center;
    margin: 0.95rem 0;
}

.hero-call-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-call-divider span {
    position: relative;
    display: inline-block;
    padding: 0 0.65rem;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(241, 245, 249, 0.95);
    background: rgba(15, 23, 42, 0.22);
    border-radius: 999px;
}

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

.hero-call-quick {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.44rem;
    padding: 0.68rem 0.9rem;
    color: #ffffff;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-call-quick:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.hero-call-quick--whatsapp {
    background: linear-gradient(125deg, rgba(34, 197, 94, 0.92), rgba(15, 118, 110, 0.88));
}

.hero-call-quick--whatsapp i {
    color: #dcfce7;
}

.hero-call-quick--phone {
    background: linear-gradient(125deg, rgba(108, 44, 150, 0.94), rgba(82, 39, 120, 0.9));
}

.hero-bg-dim--subpage {
    background: linear-gradient(100deg, rgba(3, 7, 18, 0.74) 0%, rgba(3, 7, 18, 0.54) 45%, rgba(3, 7, 18, 0.38) 100%),
    linear-gradient(180deg, rgba(82, 39, 120, 0.2), transparent 64%);
}

/* Alt sayfa hero'su ana sayfanın 68vh yüksekliğini miras almasın; iç sayfalar için
   daha kısa ve orantılı bir başlık bandı. Üst padding sabit menü payı için korunur,
   yalnız bandın yüksekliği daraltılır (başlık altındaki büyük boşluk kalkar). */
.hero-bg-shell--subpage {
    min-height: clamp(300px, 38vh, 400px);
}

.subpage-hero-copy {
    /* Band'i BÜYÜTMEDEN içeriği aşağı çek: padding band ile aynı eksende (vh)
       ölçeklenir; üst sınır 13rem, 300px'lik band tabanında bile içerik + alt
       padding band yüksekliğini aşmaz (band büyümez), yalnız dikeyde ortalanır. */
    padding-top: clamp(8rem, 22vh, 13rem);
    padding-bottom: clamp(0.55rem, 1.5vw, 0.85rem);
}

body[data-page="service-category"] .subpage-hero-copy {
    padding-top: clamp(8.25rem, 23vh, 13.25rem);
    padding-bottom: clamp(0.6rem, 1.6vw, 0.9rem);
}

.subpage-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.8rem;
    font-size: 0.74rem;
    color: rgba(241, 245, 249, 0.94);
    backdrop-filter: blur(8px);
}

.subpage-hero-breadcrumb a {
    color: inherit;
}

.subpage-hero-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.58);
}

.hero-flush {
    margin-top: 0;
}

.hero-proof-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-proof-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.22);
    color: rgba(241, 245, 249, 0.98);
    padding: 0.34rem 0.78rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.72rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.52);
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(8px);
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-outline-light:hover {
    transform: translateY(-1px);
    background: rgba(15, 23, 42, 0.35);
}

@media (min-width: 1024px) {
    .hero-home-grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 34%);
        gap: 2rem;
    }

    .hero-call-panel {
        margin-top: 0;
        justify-self: end;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-call-panel {
        justify-self: center;
        margin-left: auto;
        margin-right: auto;
        width: min(100%, 30rem);
    }

    .hero-main-actions {
        flex-direction: column;
    }

    .hero-main-actions > a {
        width: 100%;
    }
}
