/*!
 * DGR Web — İletişim sayfası (v8, pages-b)
 * Hızlı kanal kartları · form (konu düğmeleri, örnek mesajlar, sayaç, WhatsApp'a aktar) · canlı mesaj önizlemesi ·
 * "Mesajınızdan sonra ne olur?" zaman çizelgesi. Düz zemin, 1px çizgi, keskin ofset gölge; blur / halo YOK.
 * Form mantığı main.js'tedir (data-state + dgr:contact olayı); burada yalnızca görünüm ve küçük yardımcılar.
 */

.ct {
    background: #fff;
}

.ct__wrap {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---------- Hızlı kanallar ---------- */
.ct-channels {
    display: grid;
    gap: 0.9rem;
}

.ct-channels__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-family: var(--mono);
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ct-channels__title span {
    color: var(--faint);
}

.ct-channels__title span::before {
    content: "·";
    margin-right: 0.55rem;
}

.ct-channels__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

.ct-ch {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-ch__item {
    position: relative;
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.ct-ch__item > .copy {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.ct-ch__link {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: var(--pb-cream);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
}

a.ct-ch__link:hover {
    border-color: var(--ink);
    background: #fff;
    box-shadow: 4px 4px 0 var(--brand);
    transform: translate(-2px, -2px);
}

.ct-ch__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid var(--line-2);
    color: var(--brand-600);
}

.ct-ch__icon .icon {
    width: 22px;
    height: 22px;
}

.ct-ch__body {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.ct-ch__label {
    font-family: var(--mono);
    font-size: var(--fs-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

.ct-ch__value {
    font-size: 1.02rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.ct-ch__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.25rem;
    font-size: 0.86rem;
    font-weight: 650;
    color: var(--brand-600);
}

.ct-ch__cta .icon {
    width: 14px;
    height: 14px;
    transition: transform 0.25s var(--ease);
}

a.ct-ch__link:hover .ct-ch__cta .icon {
    transform: translate(2px, -2px);
}

/* WhatsApp ve Instagram: büyük, öne çıkan kartlar */
.ct-ch__item.is-main .ct-ch__link {
    padding-block: 1.25rem;
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.ct-ch__item.is-main .ct-ch__label {
    color: #bdbdbd;
}

.ct-ch__item.is-main .ct-ch__value {
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
    letter-spacing: -0.015em;
}

.ct-ch__item.is-main .ct-ch__cta {
    color: #fff;
}

.ct-ch__item.is-main .ct-ch__icon {
    width: 52px;
    height: 52px;
    border: 0;
    color: #fff;
}

.ct-ch__item--whatsapp .ct-ch__icon {
    background: #1faa59;
}

.ct-ch__item--instagram .ct-ch__icon {
    background: #c13584;
}

.ct-ch__item.is-main a.ct-ch__link:hover {
    background: var(--ink);
    box-shadow: 4px 4px 0 var(--brand);
}

.ct-ch__item.is-main .copy {
    border-color: rgb(255 255 255 / 0.3);
    background: transparent;
    color: #fff;
}

.ct-ch__item.is-main .copy:hover {
    border-color: #fff;
}

.ct-ch__link--static {
    cursor: default;
}

.ct-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-social__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0 0.85rem;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.ct-social__link .icon {
    width: 16px;
    height: 16px;
}

.ct-social__link:hover {
    border-color: var(--ink);
}

/* Kanal simgelerinin küçük hareketleri (contact-icon.php) */
.ci-dots {
    display: none;
}

.ci-wave {
    opacity: 0.45;
}

.ci-handset,
.ci-pin,
.ci-flap,
.ci-minute {
    transform-box: view-box;
    transform-origin: 12px 12px;
}

@media (hover: hover) and (pointer: fine) {
    a.ct-ch__link:hover .ci-handset {
        animation: ct-ring 0.6s ease-in-out 2;
    }

    a.ct-ch__link:hover .ci-wave {
        animation: ct-wave 0.9s ease-out infinite;
    }

    .ct-ch__link:hover .ci-pin {
        animation: ct-drop 0.5s var(--ease);
    }

    .ct-ch__link:hover .ci-minute {
        animation: ct-spin 1.2s linear infinite;
    }

    a.ct-ch__link:hover .ci-flap {
        transform: translateY(-1.5px);
    }
}

@keyframes ct-ring {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes ct-wave {
    from { opacity: 0.9; }
    to { opacity: 0.1; }
}

@keyframes ct-drop {
    from { transform: translateY(-4px); }
    to { transform: none; }
}

@keyframes ct-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Form + yan sütun ---------- */
.ct-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.ct-side {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.cf-form {
    border: 1px solid var(--ink);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--pb-hard, 4px 4px 0 var(--brand));
}

.cf-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.cf-head__sub {
    margin: 0;
    font-size: 0.86rem;
    color: var(--muted);
}

.cf-topics .field__label {
    margin-bottom: 0.55rem;
}

.cf-chips,
.cf-assist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.cf-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0 0.95rem;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.cf-chip:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.cf-chip:active {
    transform: translateY(1px);
}

.cf-chip[aria-pressed="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.cf-chip--sm {
    min-height: 32px;
    padding: 0 0.7rem;
    border-radius: 8px;
    font-size: 0.82rem;
}

.cf-chip--hint {
    border-style: dashed;
    background: var(--pb-cream);
}

.cf-chip--hint.is-used {
    border-style: solid;
    border-color: var(--brand);
    background: var(--brand-50);
    color: var(--brand-700);
}

.cf-chip .icon {
    width: 13px;
    height: 13px;
}

.cf-assist {
    margin-top: 0.55rem;
}

.cf-assist__label {
    margin-right: 0.2rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

/* Alan: net kenar, odakta keskin ofset gölge ve soldan dolan turuncu alt çizgi (halo yok) */
.cf-form .field__input {
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cf-form .field__input:hover {
    border-color: var(--ink);
}

.cf-form .field__input:focus {
    border-color: var(--ink);
    background: #fff;
    box-shadow: 3px 3px 0 var(--brand);
}

.cf-form .field__input[aria-invalid="true"] {
    border-color: #d92d33;
    box-shadow: 3px 3px 0 rgb(217 45 51 / 0.35);
}

.cf-ctl {
    position: relative;
    display: block;
}

/* Alan alt çizgisindeki alevi core (.field) verir; eski iz öğesi kullanılmaz */
.cf-trace {
    display: none;
}

.cf-count {
    float: right;
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--faint);
}

.cf-count b {
    color: var(--ink);
}

.cf-count.is-ok b {
    color: #15803d;
}

.cf-count.is-ok .cf-count__min {
    display: none;
}

.cf-form .form__foot {
    gap: 0.7rem;
}

.cf-submit {
    position: relative;
}

.cf-submit__icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
}

.cf-submit__icon > * {
    grid-area: 1 / 1;
    transition: opacity 0.25s, transform 0.35s var(--ease);
}

.cf-submit__done,
.cf-submit__spin {
    opacity: 0;
    transform: scale(0.4);
}

.cf-submit__spin {
    width: 16px;
    height: 16px;
    border: 2px solid rgb(255 255 255 / 0.4);
    border-top-color: #fff;
    border-radius: 50%;
}

.cf-form[data-state="sending"] .cf-submit__plane {
    opacity: 0;
    transform: translateX(8px);
}

.cf-form[data-state="sending"] .cf-submit__spin {
    opacity: 1;
    transform: none;
    animation: ct-spin 0.8s linear infinite;
}

.cf-form[data-state="success"] .cf-submit__plane {
    opacity: 0;
}

.cf-form[data-state="success"] .cf-submit__done {
    opacity: 1;
    transform: none;
}

.cf-form[data-state="invalid"] .cf-submit,
.cf-form[data-state="error"] .cf-submit {
    animation: ct-shake 0.4s ease;
}

@keyframes ct-shake {
    20% { transform: translateX(-5px); }
    45% { transform: translateX(5px); }
    70% { transform: translateX(-3px); }
}

.cf-form .form__foot .btn {
    width: auto;
}

.cf-wa .icon {
    color: #1faa59;
}

.cf-form .form-status {
    flex-basis: 100%;
}

/* ---------- Canlı mesaj önizlemesi ---------- */
.cf-note {
    display: grid;
    gap: 0.7rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid var(--ink);
    border-radius: 14px;
    background: #fffdf8;
    box-shadow: 4px 4px 0 var(--ink);
}

.cf-note__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed var(--line-2);
}

.cf-note__tag {
    font-size: 0.95rem;
    font-weight: 700;
}

.cf-note__where {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}

.cf-note__body {
    display: grid;
    gap: 0.45rem;
}

.cf-note__row {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.9rem;
}

.cf-note__k {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
    padding-top: 0.15rem;
}

.cf-note__v,
.cf-note__msg {
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cf-note__msg {
    margin: 0.2rem 0 0;
    min-height: 4.5rem;
    max-height: 9rem;
    overflow: hidden;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

[data-cf-out].is-ph {
    font-weight: 400;
    color: #666;
}

.cf-note__caret {
    display: none;
    width: 2px;
    height: 1em;
    margin-left: 1px;
    vertical-align: text-bottom;
    background: var(--brand);
    animation: ct-caret 1s steps(1) infinite;
}

[data-cf-row].is-focus .cf-note__caret {
    display: inline-block;
}

@keyframes ct-caret {
    50% { opacity: 0; }
}

.cf-note__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cf-note__checks li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--faint);
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.cf-note__checks li::before {
    content: "";
    width: 8px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.cf-note__checks li.is-ok {
    border-color: var(--brand);
    background: var(--brand-50);
    color: var(--brand-700);
}

.cf-note__checks li.is-ok::before {
    background: var(--brand);
    border-color: var(--brand);
}

.cf-note__meter {
    height: 6px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}

.cf-note__meter i {
    display: block;
    height: 100%;
    background: var(--brand);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}

.cf-note__stamp {
    justify-self: start;
    margin: 0;
    padding: 0.25rem 0.65rem;
    border: 1.5px solid var(--faint);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    transition: color 0.25s, border-color 0.25s, transform 0.4s var(--ease);
}

.cf-note.is-ready .cf-note__stamp {
    border-color: var(--brand);
    color: var(--brand-700);
}

.cf-note.is-sent .cf-note__stamp {
    border-color: #15803d;
    color: #15803d;
    transform: rotate(-3deg) scale(1.05);
}

/* ---------- Mesajınızdan sonra ne olur? ---------- */
.cf-after {
    background: var(--ink);
    color: #fff;
    --muted: #b8b8b8;
    --faint: #a8a8a8;
    --line-2: rgb(255 255 255 / 0.24);
}

.cf-after__head {
    display: grid;
    justify-items: center;
    max-width: 44rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.cf-after__chip {
    background: transparent;
    border-color: var(--line-2);
    color: #fff;
}

.cf-steps-wrap {
    position: relative;
}

.cf-steps__line {
    display: none;
}

.cf-steps {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cf-step {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cf-step:hover {
    border-color: var(--brand);
    box-shadow: 4px 4px 0 var(--brand);
    transform: translate(-2px, -2px);
}

.cf-step__num {
    position: absolute;
    top: 1.1rem;
    right: 1.25rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--faint);
}

.cf-step__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
}

.cf-step__icon .icon {
    width: 22px;
    height: 22px;
}

.cf-step__title {
    margin: 0.4rem 0 0;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.015em;
}

.cf-step__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--muted);
}

.cf-step__you {
    margin: 0.3rem 0 0;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--line-2);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffb48f;
}

.cf-after__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem 1.25rem;
    margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.cf-after__aside {
    font-size: 0.92rem;
    color: var(--muted);
}

/* ---------- Genişlik ---------- */
@media (min-width: 640px) {
    .ct-ch {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cf-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1040px) {
    .ct-ch {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ct-ch__item.is-main {
        grid-column: span 2;
    }

    .contact.ct-grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
        align-items: start;
        gap: 1.75rem;
    }

    .contact.ct-grid .contact__main .form {
        display: block;
    }

    .contact.ct-grid .contact__main .form__grid {
        grid-template-rows: none;
    }

    .ct-side {
        position: sticky;
        top: 6rem;
    }

    .cf-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .cf-steps__line {
        position: absolute;
        top: 1.25rem;
        right: 12%;
        left: 12%;
        z-index: 0;
        display: block;
        height: 2px;
        background: var(--line-2);
    }

    .cf-steps__line i {
        display: block;
        height: 100%;
        background: var(--brand);
        transform-origin: left center;
        transform: scaleX(0);
        transition: transform 1.4s var(--ease);
    }

    .cf-steps-wrap.is-in .cf-steps__line i {
        transform: scaleX(1);
    }

    .cf-step {
        z-index: 1;
        background: var(--ink);
    }
}

@media (max-width: 639px) {
    .cf-form .form__foot .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cf-note__caret,
    .cf-form[data-state] .cf-submit,
    .cf-form[data-state="sending"] .cf-submit__spin,
    .ct-ch__link .ci-handset,
    .ct-ch__link .ci-wave,
    .ct-ch__link .ci-pin,
    .ct-ch__link .ci-minute {
        animation: none !important;
    }

    .cf-steps__line i,
    .cf-note__meter i {
        transition: none;
    }

    .cf-steps__line i {
        transform: scaleX(1);
    }
}

html[data-motion="off"] .cf-note__caret,
html[data-motion="off"] .cf-form[data-state] .cf-submit,
html[data-motion="off"] .ct-ch__link .ci-handset,
html[data-motion="off"] .ct-ch__link .ci-wave,
html[data-motion="off"] .ct-ch__link .ci-pin,
html[data-motion="off"] .ct-ch__link .ci-minute {
    animation: none !important;
}

html[data-motion="off"] .cf-steps__line i {
    transform: scaleX(1);
    transition: none;
}

/* ---------- Masa nesneleri (v6'dan): metin sütununun dışındaki yan boşluklara dizilir (≥1360 px) ---------- */
.ct {
    position: relative;
    overflow: clip;
    --cf-half: 36rem;
}

.ct > .container {
    position: relative;
    z-index: 1;
}

.cf-desk {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
    pointer-events: none;
}

.cf-obj {
    position: absolute;
    display: block;
}

.cf-obj svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Sol yan: dolma kalem, cetvel, fincan; sağ yan: yapışkan not, kartela, kurşun kalem */
.cf-obj--pen {
    top: 14%;
    right: calc(50% + var(--cf-half) + 1.4rem);
    width: 150px;
    transform: rotate(68deg);
    transform-origin: 50% 50%;
    filter: drop-shadow(2px 3px 0 rgb(20 20 20 / 0.14));
}

.cf-obj--ruler {
    top: 44%;
    right: calc(50% + var(--cf-half) + 2.4rem);
    transform: rotate(-4deg);
}

.cf-ruler {
    position: relative;
    display: block;
    width: 34px;
    height: 220px;
    border: 1px solid #c9a47a;
    border-radius: 5px;
    background:
        repeating-linear-gradient(to bottom, rgb(20 20 20 / 0.45) 0 1px, transparent 1px 10px) 0 6px / 14px 100% no-repeat,
        repeating-linear-gradient(to bottom, rgb(20 20 20 / 0.25) 0 1px, transparent 1px 5px) 0 6px / 8px 100% no-repeat,
        #fff3e6;
    box-shadow: 2px 3px 0 rgb(20 20 20 / 0.12);
}

.cf-obj--cup {
    bottom: 5%;
    right: calc(50% + var(--cf-half) + 1rem);
    width: 120px;
    filter: drop-shadow(2px 3px 0 rgb(20 20 20 / 0.12));
}

.cf-cup__steam {
    position: absolute;
    top: 14px;
    left: 28px;
    display: flex;
    gap: 10px;
}

.cf-cup__steam i {
    display: block;
    width: 8px;
    height: 28px;
    border-radius: 50%;
    border-left: 2px solid rgb(255 255 255 / 0.9);
    opacity: 0;
}

.cf-obj--sticky {
    top: 12%;
    left: calc(50% + var(--cf-half) + 1.4rem);
    transform: rotate(6deg);
    transform-origin: 50% 0;
}

.cf-sticky {
    position: relative;
    display: block;
    width: 112px;
    min-height: 130px;
    padding: 1.2rem 0.75rem 0.8rem;
    border: 1px solid var(--brand-300);
    background: var(--brand-100);
    box-shadow: 2px 3px 0 rgb(20 20 20 / 0.12);
}

.cf-sticky__tape {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 56px;
    height: 18px;
    margin-left: -28px;
    border: 1px solid rgb(0 0 0 / 0.1);
    background: #fff;
    transform: rotate(-4deg);
}

.cf-sticky__text {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--brand-700);
}

.cf-sticky__arrow {
    width: 56px !important;
    margin-top: 0.3rem;
    margin-left: 1.4rem;
}

.cf-obj--swatch {
    top: 46%;
    left: calc(50% + var(--cf-half) + 2rem);
    transform: rotate(-9deg);
}

.cf-swatch {
    display: grid;
    width: 96px;
    padding: 6px 6px 8px;
    border: 1px solid #cfc8c0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 2px 3px 0 rgb(20 20 20 / 0.12);
}

.cf-swatch i {
    display: block;
    height: 22px;
}

.cf-swatch i:nth-child(1) { background: #ff5a1f; border-radius: 5px 5px 0 0; }
.cf-swatch i:nth-child(2) { background: #ff8a5c; }
.cf-swatch i:nth-child(3) { background: #141414; }

.cf-swatch span {
    margin-top: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
}

.cf-obj--pencil {
    bottom: 6%;
    left: calc(50% + var(--cf-half) + 0.6rem);
    width: 150px;
    transform: rotate(-60deg);
    filter: drop-shadow(2px 3px 0 rgb(20 20 20 / 0.14));
}

@media (min-width: 1360px) {
    .cf-desk {
        display: block;
    }
}

@media (min-width: 1600px) {
    .ct {
        --cf-half: 40rem;
    }

    .cf-obj--pen,
    .cf-obj--sticky,
    .cf-obj--swatch,
    .cf-obj--cup {
        scale: 1.2;
    }
}

.cf-desk.is-on .cf-obj--pen { animation: cf-pen-roll 9s var(--ease-io) infinite; }
.cf-desk.is-on .cf-obj--sticky { animation: cf-sway 6s var(--ease-io) infinite; }
.cf-desk.is-on .cf-obj--pencil { animation: cf-pencil 8s var(--ease-io) infinite; }
.cf-desk.is-on .cf-obj--swatch { animation: cf-float 7s var(--ease-io) infinite; }
.cf-desk.is-on .cf-cup__steam i { animation: cf-steam 3.2s ease-out infinite; }
.cf-desk.is-on .cf-cup__steam i:nth-child(2) { animation-delay: 0.9s; }
.cf-desk.is-on .cf-cup__steam i:nth-child(3) { animation-delay: 1.8s; }

@keyframes cf-pen-roll {
    0%, 100% { transform: rotate(68deg) translateY(0); }
    50% { transform: rotate(66deg) translateY(-8px); }
}

@keyframes cf-sway {
    0%, 100% { transform: rotate(6deg); }
    50% { transform: rotate(3.5deg); }
}

@keyframes cf-pencil {
    0%, 100% { transform: rotate(-60deg) translateX(0); }
    50% { transform: rotate(-57deg) translateX(-8px); }
}

@keyframes cf-float {
    0%, 100% { transform: rotate(-9deg) translateY(0); }
    50% { transform: rotate(-6deg) translateY(-8px); }
}

@keyframes cf-steam {
    0% { opacity: 0; transform: translateY(6px); }
    30% { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(-22px); }
}

/* ---------- "Mesaj gönderin": kâğıt uçak kalkışı ---------- */
.cf-flight {
    position: relative;
    display: none;
    flex: none;
    width: 132px;
    height: 40px;
    margin-top: -6px;
    pointer-events: none;
}

@media (min-width: 640px) {
    .cf-flight {
        display: block;
    }
}

.cf-flight__svg {
    position: absolute;
    inset: 0;
    width: 132px;
    height: 40px;
    overflow: visible;
}

.cf-flight__path,
.cf-flight__trail {
    fill: none;
    stroke-width: 1.25;
    stroke-linecap: round;
}

.cf-flight__path {
    stroke: var(--brand-200);
    stroke-dasharray: 1.5 5;
}

.cf-flight__trail {
    stroke: var(--brand);
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0;
}

.cf-flight__plane {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    color: var(--brand-600);
    offset-path: path("M4 32C38 34 58 8 92 12s30 4 36-2");
    offset-distance: 0%;
    offset-rotate: auto;
    offset-anchor: 50% 50%;
}

.cf-flight__plane svg {
    display: block;
    width: 15px;
    height: 15px;
    overflow: visible;
}

.cf-flight__wing {
    fill: #fff;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.cf-flight__fold {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
}

.cf-flight.is-fly .cf-flight__plane {
    animation: cf-fly-path 1.5s var(--ease-io) 1 both;
}

.cf-flight.is-fly .cf-flight__trail {
    animation: cf-fly-trail 1.5s var(--ease-io) 1 both;
}

@keyframes cf-fly-path {
    0% { offset-distance: 0%; opacity: 1; transform: none; }
    12% { offset-distance: 0%; transform: rotate(-14deg) scale(0.92); }
    78% { offset-distance: 100%; opacity: 1; transform: scale(1.05); }
    86% { offset-distance: 100%; opacity: 0; transform: translateX(8px) scale(0.6); }
    87% { offset-distance: 0%; opacity: 0; transform: scale(0.6); }
    100% { offset-distance: 0%; opacity: 1; transform: none; }
}

@keyframes cf-fly-trail {
    0%, 12% { stroke-dashoffset: 100; opacity: 1; }
    78% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cf-desk *,
    .cf-obj,
    .cf-flight__plane,
    .cf-flight__trail {
        animation: none !important;
    }
}

html[data-motion="off"] .cf-desk *,
html[data-motion="off"] .cf-obj,
html[data-motion="off"] .cf-flight__plane,
html[data-motion="off"] .cf-flight__trail {
    animation: none !important;
}
