/* Hero: yedek site ile uyumlu — ana düzen theme-public.css + hero-lcp-critical inline */

.hero-section .rounded-custom {
    border-radius: 16px;
}

.hero-section .about-img-first[style],
.hero-section .about-content-right > .rounded-custom[style] {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.hero-section .about-img-first iframe,
.hero-section .about-content-right > .rounded-custom iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 320px) and (max-width: 991px) {
    .about-content-right img:last-of-type {
        width: 50%;
        margin: 0 !important;
        height: 100%;
    }
}

.hero-section .hero-plink-form {
    width: 100%;
    max-width: min(100%, 20rem);
}

@media (min-width: 576px) {
    .hero-section .hero-plink-form {
        max-width: min(100%, 24rem);
    }
}

@media (min-width: 992px) {
    .hero-section .hero-plink-form {
        max-width: min(100%, 28rem);
    }
}

.hero-section .home-contact-button-wrapper .btn {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 400px) {
    .hero-section .home-contact-button-wrapper .btn {
        width: auto;
        min-width: 8.5rem;
    }
}

.hero-plink-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hero-plink-modal-backdrop.is-open {
    display: flex;
}

.hero-plink-modal {
    width: 100%;
    max-width: 520px;
    max-height: min(92vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    color: #1e293b;
}

.hero-plink-modal header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hero-plink-modal header h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.hero-plink-modal .hero-plink-body {
    padding: 1.25rem;
}

.hero-plink-preview-img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 0.75rem;
}

.hero-plink-step { display: none; }
.hero-plink-step.is-active { display: block; }

.hero-plink-close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    padding: 0.25rem;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.hero-plink-close:hover {
    color: #0b163f;
    background: #f1f5f9;
}

/* Product-link modal — preview step (only when active; avoid overriding .hero-plink-step { display:none }) */
.hero-plink-step-preview.is-active {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-plink-preview-label {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.hero-plink-preview-url {
    display: block;
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    line-height: 1.45;
    word-break: break-all;
    color: #175cff;
    background: #f4f6fb;
    border: 1px solid rgba(11, 22, 63, 0.08);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-plink-preview-url:hover {
    color: #0b163f;
    background: #eef2ff;
    border-color: rgba(23, 92, 255, 0.25);
}

.hero-plink-preview-card {
    margin-bottom: 1rem;
    padding: 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.hero-plink-preview-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0b163f;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.hero-plink-preview-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

.hero-plink-preview-fallback {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
}

.hero-plink-form-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.hero-plink-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.hero-plink-btn:active {
    transform: scale(0.98);
}

.hero-plink-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #175cff 0%, #0b4fd4 100%);
    border-color: #175cff;
    box-shadow: 0 4px 14px rgba(23, 92, 255, 0.35);
}

.hero-plink-btn--primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #0b4fd4 0%, #0939a8 100%);
    border-color: #0b4fd4;
    box-shadow: 0 6px 18px rgba(23, 92, 255, 0.4);
}

.hero-plink-btn--ghost {
    color: #0b163f;
    background: #fff;
    border-color: rgba(11, 22, 63, 0.18);
}

.hero-plink-btn--ghost:hover {
    color: #0b163f;
    background: #f4f6fb;
    border-color: rgba(11, 22, 63, 0.28);
}

.hero-plink-btn:focus-visible {
    outline: 2px solid #175cff;
    outline-offset: 2px;
}

.hero-video-autoplay iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* how-we-work / video blokları */
.work-process .rounded-custom[style] {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.work-process .rounded-custom[style] iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
