/* =============================================
   KODLINK — pages.css v2
   ============================================= */

/* ── PAGE HERO ── */
.page-hero {
  padding: 160px 0 80px;
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--b);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 20%, rgba(67,56,202,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(6,182,212,0.04) 0%, transparent 55%);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #c7d2fe 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
  color: var(--t1);
}
.page-hero p { font-size: 1.05rem; color: var(--t2); max-width: 520px; margin: 0 auto; line-height: 1.75; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 36px; align-items: start;
}
.contact-info-card { padding: 36px; }
.contact-info-card h2 {
  font-family: var(--font-d);
  font-size: 1.5rem; font-weight: 800; margin-bottom: 12px;
}
.contact-info-card > p { color: var(--t2); font-size: 0.9rem; margin-bottom: 32px; line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 42px; height: 42px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-indigo); flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.75rem; color: var(--t3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.contact-item a, .contact-item span { font-size: 0.9rem; color: var(--t2); text-decoration: none; }
.contact-item a:hover { color: var(--accent-indigo); }
.contact-hours { padding-top: 24px; border-top: 1px solid var(--b); }
.contact-hours h4 { font-size: 0.82rem; font-weight: 700; color: var(--t2); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-hours p { font-size: 0.85rem; color: var(--t3); margin-bottom: 4px; }

/* ── CONTACT FORM ── */
.contact-form { padding: 40px; }
.contact-form h2 { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--t2); margin-bottom: 7px; letter-spacing: 0.02em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--b);
  border-radius: var(--r2);
  color: var(--t1); font-family: var(--font); font-size: 0.9rem;
  transition: all .2s ease; outline: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--p-light);
  background: rgba(99,102,241,0.03);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12), var(--sh-sm);
  transform: translateY(-1px);
}

.form-group input::placeholder, .form-group textarea::placeholder { color: var(--t3); }
.form-group select option { background: var(--bg2); color: var(--t1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── SERVICES PAGE ── */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.service-page-card { padding: 36px; }

/* ── BLOG PAGE ── */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.blog-post-content { max-width: 780px; margin: 0 auto; }
.blog-post-content h1 {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 20px;
}
.blog-post-content .post-meta {
  display: flex; align-items: center; gap: 14px;
  color: var(--t3); font-size: 0.82rem;
  margin-bottom: 36px; padding-bottom: 24px;
  border-bottom: 1px solid var(--b);
}
.blog-post-content .post-body { color: var(--t2); line-height: 1.85; font-size: 1.05rem; }
.blog-post-content .post-body h2 {
  font-family: var(--font-d); font-size: 1.5rem; font-weight: 800;
  color: var(--t1); margin: 40px 0 16px;
}
.blog-post-content .post-body p { margin-bottom: 18px; }
.blog-post-content .post-body ul, .blog-post-content .post-body ol { padding-left: 24px; margin-bottom: 18px; }
.blog-post-content .post-body li { margin-bottom: 8px; }

/* ── TEAM GRID ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.team-card { padding: 32px; text-align: center; }
.team-photo {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 16px;
  border: 2px solid rgba(99,102,241,0.25);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  width: 100%; height: 100%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: #fff;
}
.team-name { font-family: var(--font-d); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-position { font-size: 0.8rem; color: var(--accent-indigo); margin-bottom: 12px; }
.team-bio { font-size: 0.845rem; color: var(--t2); line-height: 1.65; }

/* ── SPINNER ── */
.spinner {
  display: inline-block; width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Enhanced Blog Filter ── */
.blog-filter-bar { margin-bottom: 40px; }
.blog-filter-bar .btn {
  border-radius: 100px;
  font-size: 0.82rem;
  padding: 8px 18px;
}

/* ── Newsletter CTA ── */
.newsletter-cta {
  background: linear-gradient(135deg, rgba(67,56,202,0.05), rgba(6,182,212,0.05));
  border: 1px solid rgba(99,102,241,0.10);
  backdrop-filter: blur(16px);
  border-radius: var(--r3);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

/* ── Blog Card Image Enhancement ── */
.blog-card-v3 .blog-img-v3 img {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.blog-card-v3:hover .blog-img-v3 img {
  transform: scale(1.06);
}

/* ── Reading Progress Bar ── */
.reading-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: var(--gradient-reading);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--glow);
}

/* ── Single Post Detail ── */
.blog-post-content .post-body code {
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
.blog-post-content .post-body pre {
  background: var(--bg-2);
  border: 1px solid var(--b);
  border-radius: var(--r2);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 0.82rem;
  line-height: 1.6;
}
.blog-post-content .post-body pre code {
  background: none;
  padding: 0;
}

/* ── Technology Badge ── */
.tech-api-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--g);
  letter-spacing: 0.03em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-page-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 60px; }
  .newsletter-cta { padding: 24px; }
  .blog-filter-bar { gap: 6px; }
  .blog-filter-bar .btn { font-size: 0.75rem; padding: 6px 12px; }
}

@media (max-width: 480px) {
  .blog-post-content .post-body { font-size: 0.95rem; }
  .newsletter-cta div[style*="flex"] { flex-direction: column; }
}

/* =============================================
   CONTACT PAGE v7 — Visual Redesign
   ─────────────────────────────────────────────
   @scope isolation, readable typography,
   comfortable spacing, Popover API copy,
   @starting-style entry animations,
   field-sizing, view-transitions, light-dark.
   ============================================= */

/* ─── Keyframes ─── */
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}
@keyframes spin360 { to { transform: rotate(360deg); } }
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(.95); }
}

/* ─── View Transition ─── */
::view-transition-old(contact-root),
::view-transition-new(contact-root) {
  animation-duration: .4s;
  animation-timing-function: cubic-bezier(.22,1,.36,1);
}

/* ═══════════════════════════════════════════
   @scope (.c-iletisim) — isolated contact styles
   ═══════════════════════════════════════════ */
@scope (.c-iletisim) {

  /* ──────────────────────────
     HERO — compact with mesh bg
     ────────────────────────── */
  .c-hero {
    position: relative;
    min-height: 38vh;
    display: flex; align-items: center;
    overflow: clip;
    background: var(--bg2);
    view-transition-name: contact-hero;
  }

  /* CSS animated gradient mesh — no JS needed */
  .c-hero::before,
  .c-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .18;
    pointer-events: none;
    animation: meshFloat 12s ease-in-out infinite;
  }
  .c-hero::before {
    width: 500px; height: 500px;
    top: -120px; left: -80px;
    background: radial-gradient(circle, var(--p1), transparent 70%);
  }
  .c-hero::after {
    background: radial-gradient(circle, var(--c1), transparent 70%);
    animation-delay: -4s;
  }

  #threeCanvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
  }

  .c-hero-inner {
    position: relative; z-index: 2;
    width: 100%;
    padding: 52px 0 32px;
    text-align: center;
    pointer-events: none;
  }
  .c-hero-inner > * { pointer-events: auto; }

  .c-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px 5px 10px;
    border-radius: 100px;
    background: light-dark(rgba(255,255,255,.6), rgba(255,255,255,.06));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid light-dark(rgba(0,0,0,.06), rgba(255,255,255,.10));
    font-size: .8rem; font-weight: 600;
    color: var(--t2);
    margin-bottom: 16px;
  }
  .c-badge__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--s2);
    animation: pulseDot 2s ease-in-out infinite;
  }

  .c-hero-title {
    font-family: var(--font-d);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.035em;
    color: var(--t1);
    margin: 0 auto 10px;
    max-width: 680px;
    text-wrap: balance;
  }
  .c-hero-title .grad-text {
    background: linear-gradient(135deg, var(--p1), var(--c1), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .c-hero-sub {
    font-size: .95rem; color: var(--t2);
    max-width: 460px; margin: 0 auto 20px;
    line-height: 1.6;
    text-wrap: balance;
  }

  .c-hero-btns {
    display: flex; gap: 10px;
    justify-content: center; flex-wrap: wrap;
  }

  /* ──────────────────────────
     QUICK ACTIONS — sticky bar
     ────────────────────────── */
  .c-bar {
    position: sticky; top: var(--nav-h, 76px);
    z-index: 50;
    display: flex; justify-content: center;
    padding: 0;
    pointer-events: none;
    anchor-name: --quick-bar;
  }
  .c-bar-inner {
    display: flex;
    padding: 4px;
    gap: 2px;
    border-radius: 100px;
    background: light-dark(rgba(255,255,255,.9), rgba(12,13,27,.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--b);
    box-shadow: var(--sh-sm);
    pointer-events: auto;
  }
  .c-bar-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: .8rem; font-weight: 600;
    color: var(--t2);
    border: none; background: transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    white-space: nowrap;

    &:hover {
      background: rgba(99,102,241,.08);
      color: var(--accent-indigo);
    }
    svg { flex-shrink: 0; width: 14px; height: 14px; }
  }
  .c-bar-btn--cta {
    background: var(--pg);
    color: #fff;
    &:hover { color: #fff; box-shadow: 0 6px 20px rgba(79,70,229,.3); }
  }

  /* ──────────────────────────
     GRID — two-column layout
     ────────────────────────── */
  .c-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 24px;
    align-items: start;
    container-type: inline-size;
    view-transition-name: contact-grid;
  }

  /* ──────────────────────────
     INFO CARD
     ────────────────────────── */
  .c-info {
    padding: 28px;
    position: relative;
    overflow: hidden;

    > h2 {
      font-family: var(--font-d);
      font-size: 1.15rem; font-weight: 800;
      margin-bottom: 4px;
    }
    > p {
      color: var(--t2); font-size: .85rem;
      margin-bottom: 16px; line-height: 1.55;
    }
  }

  .c-info-items {
    display: flex; flex-direction: column; gap: 2px;
  }
  .c-info-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background .2s;
    cursor: default;
    border: none; background: none; width: 100%; text-align: left;
    font-family: inherit;

    &:hover { background: rgba(99,102,241,.04); }
  }
  .c-info-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(99,102,241,.06);
    border: 1px solid rgba(99,102,241,.10);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-indigo);
    flex-shrink: 0;
    transition: all .2s;
  }
  .c-info-row:hover .c-info-icon {
    background: rgba(99,102,241,.12);
    border-color: rgba(99,102,241,.20);
  }
  .c-info-icon svg { width: 16px; height: 16px; }
  .c-info-label {
    display: block;
    font-size: .7rem; color: var(--t3);
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 1px; font-weight: 600;
  }
  .c-info-value {
    font-size: .88rem; color: var(--t2);
  }

  /* Response time badge */
  .c-response {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 12px; padding: 6px 12px;
    border-radius: 8px;
    font-size: .78rem;
    background: rgba(16,185,129,.06);
    border: 1px solid rgba(16,185,129,.12);
    color: var(--s1);
  }
  .c-response svg { width: 12px; height: 12px; flex-shrink: 0; }

  /* Social row */
  .c-social {
    display: flex; gap: 6px;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--b);
  }
  .c-social a {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(99,102,241,.05);
    border: 1px solid rgba(99,102,241,.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--t3);
    transition: all .2s;

    &:hover {
      background: rgba(99,102,241,.12);
      border-color: rgba(99,102,241,.20);
      color: var(--accent-indigo);
      transform: translateY(-1px);
    }
    svg { width: 14px; height: 14px; }
  }

  /* ──────────────────────────
     FORM CARD
     ────────────────────────── */
  .c-form {
    padding: 28px;
    position: relative;
    overflow: hidden;

    > h2 {
      font-family: var(--font-d);
      font-size: 1.15rem; font-weight: 800;
      margin-bottom: 4px;
    }
    > p {
      color: var(--t2); font-size: .85rem;
      margin-bottom: 16px;
    }
  }

  .c-fg {
    margin-bottom: 12px;
  }
  .c-fg label {
    display: block;
    font-size: .78rem; font-weight: 600;
    color: var(--t2);
    margin-bottom: 5px;
  }
  .c-fg .c-field {
    width: 100%; padding: 10px 14px;
    background: light-dark(rgba(0,0,0,.015), rgba(255,255,255,.025));
    border: 1.5px solid var(--b);
    border-radius: 9px;
    color: var(--t1);
    font-family: var(--font);
    font-size: .88rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
    accent-color: var(--accent-indigo);
  }
  .c-fg .c-field:focus {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 3px rgba(99,102,241,.08);
  }
  .c-fg .c-field.error {
    border-color: var(--error);
  }
  .c-fg select.c-field {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
  }
  .c-fg textarea.c-field {
    min-height: 88px;
    resize: vertical;
    line-height: 1.55;
    field-sizing: content;
  }

  .c-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .c-err {
    display: none;
    font-size: .72rem; color: var(--error);
    margin-top: 3px; align-items: center; gap: 4px;
  }
  .c-field.error + .c-err,
  .c-fg:has(.c-field.error) .c-err { display: flex; }

  .c-submit {
    width: 100%; margin-top: 4px;
    justify-content: center; padding: 12px 24px;
    font-size: .88rem;
  }

  /* ──────────────────────────
     TRUST BADGES
     ────────────────────────── */
  .c-trust {
    display: flex; gap: 14px;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--b);
    flex-wrap: wrap;
  }
  .c-trust-item {
    display: flex; align-items: center; gap: 5px;
    font-size: .75rem; color: var(--t3);
  }
  .c-trust-item svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--s1); }

  /* ──────────────────────────
     FAQ MICRO
     ────────────────────────── */
  .c-faq {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--b);
  }
  .c-faq > h3 {
    font-size: .82rem; font-weight: 700;
    color: var(--t2); margin-bottom: 8px;
  }
  .c-faq-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 4px;
  }
  .c-faq-q {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 8px 12px;
    font-size: .82rem; font-weight: 600; text-align: left;
    color: var(--t2);
    background: var(--bg3);
    border: none; cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    border-radius: 8px;
  }
  .c-faq-q:hover { background: var(--bg4); }
  .c-faq-q span { transition: transform .3s ease; }
  .c-faq-q[aria-expanded="true"] span { transform: rotate(180deg); }
  .c-faq-a {
    padding: 0 12px 10px;
    font-size: .82rem;
    color: var(--t3);
    line-height: 1.6;
    @starting-style {
      opacity: 0;
      translate: 0 -4px;
    }
  }

  /* ──────────────────────────
     POPOVER — clipboard toast
     ────────────────────────── */
  [popover] {
    margin: 0;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: var(--t);
    color: var(--bg);
    font-size: .82rem;
    font-weight: 600;
    font-family: var(--font);
    box-shadow: 0 8px 32px rgba(0,0,0,.22);
    position-anchor: --quick-bar;
    position-area: bottom;
    transition: opacity .2s, display .2s, overlay .2s;
    transition-behavior: allow-discrete;
    @starting-style { opacity: 0; }
  }
  [popover]::backdrop { background: transparent; }

  /* ──────────────────────────
     SUCCESS STATE
     ────────────────────────── */
  .c-success {
    text-align: center; padding: 28px 16px;
  }
  .c-success-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(16,185,129,.10);
    border: 2px solid rgba(16,185,129,.18);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    color: var(--s2);
    animation: popIn .4s cubic-bezier(.34,1.56,.64,1) forwards;
  }
  .c-success-icon svg { width: 20px; height: 20px; }
  .c-success h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .c-success p { color: var(--t2); font-size: .85rem; margin-bottom: 14px; }

  /* ──────────────────────────
     MAP
     ────────────────────────── */
  .c-map {
    position: relative;
    border-radius: var(--r2);
    overflow: clip;
    border: 1px solid var(--b);
    view-transition-name: contact-map;
  }
  .c-map-box {
    width: 100%; height: 280px;
    background: var(--bg3);
  }
  .c-map-label {
    position: absolute;
    z-index: 1002;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    pointer-events: none;

    .card {
      pointer-events: auto;
      padding: 12px 18px;
      text-align: center;
      min-width: 150px;
      border-radius: 12px;
      background: light-dark(rgba(255,255,255,.85), rgba(12,13,27,.9));
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(99,102,241,.10);
    }
    h3 { font-family: var(--font-d); font-size: .88rem; font-weight: 700; margin-bottom: 2px; }
    p { font-size: .78rem; color: var(--t2); margin-bottom: 8px; }
  }

  /* ──────────────────────────
     SPINNER
     ────────────────────────── */
  .c-spinner {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin360 .6s linear infinite;
    vertical-align: middle;
  }

  /* ──────────────────────────
     LEAFLET OVERRIDES
     ────────────────────────── */
  .leaflet-container { font-family: var(--font) !important; background: var(--bg3) !important; }
  .leaflet-control-zoom a {
    background: var(--bg2) !important; color: var(--t2) !important;
    border-color: var(--b) !important;
    &:hover { background: var(--bg3) !important; color: var(--t1) !important; }
  }
  .leaflet-popup-content-wrapper {
    border-radius: 10px !important; background: var(--bg2) !important;
    color: var(--t1) !important; box-shadow: var(--sh-sm) !important;
    font-family: var(--font) !important;
  }
  .leaflet-popup-tip { background: var(--bg2) !important; }

  /* ──────────────────────────
     CONTAINER QUERIES
     ────────────────────────── */
  @container (max-width: 700px) {
    .c-grid { grid-template-columns: 1fr; gap: 14px; }
    .c-row { grid-template-columns: 1fr; gap: 0; }
    .c-info, .c-form { padding: 20px; }
    .c-info > h2, .c-form > h2 { font-size: 1.05rem; }
    .c-info > p, .c-form > p { font-size: .82rem; margin-bottom: 12px; }
    .c-fg { margin-bottom: 12px; }
    .c-fg label { font-size: .75rem; }
    .c-fg .c-field { padding: 9px 12px; font-size: .85rem; }
    .c-info-row { padding: 8px 10px; }
    .c-info-icon { width: 32px; height: 32px; }
    .c-info-icon svg { width: 14px; height: 14px; }
    .c-info-label { font-size: .65rem; }
    .c-info-value { font-size: .82rem; }
    .c-response { margin-top: 10px; padding: 5px 10px; font-size: .72rem; }
    .c-social { margin-top: 10px; padding-top: 10px; gap: 5px; }
    .c-social a { width: 30px; height: 30px; }
    .c-social a svg { width: 13px; height: 13px; }
    .c-submit { padding: 11px 20px; font-size: .85rem; }
    .c-trust { gap: 10px; }
    .c-trust-item { font-size: .7rem; }
    .c-faq { margin-top: 14px; padding-top: 12px; }
    .c-faq > h3 { font-size: .78rem; }
    .c-faq-q { padding: 7px 10px; font-size: .78rem; }
    .c-faq-a { padding: 0 10px 8px; font-size: .78rem; }
    .section { padding: 24px 0; }
  }
  @container (max-width: 480px) {
    .c-bar-inner {
      display: flex;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      gap: 4px;
      padding: 4px;
      border-radius: 14px;
      width: max-content;
      max-width: 100%;
    }
    .c-bar-inner::-webkit-scrollbar { display: none; }
    .c-bar-btn {
      flex: 0 0 auto;
      padding: 7px 14px;
      font-size: .78rem;
      white-space: nowrap;
    }
    .c-info, .c-form { padding: 16px; }
    .c-map-box { height: 200px; }
    .c-hero { min-height: auto; }
    .c-hero-inner { padding: 40px 0 20px; }
    .c-hero-title { font-size: 1.5rem; }
    .c-hero-sub { font-size: .82rem; }
  }
}

/* ── Container query fallback (browsers without @container) ── */
@supports not (container-type: inline-size) {
  @media(max-width:768px){
    .c-iletisim .c-grid{grid-template-columns:1fr}
    .c-iletisim .c-row{grid-template-columns:1fr}
    .c-iletisim .c-bar-inner{flex-wrap:wrap;justify-content:center}
    .c-iletisim .c-bar-btn{flex:1 1 auto;min-width:0}
  }
  @media(max-width:480px){
    .c-iletisim .c-bar-inner{border-radius:16px}
    .c-iletisim .c-bar-btn{padding:6px 12px;font-size:.75rem}
    .c-iletisim .c-info,.c-iletisim .c-form{padding:20px}
    .c-iletisim .c-map-box{height:200px}
  }
}

/* ═══════════════════════════════════════════
   CONTACT PAGE — MOBILE OVERHAUL
   ═══════════════════════════════════════════ */

/* ── Hero: reduce height on mobile ── */
@media (max-width: 768px) {
  .c-iletisim .c-hero {
    min-height: auto;
    padding: 0;
  }
  .c-iletisim .c-hero-inner {
    padding: 44px 0 28px;
  }
  .c-iletisim .c-hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 8px;
    padding: 0 16px;
  }
  .c-iletisim .c-hero-sub {
    font-size: .88rem;
    padding: 0 20px;
    margin-bottom: 16px;
  }
  .c-iletisim .c-hero-btns {
    padding: 0 16px;
    gap: 8px;
  }
  .c-iletisim .c-hero-btns .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 10px 14px;
    font-size: .82rem;
  }
}

/* ── Quick actions bar: horizontal scroll on mobile ── */
@media (max-width: 640px) {
  .c-iletisim .c-bar {
    position: sticky;
    top: var(--nav-h, 60px);
    z-index: 50;
    padding: 0 12px;
    overflow: visible;
  }
  .c-iletisim .c-bar-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    width: max-content;
    max-width: 100%;
  }
  .c-iletisim .c-bar-inner::-webkit-scrollbar {
    display: none;
  }
  .c-iletisim .c-bar-btn {
    flex: 0 0 auto;
    padding: 7px 14px;
    font-size: .78rem;
    white-space: nowrap;
    border-radius: 100px;
  }
  .c-iletisim .c-bar-btn svg {
    width: 13px;
    height: 13px;
  }
}

/* ── Main grid: single column, tighter spacing ── */
@media (max-width: 768px) {
  .c-iletisim .c-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    container-type: unset;
  }

  /* Info card */
  .c-iletisim .c-info {
    padding: 20px;
    order: 2;
  }
  .c-iletisim .c-info > h2 {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .c-iletisim .c-info > p {
    font-size: .82rem;
    margin-bottom: 12px;
  }
  .c-iletisim .c-info-row {
    padding: 8px 10px;
  }
  .c-iletisim .c-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .c-iletisim .c-info-icon svg {
    width: 14px;
    height: 14px;
  }
  .c-iletisim .c-info-label {
    font-size: .65rem;
  }
  .c-iletisim .c-info-value {
    font-size: .82rem;
  }
  .c-iletisim .c-response {
    margin-top: 10px;
    padding: 5px 10px;
    font-size: .72rem;
  }
  .c-iletisim .c-social {
    margin-top: 10px;
    padding-top: 10px;
    gap: 5px;
  }
  .c-iletisim .c-social a {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }
  .c-iletisim .c-social a svg {
    width: 13px;
    height: 13px;
  }

  /* Form card */
  .c-iletisim .c-form {
    padding: 20px;
    order: 1;
  }
  .c-iletisim .c-form > h2 {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .c-iletisim .c-form > p {
    font-size: .82rem;
    margin-bottom: 14px;
  }

  /* Form fields */
  .c-iletisim .c-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .c-iletisim .c-fg {
    margin-bottom: 12px;
  }
  .c-iletisim .c-fg label {
    font-size: .75rem;
    margin-bottom: 4px;
  }
  .c-iletisim .c-fg .c-field {
    padding: 9px 12px;
    font-size: .85rem;
    border-radius: 8px;
  }
  .c-iletisim .c-fg textarea.c-field {
    min-height: 72px;
  }

  /* Submit button */
  .c-iletisim .c-submit {
    padding: 11px 20px;
    font-size: .85rem;
    border-radius: 10px;
  }

  /* Trust badges */
  .c-iletisim .c-trust {
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
  }
  .c-iletisim .c-trust-item {
    font-size: .7rem;
  }

  /* FAQ */
  .c-iletisim .c-faq {
    margin-top: 14px;
    padding-top: 12px;
  }
  .c-iletisim .c-faq > h3 {
    font-size: .78rem;
    margin-bottom: 6px;
  }
  .c-iletisim .c-faq-q {
    padding: 7px 10px;
    font-size: .78rem;
    border-radius: 7px;
  }
  .c-iletisim .c-faq-a {
    padding: 0 10px 8px;
    font-size: .78rem;
  }

  /* Section spacing */
  .c-iletisim .section {
    padding: 24px 0;
  }
  .c-iletisim .section--no-top {
    padding-top: 0;
  }
}

/* ── Extra small screens ── */
@media (max-width: 400px) {
  .c-iletisim .c-hero-inner {
    padding: 36px 0 20px;
  }
  .c-iletisim .c-hero-title {
    font-size: 1.5rem;
  }
  .c-iletisim .c-hero-sub {
    font-size: .82rem;
  }
  .c-iletisim .c-hero-btns .btn {
    padding: 9px 12px;
    font-size: .78rem;
  }
  .c-iletisim .c-bar-btn {
    padding: 6px 12px;
    font-size: .72rem;
  }
  .c-iletisim .c-info,
  .c-iletisim .c-form {
    padding: 16px;
  }
  .c-iletisim .c-map-box {
    height: 180px;
  }
  .c-iletisim .c-map-label .card {
    padding: 10px 14px;
    min-width: auto;
  }
  .c-iletisim .c-map-label h3 {
    font-size: .82rem;
  }
  .c-iletisim .c-map-label p {
    font-size: .72rem;
    margin-bottom: 6px;
  }
}
