/* v5.6.11 — Hero site hizasında, genişlemeyen masaüstü + düzeltilmiş mobil */

/* ÖNEMLİ: container genişliğini burada değiştirmiyoruz. Hero, menü ve diğer bölümler
   Bootstrap .container-xl ile aynı yatay hizada kalır. */
.hero-reference{padding:.35rem 0 0;background:#fff;overflow:visible}
.hero-reference-stage{position:relative;min-height:420px;border-radius:0;overflow:hidden;background:#f4f9fb;box-shadow:none}
.hero-reference-stage::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(244,249,251,1) 0%,rgba(244,249,251,1) 32%,rgba(244,249,251,.98) 39%,rgba(244,249,251,.9) 46%,rgba(244,249,251,.53) 56%,rgba(244,249,251,.12) 67%,rgba(244,249,251,0) 74%)}
.hero-reference-stage::after{display:none}
.hero-reference-photo{position:absolute;top:0;right:0;bottom:0;left:auto;width:58%;height:420px;object-fit:cover;object-position:center center;z-index:0}
.hero-reference-copy{position:relative;z-index:2;width:47%;min-height:420px;padding:1.85rem 1.2rem 1rem 1.55rem;display:flex;flex-direction:column;justify-content:center}
.hero-reference-kicker{margin-bottom:.62rem;color:#0b8f87;letter-spacing:.075em;font-size:.73rem;line-height:1.2;font-weight:850;text-transform:uppercase}
.hero-reference-title{max-width:590px;font-size:clamp(3rem,3.55vw,3.75rem);line-height:.98;letter-spacing:-.055em;font-weight:900;margin:0;color:#092d5b}
.hero-reference-sub{max-width:530px;margin:.85rem 0 1rem;color:#5c7385;font-size:.95rem;line-height:1.48}
.hero-reference-actions{display:flex;gap:.8rem;flex-wrap:nowrap}
.hero-primary-btn,.hero-secondary-btn{min-height:50px;min-width:190px;padding:.7rem 1.15rem;border-radius:11px;font-size:.88rem;font-weight:800;justify-content:center}
.hero-reference-trust{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:560px;margin-top:1.05rem}
.hero-reference-trust>span{padding:.12rem .8rem .12rem 0;margin-right:.8rem;grid-template-columns:36px 1fr;column-gap:.52rem;border-right:1px solid #d8e5ea}
.hero-reference-trust>span:last-child{border-right:0;margin-right:0;padding-right:0}
.hero-reference-trust i{width:36px;height:36px;border:0;border-radius:0;background:transparent;font-size:1.48rem;color:#0a8f8f}
.hero-reference-trust b{font-size:.82rem;line-height:1.08;font-weight:850;color:#24435d;white-space:normal}
.hero-reference-trust small{font-size:.74rem;line-height:1.08;color:#50697c;white-space:normal}

/* İstatistik bandı da hero ile aynı container içinde; yanlara taşmaz. */
.hero-stats-wrap{position:relative;z-index:5;margin:-2px 0 0}
.hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e0e9ee;border-radius:0 0 17px 17px;box-shadow:0 8px 22px rgba(8,26,46,.055);overflow:hidden}
.hero-stat-item{min-height:84px;padding:.82rem 1rem;display:flex;align-items:center;justify-content:flex-start;gap:.72rem;border-right:1px solid #e0e9ee;text-align:left}
.hero-stat-item:last-child{border-right:0}
.hero-stat-icon{width:48px;height:48px;display:grid;place-items:center;color:#0a9191;flex:0 0 48px;background:none;border:0;box-shadow:none;border-radius:0}
.hero-stat-icon svg{display:block;width:39px;height:39px;filter:none}
.hero-stat-copy{display:flex;flex-direction:column;min-width:0}
.hero-stat-item strong{display:flex;align-items:flex-end;gap:1px;font-size:1.82rem;line-height:.95;color:#0a335f;letter-spacing:-.045em;font-weight:850;margin:0}
.hero-stat-label{margin-top:.15rem;color:#63778a;font-size:.82rem;line-height:1.15;font-weight:500;white-space:nowrap}

.home-services-clean{padding-top:1.35rem;padding-bottom:1rem}
.home-services-reference-head{margin-bottom:.95rem}
.home-services-titleline{display:flex;align-items:center;justify-content:center;gap:.72rem;flex-wrap:wrap}
.home-services-reference-head .section-title{font-size:2.18rem;line-height:1.05;letter-spacing:-.035em;font-weight:900;color:#0b2d5e;margin:0}
.home-services-reference-head .section-lead{margin-top:.38rem;color:#708394;font-size:.9rem}
.home-hospital-pill{display:inline-flex;align-items:center;gap:.46rem;padding:.38rem .72rem;border-radius:10px;background:#0b3269;color:#fff;text-decoration:none;font-size:.7rem;font-weight:800;white-space:nowrap}
.home-hospital-pill img{width:27px;height:20px;object-fit:contain;background:#fff;border-radius:5px;padding:2px}
.home-hospital-pill:hover{color:#fff}
.service-grid-home{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.85rem;margin-top:1.1rem}
.service-grid-home .service-card{min-height:164px;border:1px solid #dde8ec;border-radius:15px;padding:1rem .9rem .82rem;background:#fff;box-shadow:none}
.service-grid-home .service-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#eaf7f7;color:#0c9592;font-size:1.35rem;margin-bottom:.72rem}
.service-grid-home .service-icon-svg svg{width:32px;height:32px;display:block}
.service-grid-home .service-card h3{margin:0 0 .38rem;font-size:.92rem;line-height:1.22;font-weight:850;color:#112f51}
.service-grid-home .service-card p{font-size:.73rem;line-height:1.42;color:#6d8090;margin-bottom:.72rem}
.service-grid-home .card-link{font-size:.7rem;color:#0a8f91;font-weight:700;text-decoration:none}

.home-services-cta-bar{margin-top:.9rem;min-height:78px;padding:.9rem 1rem;border-radius:14px;background:linear-gradient(96deg,#0c8d8b 0%,#11a7a1 100%);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.9rem;color:#fff;position:relative;overflow:hidden}
.home-services-cta-bar::before{content:"";position:absolute;left:-58px;top:-54px;width:158px;height:158px;border-radius:50%;border:23px solid rgba(255,255,255,.07)}
.home-services-cta-icon,.home-services-cta-copy,.home-services-cta-btn{position:relative;z-index:1}
.home-services-cta-icon{width:50px;height:50px;display:grid;place-items:center;color:#fff}
.home-services-cta-icon svg{width:31px;height:31px;display:block}
.home-services-cta-copy strong{display:block;font-size:1.25rem;line-height:1.05;font-weight:850}
.home-services-cta-copy span{display:block;margin-top:.14rem;color:#d9f4f2;font-size:.8rem}
.home-services-cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-width:138px;min-height:44px;padding:.62rem .9rem;border-radius:11px;background:#fff;color:#0a355f;text-decoration:none;font-weight:800;font-size:.8rem}
.home-services-cta-btn:hover{color:#0a355f}

@media (min-width:992px) and (max-width:1199.98px){
  .hero-reference-stage{min-height:390px}
  .hero-reference-photo{width:57%;height:390px}
  .hero-reference-copy{width:48%;min-height:390px;padding:1.55rem .9rem .8rem 1.15rem}
  .hero-reference-title{font-size:clamp(2.55rem,4vw,3.05rem);max-width:500px}
  .hero-reference-sub{font-size:.9rem;max-width:470px}
  .hero-primary-btn,.hero-secondary-btn{min-width:165px;min-height:46px;font-size:.81rem}
  .hero-reference-trust b{font-size:.75rem}.hero-reference-trust small{font-size:.68rem}
  .hero-stat-item{padding:.76rem .7rem;gap:.6rem}.hero-stat-icon{width:42px;height:42px;flex-basis:42px}.hero-stat-icon svg{width:34px;height:34px}.hero-stat-item strong{font-size:1.55rem}.hero-stat-label{font-size:.72rem}
  .service-grid-home{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-services-reference-head .section-title{font-size:1.95rem}
}

/* Tablet + mobil: metin önce, görsel sonra; devasa/bozuk overlay yok. */
@media (max-width:991.98px){
  .hero-reference{padding:.45rem 0 0}
  .hero-reference-stage{display:flex;flex-direction:column;min-height:0;border-radius:16px;overflow:hidden;background:#f4f9fb}
  .hero-reference-stage::before,.hero-reference-stage::after{display:none!important}
  .hero-reference-copy{order:1;width:100%;min-height:0;padding:1.45rem 1.2rem 1.15rem;justify-content:flex-start}
  .hero-reference-photo{order:2;position:relative;top:auto;right:auto;bottom:auto;left:auto;width:100%;height:245px;object-fit:cover;object-position:center center;z-index:0}
  .hero-reference-kicker{font-size:.67rem;margin-bottom:.48rem}
  .hero-reference-title{font-size:clamp(2rem,6.8vw,2.65rem);line-height:1;max-width:650px}
  .hero-reference-sub{max-width:620px;margin:.72rem 0 .85rem;font-size:.88rem;line-height:1.45}
  .hero-reference-actions{gap:.55rem;flex-wrap:nowrap}
  .hero-primary-btn,.hero-secondary-btn{min-width:0;flex:1 1 0;min-height:44px;padding:.55rem .7rem;font-size:.76rem}
  .hero-reference-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;margin-top:.9rem;gap:.35rem}
  .hero-reference-trust>span{display:flex;flex-direction:column;align-items:center;text-align:center;border-right:0;margin:0;padding:.2rem .15rem;gap:.12rem}
  .hero-reference-trust i{width:31px;height:31px;font-size:1.15rem;margin-bottom:.1rem}
  .hero-reference-trust b{font-size:.69rem;line-height:1.08}.hero-reference-trust small{font-size:.62rem;line-height:1.08}
  .hero-stats-wrap{margin:-1px 0 0}
  .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:0 0 15px 15px}
  .hero-stat-item{min-height:72px;padding:.65rem .72rem;gap:.55rem}
  .hero-stat-item:nth-child(2n){border-right:0}.hero-stat-item:nth-child(-n+2){border-bottom:1px solid #e0e9ee}
  .hero-stat-icon{width:38px;height:38px;flex-basis:38px}.hero-stat-icon svg{width:30px;height:30px}
  .hero-stat-item strong{font-size:1.35rem}.hero-stat-label{font-size:.66rem;white-space:normal}
  .home-services-clean{padding-top:1.15rem}
  .home-services-reference-head .section-title{font-size:1.72rem}
  .home-services-reference-head .section-lead{font-size:.82rem}
  .service-grid-home{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
  .service-grid-home .service-card{min-height:150px;padding:.82rem .78rem .72rem}
  .service-grid-home .service-icon{width:48px;height:48px;margin-bottom:.58rem}.service-grid-home .service-icon-svg svg{width:28px;height:28px}
  .home-services-cta-bar{grid-template-columns:auto 1fr;gap:.7rem;padding:.82rem}.home-services-cta-btn{grid-column:1/-1;width:100%}.home-services-cta-copy strong{font-size:1rem}.home-services-cta-copy span{font-size:.72rem}
}

@media (max-width:575.98px){
  .hero-reference .container-xl,.home-services-clean .container-xl{padding-left:12px;padding-right:12px}
  .hero-reference-stage{border-radius:14px}
  .hero-reference-copy{padding:1.2rem .95rem .9rem}
  .hero-reference-title{font-size:1.86rem;line-height:1.02;letter-spacing:-.045em}
  .hero-reference-sub{font-size:.82rem;margin:.62rem 0 .72rem}
  .hero-primary-btn,.hero-secondary-btn{min-height:42px;font-size:.72rem;border-radius:9px}
  .hero-reference-photo{height:210px;object-position:center center}
  .hero-reference-trust{margin-top:.72rem}
  .hero-reference-trust i{width:28px;height:28px;font-size:1.05rem}.hero-reference-trust b{font-size:.64rem}.hero-reference-trust small{font-size:.57rem}
  .hero-stat-item{min-height:68px;padding:.58rem .6rem;gap:.48rem}.hero-stat-icon{width:34px;height:34px;flex-basis:34px}.hero-stat-icon svg{width:27px;height:27px}.hero-stat-item strong{font-size:1.22rem}.hero-stat-label{font-size:.6rem}
  .home-services-titleline{gap:.45rem}.home-services-reference-head .section-title{font-size:1.5rem}.home-hospital-pill{font-size:.62rem;padding:.32rem .55rem}
  .service-grid-home{grid-template-columns:1fr}
  .service-grid-home .service-card{min-height:0;display:grid;grid-template-columns:48px 1fr;column-gap:.72rem;align-items:start}
  .service-grid-home .service-icon{grid-row:1/4;margin:0}.service-grid-home .service-card h3{grid-column:2;margin:.1rem 0 .28rem}.service-grid-home .service-card p{grid-column:2;margin:0 0 .42rem}.service-grid-home .card-link{grid-column:2}
  .home-services-cta-icon{display:none}.home-services-cta-bar{grid-template-columns:1fr;text-align:center}.home-services-cta-btn{grid-column:auto}
}
