/* ==========================================================================
   Light Yapım — Teklif formu (/form/ ve alt sayfaları)
   Solda başlık + güven maddeleri, sağda turuncu kart içinde 3 adımlı form.
   style.css token'larını kullanır.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero düzeni
   -------------------------------------------------------------------------- */
.lyc-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f7f5f3;
  padding-block: clamp(1.5rem, 1rem + 2.5vw, 3.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
}

.lyc-hero::before,
.lyc-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.lyc-hero::before {
  width: 640px; height: 640px;
  top: -200px; left: -180px;
  background: radial-gradient(circle, rgba(242, 96, 12, .2), transparent 65%);
}

.lyc-hero::after {
  width: 720px; height: 720px;
  bottom: -320px; right: -160px;
  background: radial-gradient(circle, rgba(255, 122, 46, .22), transparent 65%);
}

.lyc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  grid-template-areas:
    "intro form"
    "trust form";
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.lyc-intro { grid-area: intro; padding-top: clamp(0rem, 2vw, 1.5rem); }
.lyc-formcol { grid-area: form; scroll-margin-top: 90px; }
.lyc-trust { grid-area: trust; }

.lyc-intro .crumbs { margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2rem); }

.lyc-hero-title {
  font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
  max-width: 12ch;
}

.lyc-hero-title .accent {
  background: linear-gradient(110deg, var(--brand-deep), var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lyc-lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.lyc-points { display: grid; gap: .8rem; margin-bottom: 2.5rem; }

.lyc-points li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

.lyc-points svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.lyc-brands-t {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .9rem;
}

.lyc-brands {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
}

.lyc-brands li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  color: #b0b5be;
}

/* --------------------------------------------------------------------------
   2. Turuncu form kartı
   -------------------------------------------------------------------------- */
.lyc {
  position: relative;
  padding: clamp(.75rem, .5rem + .8vw, 1.1rem);
  padding-top: 0;
  border-radius: 34px;
  background: linear-gradient(165deg, #f46a17 0%, var(--brand) 45%, #dc540a 100%);
  box-shadow: 0 34px 80px -34px rgba(194, 73, 10, .65), 0 2px 6px rgba(194, 73, 10, .18);
  color: #fff;
}

.lyc-head { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(.6rem, .4rem + .8vw, 1rem) 1rem; }

.lyc-h {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.lyc-sub { font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .92); margin-top: .25rem; }

.lyc-bar {
  height: 4px;
  margin: 1.1rem 0 .7rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
}

.lyc-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  transition: width .6s var(--ease);
}

.lyc-stepname {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lyc-body {
  background: #fff;
  color: var(--ink);
  border-radius: 26px;
  padding: clamp(1.2rem, .9rem + 1.2vw, 1.75rem);
}

.lyc-body.is-next { animation: lyc-in-next .45s var(--ease); }
.lyc-body.is-back { animation: lyc-in-back .45s var(--ease); }
@keyframes lyc-in-next { from { opacity: 0; transform: translateX(18px); } }
@keyframes lyc-in-back { from { opacity: 0; transform: translateX(-18px); } }

.lyc-title {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .25rem;
}

.lyc-title:focus { outline: none; }

.lyc-hint { font-size: .9rem; color: var(--ink-mute); line-height: 1.5; margin-bottom: 1.3rem; }

.lyc-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.25rem;
  padding: 1rem .5rem .9rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
}

.lyf.is-leaving { opacity: .6; transition: opacity .2s; pointer-events: none; }

.lyc-noscript { padding: 2rem; background: #fff; color: var(--ink); border-radius: 24px; }
.lyc-noscript a { color: var(--brand-deep); text-decoration: underline; }

/* --------------------------------------------------------------------------
   3. Alanlar
   -------------------------------------------------------------------------- */
.lyc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem .8rem;
}

.lyc-field { grid-column: span 2; min-width: 0; }
.lyc-field--half { grid-column: span 1; }
.lyc-field.is-hidden { display: none; }

.lyc-label {
  display: block;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .55rem;
}

.lyc-req { color: var(--brand-deep); }

.lyc-field input[type=text],
.lyc-field input[type=email],
.lyc-field input[type=tel],
.lyc-field input[type=date],
.lyc-field select,
.lyc-field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem 1rem;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: #f3f4f6;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

.lyc-field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }

.lyc-field select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='none' stroke='%234a515e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  cursor: pointer;
}

.lyc-field select:disabled { color: var(--ink-mute); cursor: not-allowed; opacity: .7; }

.lyc-field input::placeholder,
.lyc-field textarea::placeholder { color: #9aa1ac; }

.lyc-field input:focus,
.lyc-field select:focus,
.lyc-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(242, 96, 12, .13);
}

.lyc-two { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }

.lyc-other { display: none; margin-top: .6rem; }
.lyc-other.is-on { display: block; animation: lyc-fade .25s var(--ease); }
@keyframes lyc-fade { from { opacity: 0; transform: translateY(-4px); } }

/* Çipler */
.lyc-opts { display: flex; flex-wrap: wrap; gap: .45rem; }

.lyc-chip,
.lyc-type,
.lyc-pkg { position: relative; display: block; cursor: pointer; }

.lyc-chip input,
.lyc-type input,
.lyc-pkg input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.lyc-chip > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  background: #f1f2f4;
  border: 1.5px solid transparent;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  transition: background .18s, color .18s, transform .15s, border-color .18s;
  -webkit-user-select: none;
  user-select: none;
}

.lyc-chip:hover > span { background: #e7e9ec; }
.lyc-chip:active > span { transform: scale(.96); }

.lyc-chip input:checked + span {
  background: var(--brand-wash);
  border-color: var(--brand);
  color: var(--ink);
  font-weight: 600;
}

.lyc-chip input:focus-visible + span,
.lyc-mcard input:focus-visible + span,
.lyc-pkg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.lyc-q { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; grid-column: span 2; margin: .35rem 0 -.35rem; }
.lyc-opt { font-weight: 600; color: var(--ink-mute); }

/* Görüşme zamanı (isteğe bağlı, katlanır) */
.lyc-meet { grid-column: span 2; }

.lyc-meet summary {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding: .3rem 0;
}

.lyc-meet summary::-webkit-details-marker { display: none; }
.lyc-meet summary::before { content: "▸"; color: var(--brand-deep); transition: transform .2s; display: inline-block; }
.lyc-meet[open] summary::before { transform: rotate(90deg); }
.lyc-meet summary span { color: var(--ink-mute); font-weight: 500; }

.lyc-meet > .lyc-field,
.lyc-meet > .lyc-two { margin-top: .9rem; }

.lyc-meet-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

.lyc-mcard { position: relative; display: block; cursor: pointer; }
.lyc-mcard input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.lyc-mcard > span {
  display: grid;
  gap: .15rem;
  height: 100%;
  padding: .8rem .9rem;
  border-radius: 16px;
  background: #f1f2f4;
  border: 1.5px solid transparent;
  transition: background .18s, border-color .18s;
}

.lyc-mcard b { font-family: var(--font-display); font-size: .95rem; }
.lyc-mcard em { font-style: normal; font-size: .8rem; color: var(--ink-mute); line-height: 1.35; }
.lyc-mcard:hover > span { background: #e7e9ec; }
.lyc-mcard input:checked + span { background: var(--brand-wash); border-color: var(--brand); }

/* Paketler */
.lyc-opts--pkg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }

.lyc-pkg > span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 .3rem;
  padding: .8rem .4rem .75rem;
  border-radius: 18px;
  background: #f1f2f4;
  text-align: center;
  transition: background .18s, color .18s;
}

.lyc-pkg b {
  display: inline-grid;
  justify-items: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}

.lyc-pkg > span { min-height: 74px; align-content: center; }
.lyc-pkg-own { display: grid; justify-items: center; font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1.1; }
.lyc-pkg input:checked + span .lyc-pkg-own { color: var(--brand-deep); }

.lyc-pkg small { font-family: var(--font-body); font-size: .66rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); margin-top: .25rem; }
.lyc-pkg i { font-style: normal; color: var(--ink-mute); font-weight: 600; }

.lyc-pkg > span { border: 1.5px solid transparent; }
.lyc-pkg:hover > span { background: #e7e9ec; }
.lyc-pkg input:checked + span { background: var(--brand-wash); border-color: var(--brand); }
.lyc-pkg input:checked + span b { color: var(--brand-deep); }

/* Hata */
.lyc-err { display: none; margin-top: .45rem; font-size: .84rem; font-weight: 600; color: #c0362c; }
.lyc-field.has-error .lyc-err,
.lyc-err--kvkk:not(:empty) { display: block; }
.lyc-field.has-error input,
.lyc-field.has-error select,
.lyc-field.has-error textarea { border-color: #e5847b; background-color: #fff7f6; }
.lyc-field.has-error .lyc-chip > span,
.lyc-field.has-error .lyc-type > span,
.lyc-field.has-error .lyc-pkg > span { box-shadow: inset 0 0 0 1.5px #efb3ad; }

/* --------------------------------------------------------------------------
   4. Alt çubuk / butonlar
   -------------------------------------------------------------------------- */
.lyc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-top: 1.5rem;
}

.lyc-foot .lyc-back { order: -1; }
.lyc-note { font-size: .86rem; color: var(--ink-mute); flex: 1 1 200px; }

.lyc-send { flex: 1; }

.lyc-legal { margin-top: .9rem; font-size: .8rem; color: var(--ink-mute); text-align: center; }
.lyc-legal a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.lyc-next,
.lyc-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 54px;
  padding: .8rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), background .2s, box-shadow .2s;
}

.lyc-next { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(21, 24, 30, .6); margin-left: auto; }
.lyc-next:hover { background: #2a2f38; transform: translateY(-1px); }
.lyc-next span { transition: transform .3s var(--ease); }
.lyc-next:hover span { transform: translateX(3px); }

.lyc-ghost { background: #f1f2f4; color: var(--ink); }
.lyc-ghost:hover { background: #e7e9ec; }

.lyc-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem .2rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
}

.lyc-back:hover { color: var(--ink); }

.lyc-kvkk {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin-top: 1.2rem;
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.45;
  cursor: pointer;
}

.lyc-kvkk input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--brand); cursor: pointer; }
.lyc-kvkk a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }

.lyc-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 14px 28px -12px rgba(21, 24, 30, .6);
  transition: transform var(--dur) var(--ease), background .2s;
}

.lyc-submit:hover { background: #2a2f38; transform: translateY(-1px); }
.lyc-submit i { font-style: normal; transition: transform .3s var(--ease); }
.lyc-submit:hover i { transform: translateX(3px); }
.lyc-submit:disabled { cursor: progress; opacity: .9; transform: none; }

.lyc-send:disabled { cursor: progress; opacity: .9; transform: none; }
.lyc-submit.is-loading i { display: none; }
.lyc-send.is-loading::before,
.lyc-submit.is-loading::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  animation: lyc-spin .8s linear infinite;
}

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

.lyc-submit-err {
  margin-top: .9rem;
  padding: .8rem .95rem;
  border-radius: 14px;
  background: #fdeeec;
  color: #7a1f17;
  font-size: .88rem;
}

.lyc-submit-err[hidden] { display: none; }
.lyc-submit-err a { color: #7a1f17; font-weight: 700; text-decoration: underline; }

.lyc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Tamamlandı */
.lyc-done { text-align: center; padding-block: 2rem; }

.lyc-done-ic {
  width: 66px;
  height: 66px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 8px var(--brand-wash);
  animation: lyc-pop .6s var(--ease);
}

@keyframes lyc-pop { from { transform: scale(.4); opacity: 0; } }

.lyc-done .lyc-title { font-size: 1.6rem; }
.lyc-done .lyc-hint { max-width: 40ch; margin-inline: auto; }
.lyc-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.lyc-done-actions .lyc-next { margin-left: 0; }

/* --------------------------------------------------------------------------
   5. SSS ve kapanış bandı
   -------------------------------------------------------------------------- */
.lyc-faq .wrap { max-width: 760px; }

.lyc-faq-title {
  text-align: center;
  font-size: clamp(2.4rem, 1.8rem + 2.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

.lyc-band {
  background: linear-gradient(165deg, #f46a17, var(--brand) 50%, #dc540a);
  color: #fff;
  text-align: center;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.lyc-band h2 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  max-width: 18ch;
  margin: 0 auto 1rem;
}

.lyc-band p { max-width: 46ch; margin: 0 auto; font-size: 1.05rem; font-weight: 500; }

.lyc-band-cta { margin-top: 1.75rem !important; }

.lyc-band-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 54px;
  padding: .8rem 1.75rem;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  transition: transform var(--dur) var(--ease);
}

.lyc-band-btn:hover { transform: translateY(-2px); }
.lyc-band-btn svg { color: #1faa55; }

.lyc-band-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.75rem;
  margin-top: 1.4rem !important;
  font-weight: 700;
  font-size: .95rem;
}

.lyc-band-links a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   6. Mobil — form başlığın hemen altında, güven maddeleri formdan sonra
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .lyc-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "form" "trust";
    grid-template-rows: auto;
  }

  .lyc-formcol { max-width: 620px; width: 100%; margin-inline: auto; }
  .lyc-trust { max-width: 620px; width: 100%; margin: 2.25rem auto 0; }
  .lyc-hero-title { max-width: 16ch; }
  .lyc-lede { margin-bottom: 1.5rem; }
}

@media (max-width: 560px) {
  /* Yüzen WhatsApp/yukarı butonları formun Devam butonunu kapatmasın
     (WhatsApp sayfa sonundaki bantta da var) */
  .floats { display: none; }

  .lyc-hero { padding-top: 1.1rem; }
  .lyc-intro .crumbs { margin-bottom: 1rem; }
  .lyc-hero-title { font-size: clamp(2rem, 1.5rem + 3vw, 2.5rem); margin-bottom: .8rem; }
  .lyc-lede { font-size: 1rem; margin-bottom: 1.25rem; }

  .lyc { border-radius: 28px; padding-inline: .55rem; padding-bottom: .55rem; }
  .lyc-head { padding: 1.15rem .6rem .85rem; }
  .lyc-body { border-radius: 22px; padding: 1.1rem 1rem 1.15rem; }
  .lyc-title { font-size: 1.18rem; }
  .lyc-hint { margin-bottom: 1rem; }

  .lyc-field--half { grid-column: span 2; }
  .lyc-two { grid-template-columns: 1fr; }
  .lyc-opts--pkg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lyc-fields { gap: .95rem .6rem; }
  .lyc-label { margin-bottom: .4rem; }
  .lyc-field input[type=text],
  .lyc-field input[type=email],
  .lyc-field input[type=tel],
  .lyc-field input[type=date],
  .lyc-field select { min-height: 48px; padding-block: .65rem; }
  .lyc-field textarea { min-height: 76px; }

  .lyc-chip > span { min-height: 40px; padding: .45rem .85rem; font-size: .9rem; }

  /* Referanstaki gibi: Devam tam genişlik, not ve "← Geri" altında ortalı */
  .lyc-foot { flex-direction: column; align-items: stretch; gap: .6rem; }
  .lyc-next { width: 100%; min-height: 54px; margin-left: 0; }
  .lyc-note { order: 2; text-align: center; flex: none; }
  .lyc-foot .lyc-back { order: 3; align-self: center; }
  .lyc-meet-opts { grid-template-columns: 1fr; }
  .lyc-badges { gap: .25rem .9rem; font-size: .74rem; padding-block: .8rem .6rem; }

  .lyc-brands li { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lyc-body.is-next,
  .lyc-body.is-back,
  .lyc-done-ic,
  .lyc-other.is-on { animation: none; }
}
