/* =========================================================
   Ayrancılar Çilingir — duyarlı düzen
   Kırılma noktaları: 1080 · 900 · 820 (mobil menü + alt çubuk) · 560 · 380
   ========================================================= */

/* ---------- 1080px ve altı ---------- */
@media (max-width: 1080px) {
  :root { --sec-pad: 76px; }

  .nav { gap: 18px; }
  .nav__list { gap: 16px; }
  .nav__link { font-size: 15px; }
  .nav__cta-num { display: none; }

  .sec-head { grid-template-columns: 120px minmax(0, 1fr); }
  .svc { column-gap: 28px; }

  .hero__fade {
    background: linear-gradient(to right, var(--paper) 0%, rgba(250, 249, 246, 0.9) 25%, rgba(250, 249, 246, 0.6) 45%, transparent 65%);
  }

  .review-card { flex: 0 0 calc(50% - 12px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--brand { padding-right: 0; }
}

/* ---------- 900px ve altı ---------- */
@media (max-width: 900px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 32px;
  }
  .sec-head .rail { padding-top: 0; }

  .hiz-light-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hiz-light-bot { flex-direction: column; text-align: center; gap: 12px; }
  .trust-wrap { flex-direction: column; gap: 32px; }
  .trust-left { flex: none; flex-direction: row; align-items: center; padding-top: 0; }
  .trust-line { width: 40px; height: 2px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hiz-light-wrap { flex-direction: column; gap: 40px; }
  .hiz-light-head { position: static; }
  .hiz-light-left { flex: none; }

  .areas-wrap { flex-direction: column; gap: 40px; text-align: center; }
  .areas-left { flex: none; }
  .chip-container { justify-content: center; }

  /* Rakamlarla Biz (Tablet) */
  .stats-timeline-container { padding-block: 60px; }
  .stat-point { width: auto; flex: 1; }
  .stat-number { font-size: clamp(36px, 4vw, 44px); }
  .stat-label { font-size: 13px; }
}

/* ---------- 820px ve altı: hamburger + sabit alt çubuk + dikey kapak ---------- */
@media (max-width: 820px) {
  :root { --sec-pad: 60px; }

  body { padding-bottom: 62px; }

  .burger { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 10px 24px rgba(21, 34, 56, .08);
    padding: 8px var(--gutter) 18px;
  }
  .site-head.is-open .nav { display: flex; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
  }
  .nav__link:hover { border-bottom-color: var(--rule); }

  .nav__cta { margin-top: 16px; padding: 14px 18px; font-size: 16px; }
  .nav__cta-num { display: inline; }

  .callbar { display: flex; }
  .float-cta { display: none; }

  /* Mobile Navbar */
  .site-head { height: 68px; padding-inline: 16px; }
  .burger { width: 44px; height: 44px; border: 1px solid #E9DED6; border-radius: 10px; background: #FFFDFC; justify-content: center; }
  .burger__label { display: none; }

  /* Kapakta fotoğraf artık arka planda değil, yazının altında tam genişlikte */
  .hero-wrapper {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 30px));
    margin-bottom: -30px;
  }
  .hero {
    flex-direction: column;
    min-height: 0;
    padding-block: 28px 54px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 30px));
  }
  .hero__fade { display: none; }

  .hero__inner { order: 1; padding-inline: 16px; padding-top: 24px; padding-bottom: 0; }
  .hero__content { width: 100%; padding-right: 0; }

  .eyebrow { font-size: 12px; padding: 8px 11px; margin-bottom: 18px; }
  .hero__title { font-size: clamp(40px, 11vw, 52px); line-height: 0.95; margin-top: 0; margin-bottom: 18px; letter-spacing: -0.02em; }
  .hero__lede { font-size: 15.5px; line-height: 1.6; color: #6B625D; max-width: 100%; margin-bottom: 22px; }

  .hero__cta { margin-top: 0; flex-direction: row; gap: 12px; width: 100%; }
  .hero__cta .plate { background: #292522; flex: 1; max-width: none; height: auto; min-height: 58px; border-radius: 12px; padding: 10px 16px; }
  .hero__cta .plate__label { color: #F1A17A; font-size: 11px; }
  .hero__cta .plate__num { color: #FFFFFF; font-size: 22px; }
  .hero__cta .plate__arrow { background: #E78652; color: #FFFFFF; width: 36px; height: 36px; }
  .hero__cta .plate__arrow svg { width: 17px; height: 17px; }
  
  .hero__cta .btn--outline { flex: 1; height: 100%; min-height: 58px; margin-top: 0; border: none; background: #25D366; color: #FFFFFF; justify-content: center; align-items: center; gap: 8px; border-radius: 12px; font-size: 15px; }
  .hero__cta .btn--outline:active, .hero__cta .btn--outline:hover { background: #1FAF55; border: none; color: #FFFFFF; }

  @media (max-width: 550px) {
    .hero__cta { flex-direction: column; }
    .hero__cta .plate, .hero__cta .btn--outline { width: 100%; flex: auto; min-height: auto; }
    .hero__cta .btn--outline { height: 48px; }
  }

  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
  @media (max-width: 380px) { .hero__trust { grid-template-columns: 1fr; } }
  .trust-pill { font-size: 13.5px; color: #615851; padding: 0; border: none; background: transparent; justify-content: flex-start; }

  .hero__image-wrapper {
    display: none;
  }

  .hiz-light-deco { display: none; }
  .trust-bg-deco { display: none; }

  /* Rakamlarla Biz (Mobile & Tablet) - Alternating Vertical Timeline */
  .stats-timeline-container { padding-block: 20px; width: 100%; max-width: 480px; margin-inline: auto; position: relative; }
  .stats-line-track { top: 0; left: 50%; width: 2px; margin-left: -1px; height: 100%; transform: none; background: #D8A68E; }
  .stats-line-fill { width: 100%; height: 0%; }
  .stats-points { display: flex; flex-direction: column; width: 100%; align-items: stretch; gap: 48px; }
  
  .stat-point { width: 50%; display: flex; align-items: center; gap: 14px; }
  
  .stat-point:nth-child(odd) { align-self: flex-start; flex-direction: row-reverse; text-align: right; }
  .stat-point:nth-child(odd) .stat-node { margin-right: -8px; }
  .stat-point:nth-child(odd) .stat-content { margin: 0; position: static; width: auto; }
  
  .stat-point:nth-child(even) { align-self: flex-end; flex-direction: row; text-align: left; }
  .stat-point:nth-child(even) .stat-node { margin-left: -8px; }
  .stat-point:nth-child(even) .stat-content { margin: 0; position: static; width: auto; }

  .stat-label::after { display: none; }
  
  .stat-number { font-size: clamp(24px, 6vw, 28px); line-height: 1.35; color: #292522; }
  .stat-label { font-size: 11px; color: #8B6F63; }

  /* Map (Mobile) */
  .areas-map-box {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .map-iframe-container {
    position: relative;
    height: clamp(300px, 50vw, 340px);
  }
  .map-info-panel {
    position: static;
    width: 100%;
    border: none;
    border-top: 1px solid #E9DED6;
    border-radius: 0;
    box-shadow: none;
    background: #FFFFFF;
  }
  .map-btn {
    width: 100%;
  }

  .review-card { flex: 0 0 85%; }
  .mobile-hide { display: none; }
  .desktop-hide { display: flex; }

  .footer-wrap { padding-top: 80px; }
  .footer-top-wave { height: clamp(35px, 8vw, 60px); }
}

/* ---------- 560px ve altı ---------- */
@media (max-width: 560px) {
  :root { --gutter: 18px; --sec-pad: 52px; }

  .brand__name { font-size: 19px; }
  .brand__tag { display: none; }

  .plate { padding: 14px 18px 12px; }
  .plate__arrow { width: 38px; height: 38px; }

  .hiz-light-grid { grid-template-columns: minmax(0, 1fr); }
  .hiz-lcard { padding: 18px 16px; min-height: auto; }
  .hiz-lcard__ico { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; }
  .hiz-lcard__ico svg { width: 20px; height: 20px; }

  .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

}

/* ---------- 380px ve altı ---------- */
@media (max-width: 380px) {
  .plate__arrow { display: none; }
  .plate { grid-template-columns: minmax(0, 1fr); }
  .callbar__btn { font-size: 17px; }
}

/* ---------- Hareketi azalt ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .anim,
  html.js .pcard.anim {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Baskı ---------- */
@media print {
  .site-head, .callbar, .float-cta, .strip, .hero__bg { display: none; }
  body { padding-bottom: 0; background: #fff; }
  .hero::before { display: none; }
  .cta-band, .section--navy { background: #fff; color: #000; }
}
