/* ==========================================================================
   formlar — /video, /vkat/{id} (pages/videos.php) ve /teklif, /teklif2/{id} (pages/quote.php)
   ========================================================================== */

/* ---------- videolar */
.vpage__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.vpage__head .slash-title { margin: 0; }
.vpage__count { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 7px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 14px; font-weight: 600; white-space: nowrap; }
.vpage__count .i { width: 18px; height: 18px; }

.vpage__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.vpage__cats a { padding: 8px 16px; border: 1px solid #e6ecf4; border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: border-color .15s, color .15s, background .15s; }
.vpage__cats a:hover { border-color: var(--brand); color: var(--brand); }
.vpage__cats a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }

.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.vcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ecf4; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(19,43,70,.06); transition: box-shadow .2s, transform .2s, border-color .2s; }
.vcard:hover { box-shadow: 0 18px 44px rgba(19,43,70,.12); border-color: #d6e0ee; transform: translateY(-2px); }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b1d3a; overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .2s; }
.vcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,21,48,0) 45%, rgba(8,21,48,.55) 100%); pointer-events: none; }
.vcard__media--live::after, .vcard__media--raw::after { display: none; }
.vcard__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(227,38,47,.45), 0 0 0 8px rgba(255,255,255,.18); transition: transform .2s, box-shadow .2s; }
.vcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard__badge { position: absolute; left: 14px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.vcard__badge .i { width: 16px; height: 16px; }
.vcard__media:hover img, .vcard__media:focus-visible img { transform: scale(1.04); }
.vcard__media:hover .vcard__play, .vcard__media:focus-visible .vcard__play { transform: scale(1.08); box-shadow: 0 12px 34px rgba(227,38,47,.55), 0 0 0 12px rgba(255,255,255,.22); }
.vcard__media:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.vcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 18px; }
.vcard__title { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.vcard__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: var(--brand); font-size: 14px; font-weight: 600; }
.vcard__link .i { width: 15px; height: 15px; }

.vpage__yt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 22px; margin-top: clamp(28px, 4vw, 44px); padding: 22px clamp(20px, 3vw, 30px); border: 1px solid #e6ecf4; border-radius: 20px; background: linear-gradient(120deg, #f4f7fb 0%, #fff 70%); box-shadow: 0 10px 30px rgba(19,43,70,.05); }
.vpage__yticon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--red); color: #fff; }
.vpage__yticon .i { width: 26px; height: 26px; }
.vpage__yt strong { display: block; font-size: 17px; margin-bottom: 2px; }
.vpage__yt p { margin: 0; color: var(--ink-2); font-size: 15px; }
.vpage__yt .btn .i { width: 16px; height: 16px; }
.vpage__empty { display: flex; align-items: center; gap: 12px; margin: 0; padding: 28px; border: 1px dashed #d6e0ee; border-radius: 18px; color: var(--muted); background: #fbfcfe; }
.vpage__empty .i { width: 28px; height: 28px; color: var(--brand); }

@media (max-width: 680px) {
    .vgrid { grid-template-columns: 1fr; }
    .vpage__yt { grid-template-columns: auto minmax(0, 1fr); }
    .vpage__yt .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- teklif formu */
.qpage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3.5vw, 44px); align-items: start; padding-block: clamp(32px, 4vw, 44px) clamp(48px, 6vw, 72px); }
.qpage__form { display: grid; gap: 20px; min-width: 0; }
.qpage__side { display: grid; gap: 22px; position: sticky; top: 96px; }

.qprod { display: flex; align-items: center; gap: 18px; padding: 14px; padding-right: 22px; background: #fff; border: 1px solid #e6ecf4; border-left: 4px solid var(--red); border-radius: 18px; box-shadow: 0 10px 30px rgba(19,43,70,.06); color: var(--ink); transition: box-shadow .2s, border-color .2s; }
.qprod:hover { color: var(--ink); box-shadow: 0 18px 44px rgba(19,43,70,.12); }
.qprod__img { width: 120px; height: 90px; flex: none; display: grid; place-items: center; padding: 8px; border-radius: 12px; background: linear-gradient(180deg, #fff, var(--soft)); border: 1px solid #eef2f8; }
.qprod__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.qprod__img .i { width: 34px; height: 34px; color: #9aa7bd; }
.qprod__text { display: grid; gap: 4px; min-width: 0; }
.qprod__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.qprod__text strong { font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.qprod__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 14px; font-weight: 600; }
.qprod__more .i { width: 15px; height: 15px; transition: transform .2s; }
.qprod:hover .qprod__more .i { transform: translateX(3px); }

.qcard { background: #fff; border: 1px solid #e6ecf4; border-radius: 20px; box-shadow: 0 10px 30px rgba(19,43,70,.06); padding: clamp(22px, 3.4vw, 40px); }
.qcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #eef2f8; }
.qcard__head .slash-title { margin: 0; font-size: clamp(22px, 2.2vw, 28px); }
.qcard__head p { margin: 0; color: var(--muted); font-size: 14px; }
.qcard b { color: var(--red); font-weight: 700; }
.qform { gap: 18px; }
.qform label { font-size: 14px; font-weight: 600; color: var(--ink); }
.qform input, .qform textarea { border-color: #dfe6f0; border-radius: 10px; background: #fbfcfe; }
.qform input::placeholder, .qform textarea::placeholder { color: #9aa7bd; }
.qform input:hover, .qform textarea:hover { border-color: #c8d4e6; }
.qform input:focus, .qform textarea:focus { background: #fff; }
.qform__foot { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; margin-top: 4px; }
.qform__foot .btn { min-height: 52px; padding-inline: 28px; font-size: 16px; }
.qform__foot .btn .i { width: 18px; height: 18px; }
.qform__foot p { margin: 0; color: var(--muted); font-size: 13.5px; }

.qcontact { position: relative; overflow: hidden; padding: 28px 26px 26px; border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #12305e 0%, #0b1d3a 55%, #081530 100%); box-shadow: 0 18px 44px rgba(8,21,48,.22); }
.qcontact::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(27,79,160,.55), transparent 70%); pointer-events: none; }
.qcontact > * { position: relative; z-index: 1; }
.qcontact .slash { color: #fff; font-size: 13px; }
.qcontact h2 { margin: 0 0 6px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.qcontact__lead { margin: 0 0 18px; color: #c9d5e8; font-size: 14.5px; line-height: 1.6; }
.qcontact ul { list-style: none; margin: 0; padding: 0; display: grid; }
.qcontact li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 15px; line-height: 1.5; color: #e6edf7; }
.qcontact li > .i { width: 38px; height: 38px; flex: none; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.qcontact li > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.qcontact small { color: #8fa0bb; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.qcontact a { color: #fff; font-weight: 600; }
.qcontact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.qsteps { background: #fff; border: 1px solid #e6ecf4; border-radius: 20px; box-shadow: 0 10px 30px rgba(19,43,70,.05); padding: 24px 24px 10px; }
.qsteps .slash-title { font-size: 20px; margin-bottom: 14px; }
.qsteps .slash-title::before { height: 1em; margin-top: .1em; }
.qsteps ol { list-style: none; margin: 0; padding: 0; display: grid; }
.qsteps li { position: relative; display: flex; gap: 14px; padding: 0 0 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.qsteps li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 4px; width: 2px; background: #e6ecf4; }
.qsteps__no { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 15px; }
.qsteps li:first-child .qsteps__no { background: var(--brand); color: #fff; }
.qsteps strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }

@media (max-width: 1080px) {
    .qpage { grid-template-columns: 1fr; }
    .qpage__side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 760px) {
    .qpage__side { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .qform .form__row { grid-template-columns: 1fr; }
    .qprod { gap: 14px; padding: 12px; }
    .qprod__img { width: 84px; height: 66px; }
    .qprod__text strong { font-size: 16px; }
    .qform__foot .btn { width: 100%; }
}
