/* ==========================================================================
   OdyoLiv — Duyarlı (responsive) düzen kuralları
   Kırılımlar: 1100px (küçük masaüstü), 900px (tablet), 640px (mobil)
   Test edilen genişlikler: 375, 768, 1024, 1440
   ========================================================================== */

@media (max-width:1100px){
  .nav a{padding:10px 9px;font-size:.94rem}
  .brand img{height:46px}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr;}
  .footer-grid>:last-child{grid-column:1 / -1}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:36px}
  .steps li:nth-child(3)::after{display:none}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:900px){
  :root{--header-h:72px}
  .brand img{height:42px}
  .section{padding:64px 0}
  .menu-toggle{display:inline-flex}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgb(10 42 48 / .12);padding:8px 24px 22px;max-height:calc(100vh - var(--header-h));overflow-y:auto}
  .nav.is-open{display:flex}
  .nav a{padding:16px 4px;border-bottom:1px solid var(--line);border-radius:0;font-size:1.05rem}
  .nav a.btn{margin:18px 0 0;border-radius:999px}
  .nav a[aria-current="page"]::after{display:none}
  .nav a[aria-current="page"]{color:var(--teal-600)}
  .nav a.btn{border-bottom:2px solid var(--petrol-700);text-align:center;padding:12px 24px}
  .hero{padding:48px 0 72px}
  .hero-grid,.split,.contact-grid,.selfcheck,.article-layout,.cta-band{grid-template-columns:1fr}
  .hero-grid,.split{gap:40px}
  .split.reverse>:first-child{order:0}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .result-card,.sidebar{position:static}
  .cta-band{padding:40px 32px}
  .cta-band .btn-row{justify-content:flex-start}
  .topbar .topbar-hours{display:none}
}

@media (max-width:640px){
  body{font-size:17px}
  .container{padding:0 18px}
  .section{padding:52px 0}
  .section-head{margin-bottom:34px}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:0}
  .steps li{padding:0 0 28px 68px;min-height:76px}
  .steps li::before{width:44px;height:44px}
  .steps li::after{display:block;top:48px;bottom:4px;left:21px;right:auto;width:2px;height:auto;background:repeating-linear-gradient(180deg,var(--sand-200) 0 8px,transparent 8px 14px)}
  .steps li:nth-child(3)::after{display:block}
  .steps li:last-child::after{display:none}
  .topbar{display:none}
  .brand img{height:38px}
  .hero{padding:36px 0 64px}
  .appt-card{padding:22px}
  .cta-band{padding:34px 22px;border-radius:18px}
  .btn-row .btn{flex:1 1 100%}
  .spec-list div{grid-template-columns:1fr;gap:2px}
  .detail-visual{min-height:240px;padding:28px}
  .footer-grid{grid-template-columns:1fr;gap:32px}
  .footer-bottom{flex-direction:column}
  fieldset.q{padding:14px 16px}
  .yn{width:100%}
  .yn label{flex:1}
  /* Mobil sabit eylem çubuğu: ara, WhatsApp, randevu */
  .action-bar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -6px 20px rgb(10 42 48 / .1);padding-bottom:env(safe-area-inset-bottom)}
  .action-bar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px;text-decoration:none;font-size:.76rem;font-weight:600;color:var(--petrol-800);font-family:var(--font-head);text-align:center;line-height:1.15}
  .action-bar a+a{border-left:1px solid var(--line)}
  .action-bar a.primary{background:var(--petrol-700);color:#fff}
  .action-bar .icon{width:22px;height:22px}
  .float-dock{display:none}
  body{padding-bottom:64px}
}

/* Çok büyük ekranlar */
@media (min-width:1500px){
  :root{--container:1240px}
}
