/* ==========================================================================
   biMARJ — İletişim sayfası
   Yalnızca bu sayfada yüklenir (controller: pageStyles => ['contact']).
   Diğer iç sayfalarla aynı hero, kart ve boşluk sistemi.
   ========================================================================== */

/* ---- Mini hero -------------------------------------------------------- */
.ct-hero{
  background:
    radial-gradient(760px 340px at 82% 20%, rgba(255,255,255,.7), transparent 60%),
    linear-gradient(112deg, #ffffff 0%, #f8fbf9 48%, #eef5f0 100%);
  border-bottom: 1px solid #e9efec;
  padding: 26px 0 30px;
}
.ct-hero-inner{
  display: grid; grid-template-columns: 1fr 230px;
  gap: 32px; align-items: center;
}
.ct-hero-copy{ min-width: 0; }

.ct-hero .breadcrumb{
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0 0 12px; padding: 0;
  font-size: 12.5px; color: #77848c;
}
.ct-hero .breadcrumb li + li:before{ content: "›"; margin-right: 8px; color: #b3bec4; }
.ct-hero .breadcrumb a{ color: #77848c; }
.ct-hero .breadcrumb a:hover{ color: var(--green); }

.ct-hero h1{
  position: relative;
  font-size: 36px; font-weight: 700; letter-spacing: -1.1px;
  line-height: 1.12; color: var(--ink);
  margin: 0 0 16px; padding-bottom: 11px;
}
.ct-hero h1:after{
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 52px; height: 3px; border-radius: 3px; background: #e85d4a;
}
.ct-hero p{
  font-size: 16px; line-height: 1.6; color: #44535f;
  margin: 0; max-width: 58ch;
}

.ct-hero-art{ position: relative; height: 150px; }
.cta-i{
  position: absolute; display: grid; place-items: center;
  border-radius: 14px; background: #fff;
  box-shadow: 0 8px 20px rgba(13,40,30,.10);
}
.cta-i svg{ fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.cta-1{ width: 62px; height: 62px; left: 8px;   top: 12px;   color: #0f8a5f; }
.cta-1 svg{ width: 30px; height: 30px; }
.cta-2{ width: 54px; height: 54px; right: 6px;  top: 0;      color: #2f72cf; }
.cta-2 svg{ width: 26px; height: 26px; }
.cta-3{ width: 50px; height: 50px; left: 52px;  bottom: 6px; color: #e0654a; }
.cta-3 svg{ width: 24px; height: 24px; }
.cta-4{ width: 46px; height: 46px; right: 22px; bottom: 20px; color: #c98a06; }
.cta-4 svg{ width: 22px; height: 22px; }

/* ---- Sayfa gövdesi ---------------------------------------------------- */
.ct-page{ padding: 30px 0 12px; }

.ct-grid{
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 18px; align-items: start;
}

/* ---- Sol kolon: bilgi kartı -------------------------------------------- */
.ct-info, .ct-form-card{
  background: #fff; border: 1px solid #e9edeb; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(25,42,57,.04);
  padding: 22px 20px;
}
.ct-info h2, .ct-form-card h2{
  font-size: 19px; font-weight: 700; letter-spacing: -.4px;
  color: var(--ink); margin: 0 0 16px;
}

.ct-mail{
  display: flex; align-items: center; gap: 12px;
  background: #f2f9f5; border: 1px solid #dcece3; border-radius: 12px;
  padding: 13px 15px; margin-bottom: 20px;
  transition: background-color .2s ease, border-color .2s ease;
}
.ct-mail:hover{ background: #eaf5ef; border-color: #cbe3d6; text-decoration: none; }
.ct-mail-ic{
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px;
  display: grid; place-items: center; background: #e0f0e7; color: #0f8a5f;
}
.ct-mail-ic svg{
  width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ct-mail-body{ display: flex; flex-direction: column; min-width: 0; }
.ct-mail-label{ font-size: 11.5px; color: #6d8a7c; }
.ct-mail-addr{
  font-size: 15.5px; font-weight: 600; color: #0f7355;
  word-break: break-all; line-height: 1.3;
}

.ct-sub{ font-size: 13px; font-weight: 600; color: #77848c; margin: 0 0 11px;
  text-transform: uppercase; letter-spacing: .05em; }

.ct-topics{ list-style: none; margin: 0 0 20px; padding: 0; }
.ct-topics li{
  display: flex; align-items: center; gap: 11px;
  padding: 9px 0; border-bottom: 1px solid #f2f5f3;
  font-size: 14px; color: #33424e;
}
.ct-topics li:last-child{ border-bottom: 0; }
.ct-topic-ic{
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px;
  display: grid; place-items: center; background: #f1f6f3; color: #0f8a5f;
}
.ct-topic-ic svg{
  width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.ct-tip{
  display: flex; align-items: flex-start; gap: 11px;
  background: #fff8e8; border: 1px solid #f3e2b8; border-radius: 12px;
  padding: 13px 14px;
}
.ct-tip-ic{
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px;
  display: grid; place-items: center; background: #fbeecb; color: #a9740a;
}
.ct-tip-ic svg{
  width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ct-tip p{ margin: 0; font-size: 13px; line-height: 1.55; color: #6b5514; }

/* ---- Sağ kolon: form ---------------------------------------------------- */
.ct-alert{
  display: flex; align-items: flex-start; gap: 10px;
  border-radius: 11px; padding: 12px 14px; margin-bottom: 16px;
  font-size: 13.5px; line-height: 1.5;
}
.ct-alert svg{
  width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ct-alert.is-ok { background: #e6f4ec; border: 1px solid #cbe6d8; color: #0f7355; }
.ct-alert.is-err{ background: #fdecea; border: 1px solid #f5cfca; color: #a33526; }

/* Tuzak alanı — ekran okuyucudan ve gözden uzak */
.ct-trap{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.ct-field{ display: block; margin-bottom: 15px; }
.ct-label{
  display: block; font-size: 13px; font-weight: 500;
  color: #44535f; margin-bottom: 6px;
}
.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field select,
.ct-field textarea{
  width: 100%; box-sizing: border-box;
  border: 1px solid #dbe2e7; border-radius: 11px;
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: 14.5px; line-height: 1.5;
  padding: 0 14px; outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field select{ height: 48px; }
.ct-field textarea{ height: 150px; padding: 13px 14px; resize: vertical; }
.ct-field select{ appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #7b8a94 50%),
                    linear-gradient(135deg, #7b8a94 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 13px) 21px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 38px; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus{
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,135,96,.12);
}
.ct-field .has-error{ border-color: #e0837a; }
.ct-field input::placeholder, .ct-field textarea::placeholder{ color: #9aa7b0; }

.ct-err{ display: block; margin-top: 6px; font-size: 12.5px; color: #b8432f; }
.ct-err-block{ margin: -6px 0 12px; }

.ct-consent{
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 16px; font-size: 13px; line-height: 1.5; color: #5b6a76;
}
.ct-consent input{ margin: 2px 0 0; width: 16px; height: 16px; flex: 0 0 16px;
  accent-color: var(--green); }
.ct-consent a{ color: var(--green); font-weight: 500; }

.ct-submit{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 26px;
  background: var(--green); color: #fff;
  border: 0; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,135,96,.20);
  transition: background-color .2s ease, transform .2s ease;
}
.ct-submit:hover{ background: var(--green-dark); transform: translateY(-1px); }
.ct-submit svg{
  width: 17px; height: 17px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- Alt güven satırı ---------------------------------------------------- */
.ct-trust{
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin: 20px 0 8px;
}
.ct-trust > div{
  display: flex; align-items: center; gap: 12px;
  background: #f7faf8; border: 1px solid #e9efec; border-radius: 13px;
  padding: 14px 16px;
}
.ct-trust-ic{
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px;
  display: grid; place-items: center; background: #e6f4ec; color: #0f8a5f;
}
.ct-trust-ic svg{
  width: 17px; height: 17px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ct-trust p{ margin: 0; display: flex; flex-direction: column; min-width: 0; }
.ct-trust b{ font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ct-trust small{ font-size: 12px; color: #77848c; line-height: 1.4; margin-top: 2px; }
.ct-trust small a{ color: #0f7355; font-weight: 500; word-break: break-all; }

/* ---- Duyarlı ------------------------------------------------------------ */
@media (max-width: 1180px){
  .ct-hero h1{ font-size: 33px; }
}
@media (max-width: 980px){
  .ct-hero-inner{ grid-template-columns: 1fr; gap: 20px; }
  .ct-hero-inner > .ct-hero-art{ display: none; }
  /* Tek kolon: önce iletişim bilgileri, sonra form */
  .ct-grid{ grid-template-columns: 1fr; }
  .ct-trust{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .ct-hero{ padding: 20px 0 24px; }
  .ct-hero h1{ font-size: 28px; letter-spacing: -.8px; margin-bottom: 13px; }
  .ct-hero p{ font-size: 15px; }
  .ct-page{ padding: 24px 0 8px; }
  .ct-info, .ct-form-card{ padding: 18px 16px; }
  .ct-row{ grid-template-columns: 1fr; gap: 0; }
  .ct-field input[type="text"],
  .ct-field input[type="email"],
  .ct-field select{ height: 50px; font-size: 15px; }
  .ct-field textarea{ height: 150px; font-size: 15px; }
  .ct-submit{ width: 100%; min-height: 52px; }
}

/* ---- Grid desteklemeyen motorlar için yedek ---------------------------- */
@supports not (display: grid){
  .ct-hero-inner, .ct-grid, .ct-row, .ct-trust{ font-size: 0; }
  .ct-hero-inner > *, .ct-grid > *, .ct-row > *{
    display: inline-block; vertical-align: top; font-size: 16px;
    box-sizing: border-box;
  }
  /* Özgüllük notu: temel .ct-trust > div kuralı (0,1,1) display:flex
     tanımlıyor; yedekte aynı seçiciyi kullanmak gerekiyor. */
  .ct-trust > div{
    display: inline-block; vertical-align: top; font-size: 16px;
    box-sizing: border-box;
  }
  .ct-hero-inner > *:first-child{ width: 72%; padding-right: 3%; }
  .ct-hero-inner > *:last-child { width: 26%; }
  .ct-grid > *:first-child{ width: 41%; margin-right: 1%; }
  .ct-grid > *:last-child { width: 57%; }
  .ct-row > *{ width: 49%; margin-right: .8%; }
  .ct-trust > div{ width: 32.3%; margin-right: .8%; }
  .ct-mail-ic, .ct-topic-ic, .ct-tip-ic, .ct-trust-ic{
    display: inline-block; text-align: center;
  }
  .ct-mail-ic{ line-height: 38px; }
  .ct-topic-ic{ line-height: 30px; }
  .ct-tip-ic{ line-height: 28px; }
  .ct-trust-ic{ line-height: 34px; }
}
@media (max-width: 980px){
  @supports not (display: grid){
    .ct-grid > *:first-child, .ct-grid > *:last-child{ width: 100%; margin-right: 0; }
    .ct-trust > div{ width: 100%; margin-right: 0; margin-bottom: 10px; }
    .ct-hero-inner > *:first-child, .ct-hero-inner > *:last-child{ width: 100%; padding-right: 0; }
  }
}
@media (max-width: 560px){
  @supports not (display: grid){
    .ct-row > *{ width: 100%; margin-right: 0; }
  }
}
