@media(min-width: 1600px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1360px !important;
    }
    .custom-container{
        max-width: 1400px !important;
    }
}

.custom-container{
    width: 100% !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

@media (min-width: 576px) { /* Small (sm) */
    .custom-container {
        max-width: 540px !important;
    }
}

@media (min-width: 768px) { /* Medium (md) */
    .custom-container {
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    .custom-container {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    .custom-container {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    .custom-container {
        max-width: 1320px !important;
    }
}

@media (min-width: 1600px) { 
    .custom-container {
        max-width: 1500px !important;
    }
    header .h-bottom{
        justify-content: start !important;
    }
    header .main-menu{
        gap: 5px;
    }
}



@media(max-width:1800px){

  header .header-content .header-content-right #menu-ana-menu{
    gap: 20px;
  }

  main #home-journey-process .journey-image{
    width: 600px;
  }
}

@media (min-width:1200px) and (max-width:1700px){
	
	header .tops-menu > li > a {
		font-size: 16px;
	}
	
}

@media (min-width:1701px) and (max-width:1759px){

	header .tops-menu > li > a {
		font-size: 17px;
	}
}	

@media (min-width:1200px) and (max-width:1633px){

	header .tops-menu > li > a {
		font-size: 14px;
	}
	
}


@media (min-width: 1600px) and (max-width: 1800px) {
    header .main-menu {
        margin-left: 0%;
    }
}

@media (min-width: 1441px) and (max-width: 1633px) {
    header .tops-menu > li > a {
        font-size: 12px;
    }
}

@media (min-width: 1509px) and (max-width: 1633px) {
	
	header .tops-menu > li > a {
        font-size: 14px;
    }
	
}

@media(max-width:1600px){
  header .meeting-btn{
    display: none!important;
  }

 
}

@media (max-width:1500px) {
    .section-title{
        font-size: 36px!important;
    }
}

@media(max-width: 1440px) {
    header .main-menu{
        gap: 15px;
    }

    header .h-left .logo img {
        width: 160px;
    }

    main #home-banner {
        min-height: 760px;
    }
    
    main #home-banner .banner-content .banner-contact-title {
        font-size: 24px;
    }

    main #home-banner .banner-logo-area {
        position: relative;
        bottom: 5%;
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
        border-radius: 20px;
        border: 1px solid #fff;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 25px;
    }

    main #home-banner .banner-row {
        align-items: end;
    }

    main #home-banner .banner-logo-area .logo-gallery-item img {
        width: 60px;
    }

    main #home-banner .banner-comment-area{
        margin-bottom: 15px;
    }

    body footer .footer-bottom-text .text {
        font-size: 120px;
    }
    /* contact */
    #post-detail .contact-address-col{
        margin-bottom: 30px;
        padding: 0px;
    }

    main #post-detail.contact-page .contact-col{
        margin-bottom: 25px;
    }

    main #post-detail.contact-page .contact-content{
        padding: 15px;
    }

    main #post-detail.contact-page .contact-content .branch-name{
        font-size: 22px;
    }

    main #post-detail.contact-page .contact-content .contact-list .contact-list-item{
        font-size: 16px;
    }
}

@media(max-width:1300px){
	header .tops-menu > li > a {
        padding: 7px;
    }
	header .tops-menu > li > a {
        font-size: 10px;
    }

}

@media(max-width:1200px){
    main  .section-title {
        font-size: 28px !important;
    }

    main #home-procedures .section-title-inner {
        position: relative;
        top: 80px;
        margin-top: -80px;
    }

    main #home-before-after .before-after-gallery {
        grid-template-columns: repeat(2,1fr);
    }

    main #home-packages .section-title-head{
        text-align: center;
        margin-top: 25px;
    }

    body footer .footer-logo img {
        width: 35%;
        display: block;
        margin: 0 auto;
    }

    body footer .footer-bottom-text .text {
        font-size: 120px;
        margin-bottom: -20px;
        display:none;
    }

    body footer .footer-logo img{
        width: 100%;
    }
    body footer .certificates-container {
        margin-top: 15px;
        /* flex-direction: column; */
        width: 60%;
        gap: 10px;
        margin-bottom: 10px;
    }
    body footer .footer-bottom-button {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    #home-contact-form .contact-form-content {
        width: 60%;
        padding-left: 5%;
    }

    #home-contact-form .contact-image-wrap {
        width: 42%;
    }
}

@media(max-width:991px){
    header .logo img {
        width: 200px;
    }


    main .section-title {
        font-size: 24px!important;
    }

    main .line{
        top: 20px;
    }

    main .fixed-col{
        padding: 0px;
    }

    main .section-subtitle {
        font-size: 20px;
    }

    main #home-banner .home-form .input-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    main #home-banner .home-form .input-grid .input-col:nth-child(4) {
        grid-column: span 1;
    }

    /* home banner (hero) */

    main #home-banner {
        position: relative;
        top: -160px;
        bottom: auto;
        margin-bottom: -80px;
        padding-top: 180px;
        overflow: hidden;
    }

    main #home-banner .banner-content {
        position: relative;
        height: auto;
        padding-top: 0;
        display: block;
    }

    main #home-banner .banner-content-inner {
        position: relative;
        bottom: auto;
        margin-bottom: 20px;
    }

    main #home-banner .banner-content-inner .row.justify-content-between {
        row-gap: 15px;
    }

    main #home-banner .banner-doctor-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 15px;
    }

    main #home-banner .banner-col {
        padding-top: 0;
    }

    main #home-banner .banner-right-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 18px;
        
    }

    main #home-banner .banner-right-content .user-comments,
    main #home-banner .banner-right-content .company-links {
        width: 100%;
        flex: 0 0 100%;
    }

    main #home-banner .banner-right-content .company-links {
        flex-direction:row!important;
        align-items: center;
    }

    main #home-banner .banner-right-content .company-links .item {
        justify-content: center;
        text-align:center;
        flex-direction: column;
        width: 100%;
    }
    main #home-banner .banner-right-content .user-comments img {
        width: 125px;
    }
    main #home-banner .banner-right-content .company-links .item .icon img {
        width: 80px;
        height: 25px;
        object-fit: contain;
    }
    main #home-banner .banner-form {
        position: relative;
        bottom: 0;
        margin-bottom: 0;
        margin-top: -30px;
    }

    main #home-banner .banner-form-inner {
        padding: 25px 20px;
        border-radius: 20px;
    }

    main #home-banner .banner-form .title-area .section-title {
        font-size: 22px;
        text-align: center;
    }

    main #home-banner .banner-form .title {
        font-size: 24px;
        text-align: center;
    }

    #home-contact-form {
        padding: 20px 0 50px;
    }

    #home-contact-form .contact-form-inner {
        min-height: 0;
        flex-direction: column;
        overflow: hidden;
        padding: 24px 20px 0;
        border-radius: 28px;
    }

    #home-contact-form .contact-form-content {
        width: 100%;
        padding: 0;
    }

    #home-contact-form .contact-image-wrap {
        position: relative;
        right: auto;
        bottom: auto;
        width: 80%;
        height: auto;
        max-height: 360px;
        margin: 10px auto 0;
    }

    #home-contact-form .contact-image-wrap img {
        max-height: 360px;
    }

    #home-doctors .doctors-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 420px;
    }

    #home-contact-form .contact-shape {
        clip-path: polygon(0 62%, 100% 48%, 100% 100%, 0 100%);
    }

    #home-contact-form .contact-image-pattern {
        right: 10%;
        bottom: 12%;
        width: 80%;
        height: 65%;
    }

    main .section-text {
        margin-bottom: 20px;
    }

    main #home-procedure-details .col-lg-6 {
        margin-bottom: 20px;
    }
    
    /* footer */
    footer .footer-col{
        margin-bottom: 25px;
        padding: 0px;
    }
    footer .footer-col .col-lg-4 {
        padding-left: 0px;
        margin-bottom: 15px;
    }
    footer .footer-contact-col {
        padding: 0px;
    }
    footer .footer-logo img {
        width: 50%;
        margin: 0 auto;
    }
      footer .footer-bottom{
        padding: 15px 0 75px!important;
    }

    footer .footer-inner .footer-contact-container .footer-contact{
        font-size: 18px!important;
    }
}

@media(max-width: 768px) {
    /* general */
    header .logo img {
        width: 120px;
    }
    body .container-large {
        width: 95%;
        max-width: 95%;
        margin: 0 auto;
    }

    #home-doctors .section-title {
        font-size: 28px;
    }

    #home-doctors .doctors-row {
        gap: 14px;
    }

    #home-contact-form .banner-contact-title {
        font-size: 26px;
    }

    #home-contact-form .banner-contact-desc {
        font-size: 12px;
    }

    #home-contact-form .contact-image-wrap,
    #home-contact-form .contact-image-wrap img {
        max-height: 300px;
    }
    body .section-text h2 {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
    }
    .btn-area .wp-btn{
        font-size: 16px;
    }
    header .h-top {
        padding: 15px 20px;
        overflow-x: clip;
    }
    header .top-logo img {
        width: 100px;
    }
    header .web-lang>li.menu-item-has-children {
        background: #DEE2EB;
        padding: 3px 5px;
    }
    header .h-top .h-top-btn{
        font-size: 16px;
    }
    main #home-banner .banner-text-col .section-title {
        text-align: center;
    }
    main #home-banner .banner-text-col .section-desc {
        text-align: center;
    }
    main #home-banner .section-btn-container {
        display: flex;
        justify-content: center;
    }
    main #home-banner .logo-gallery {
        width: 100%;
        justify-content: center;
    }
    
    main #home-banner .banner-doctor-logos img {
        max-width: 80%;
        margin: 0 auto;
    }
    main #home-faq .fixed-image img {
        position: absolute;
        top: 10%;
    }
    main #home-faq .col-lg-4{
        margin-bottom: 25px;
    }
    main #home-faq .faq-list-area .faq-item .item-top .item-title .faq-number {
        display:none;
    }
    main #home-faq .faq-list-area .faq-item .item-top .item-title{
        font-weight:600;
    }
    main #home-blog .blog-row .services-content .blog-content {
        gap: 10px;
        flex-direction: column;
    }

    main #home-blog .blog-row .services-content {
        padding: 5px;
    }
    main #home-blog .blog-row .blog-col{
        border: none;
    }
   header .h-top .logo img {
        width: 60%;
    }
    
    body footer .footer-center .footer-menu ul li a{
        font-size:16px;
    }
 
    footer .footer-social-container{
        justify-content: center!important;
    }

    /*  footer */
    body footer .footer-logo img {
        width: 55%;
        display: block;
        margin: 0 auto;
    }
    body footer .footer-text {
        font-size: 15px;
        margin-bottom: 15px;
        line-height: 1.5;
        text-align: center;
    }
    body footer .footer-social-container {
        margin-top:0px;
    }
    body footer .footer-social-container .footer-top-social-link svg {
        width: 20px;
        height: 20px;
    }
    footer .footer-col{
        padding: 0;
        margin-bottom: 25px;
    }

    body footer .footer-center .footer-menu ul li a{
        font-size: 16px;
    }
    body footer .footer-center .footer-contact-container .footer-contact{
        font-size: 16px;
    }
  
    /* other page */
    .sidebar-form .contact_form .input-area .form-in{
        padding:10px 13px!important;
    }
    .sidebar-form  .contact_form .input-area .form-in::placeholder{
        font-size:14px !important;
    }

    .sidebar-form .contact_form .form-button{
        padding: 10px !important;
    }

    /* post */

    main #post-detail .post-header .post-title{
        font-size: 32px;
    }

    main #post-detail .post-toc {
        position: relative;
        top: 0;
    }

    main #post-detail .post-author-box {
        flex-direction: column;
        text-align: center;
    }

    main #post-detail .related-services-grid {
        grid-template-columns: 1fr;
    }

    main #post-detail .post-cta {
        flex-direction: column;
        align-items: stretch !important;
        text-align: center;
    }

	main #page-is-assesment .section-title-head {
    width: 100%;
    flex: 0 0 75%;
}

    /* contact */
    main #post-detail .contact-address-col .contact-page-whatsapp-btn{
        font-size: 20px;
    }

    main #post-detail .meeting-form-area{
        padding: 20px 30px;
    }
}

@media(max-width: 575px) {
    body{
        font-size: 16px!important;
    }
    body.home #home-banner {
        top: -115px;
        margin-bottom: -36px;
        padding-top: 130px;
        padding-bottom: 0px;
    }
    body .section-text h3 {
        font-size: 18px;
        font-weight: 700;
    }
    main .section-btn-dark , main #home-services .section-btn-area .section-btn {
        min-width: 150px;
        max-width:210px;
    }
    main .section-btn, main .section-btn-2 {
        align-items: center;
        padding: 8px 16px;
        font-size: 16px;
        max-width: 200px;
        justify-content: center;
        display: flex;
    }

    main #home-banner .banner-content-inner {
        margin-bottom: 0px;
    }

    main #home-banner .banner-doctor-text .title {
        font-family: 'BetterFriend', sans-serif;
        font-size: 40px;
        font-weight: 300;
    }

    main #home-banner .banner-doctor-text .job {
        font-size: 18px;
    }
    main #home-procedures .section-title-head .section-desc {
        font-size: 14px;
    }
    main #home-about .section-desc {
        color: var(--accent-color);
        font-size: 14px;
    }

    main #home-procedures .slide-title {
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    main #home-sculptor .section-title {
        margin-bottom: 10px;
        padding-bottom: 25px;
        border-bottom: 1px solid #707070;
        max-width: 100%;
    }
    
    main #home-sculptor .section-desc {
        width: 100%;
    }

    main #home-sculptor .sculptor-list .sculptor-list-item {
        font-size: 14px;
    }

    main #home-sculptor .sculptor-video .icon {
        position: absolute;
        bottom: 50%;
        left: 50%;
        transform: translate(-40%, 40%);
        width: 25px;
    }

    main #home-before-after .before-after-tab-btn {
        border-radius: 7px;
        padding: 10px 20px;
        color: #fff;
        font-size: 16px;
    }

    main #home-before-after .before-after-tab-nav {
        width: 100%;
        gap: 15px;
        flex-direction: row !important;
        overflow-y: auto;
    }
    main #home-news .book-image-area img {
        width: 50%;
    }

    main #home-services .service-item .title {
        font-size: 14px;
        text-align: center;
    }

    main #home-news .news-section-inner .news-text-container {
        text-align: center;
    }

    main #home-news .news-text-container .title{
        font-size: 24px;
    }

    main #home-news .news-text-container .desc {
        font-size: 14px;
    }

    main #home-news .news-section-inner {
        position: relative;
        padding: 45px 15px;
    }

    main #home-news .books-video-row .books-video .icon {
        position: absolute;
        bottom: 50%;
        left: 50%;
        transform: translate(-40%, 40%);
        width: 25px;
    }
    
    main #home-news .books-row {
        margin-bottom: 25px;
    }
    main #home-press .press-logo-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    main #home-press .press-logo-section .press-gallery-item img {
        width: 75px;
    }
    main #home-press .press-news-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    main #home-reviews .reviews-left-box {
        margin: 0px;
    }
    main #home-reviews .reviews-left-box .reviews-top-logo .logo img {
        width: 50%;
        display: block;
        margin: 0 auto;
    }
    main #home-blog .blog-col .blog-box .text .title {
        font-size: 15px;
        font-weight: 600;
    }
    /* footer */
    body .btn-primary , body .btn-secondary{
        min-width: 160px;
    }
    body footer .footer-logo-box img {
        width: 50%;
        padding: 10% 0px 10% 0%;
        display: block;
        margin: 0 auto;
    }
    body footer .footer-menu ul li a {
        font-size: 16px;
    }
    body footer .footer-copyright-bar {
        padding: 15px 0 85px;
    }
    footer .footer-logo img {
        width: 40%;
        margin: 0 auto;
    }
    footer .footer-cta-info-item {
        grid-column: span 2;
    }
    footer .footer-cta-info-item .text .title {
        font-size:16px
    }
    footer .footer-inner .footer-menu ul li a{
        font-size: 18px;
    }
    footer .footer-certificate-item {
        height: 75px;
        width: 125px;
        object-fit: contain;
    }
    footer .footer-bottom-bar .d-flex{
        width:100%;
    }
    body footer .footer-top-inner {
        margin-bottom: 0px;
    }
   
}
@media(max-width: 400px) {
    header .web-lang > li .lang-item{
        padding: 2px 4px !important;
    }

    /* homepage */
    main #home-banner .banner-form .title {
        font-size: 18px;
    }

    main #home-step-process .process-box {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 25px;
    }

    main #home-process .process-tab-title{
        font-size: 14px;
    }
}

@media(max-width:991px){
    main #home-multi-section{
        padding: 0px;
    }

    main .graft-calculator {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
}

/* =====================================================================
   ANASAYFA RESPONSIVE
   Kırılımlar: 1440 / 1199 / 991 / 767 / 575 / 480 / 400
   ===================================================================== */

@media (max-width: 1440px) {

    /* öncesi sonrası: küçük görsel kolonu esnek */
    #home-before-after .ba-thumbs-area {
        gap: 14px;
    }
    #home-before-after .ba-thumbs {
        flex: 1;
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 1199px) {

    /* kavisli arka planlar */
    #home-hair-transplant .hair-transplant-bg {
        border-radius: 120px 120px 0 0;
    }
    #home-before-after .before-after-bg {
        border-radius: 0 0 120px 120px;
    }

    /* öncesi sonrası */
    #home-before-after .ba-tabs {
        margin-top: 20px;
        gap: 12px;
    }
    #home-before-after .ba-tab-btn {
        padding: 14px 10px;
        font-size: 15px;
    }
    #home-before-after .ba-thumbs {
        height: 236px;
    }
    #home-before-after .ba-thumb {
        flex-basis: 112px;
    }
    #home-before-after .ba-arrows {
        gap: 12px;
    }

    /* yazı & görsel */
    #home-text-image .text-image-row {
        gap: 35px;
    }

    /* özellik kartları */
    #home-feature-cards .feature-card {
        padding: 14px;
    }
    #home-feature-cards .feature-card-title {
        font-size: 17px;
    }
    #home-feature-cards .feature-card-desc {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    /* genel bölüm boşlukları */
    #home-plastic-surgery,
    #home-before-after,
    #home-text-image,
    #home-feature-cards,
    #home-blog {
        margin-bottom: 50px;
    }
    #home-doctors {
        padding: 10px 0 50px;
    }
    main #home-plastic-surgery .section-desc,
    main #home-doctors .section-desc,
    main #home-hair-transplant .section-desc,
    main #home-before-after .section-desc {
        font-size: 15px;
    }


    /* hizmetler: 2 kolon */
    #home-plastic-surgery .services-col {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 6px;
    }
    #home-plastic-surgery .services-col .services-box .title {
        font-size: 18px;
    }
    #home-plastic-surgery .services-col .services-box .desc {
        font-size: 14px;
    }

    /* doktorlar */
    #home-doctors .doctors-row {
        max-width: 560px;
        margin: 0 auto 30px;
    }
    #home-doctors .doctor-name {
        font-size: 18px;
    }
    #home-doctors .doctor-card .doctor-title {
        font-size: 15px;
    }
    #home-doctors .doctor-link {
        font-size: 16px;
    }

    /* saç ekimi */
    #home-hair-transplant .hair-transplant-bg {
        padding: 45px 0 40px;
        border-radius: 80px 80px 0 0;
    }
    #home-hair-transplant .hair-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
        margin-bottom: 30px;
    }
    #home-hair-transplant .hair-box .image {
        margin-bottom: 12px;
    }

    /* öncesi sonrası: dikey düzen */
    #home-before-after .before-after-bg {
        padding: 20px 0 80px;
        border-radius: 0 0 80px 80px;
    }
    #home-before-after .section-content {
        margin-bottom: 25px;
    }
    #home-before-after .ba-tabs {
        flex-direction: row;
        gap: 10px;
        margin: 0 0 18px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    #home-before-after .ba-tabs::-webkit-scrollbar {
        display: none;
    }
    #home-before-after .ba-tab-btn {
        flex: 1 0 auto;
        padding: 11px 20px;
        white-space: nowrap;
    }
    #home-before-after .ba-panel.active {
        display: block;
    }
    #home-before-after .ba-main {
        margin-bottom: 12px;
    }
    #home-before-after .ba-main img {
        aspect-ratio: 442 / 268;
    }
    #home-before-after .ba-thumbs {
        flex-direction: row;
        height: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    #home-before-after .ba-thumbs::-webkit-scrollbar {
        display: none;
    }
    #home-before-after .ba-thumb {
        flex: 0 0 calc(33.333% - 8px);
        aspect-ratio: 208 / 128;
        scroll-snap-align: start;
    }
    #home-before-after .ba-arrows {
        display: none;
    }
    #home-before-after .row + .d-flex {
        margin-top: 30px;
    }

    /* yazı & görsel: tek kolon, metin üstte */
    #home-text-image .text-image-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    #home-text-image .text-image-row.is-reverse .text-image-content {
        order: 0;
    }
    #home-text-image .text-image-row + .text-image-row {
        margin-top: 50px;
    }
    #home-text-image .text-image-content .section-title {
        margin-bottom: 12px;
    }
    #home-text-image .text-image-media {
        aspect-ratio: 16 / 10;
    }

    /* özellik kartları */
    #home-feature-cards .feature-cards-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        max-width: 620px;
        margin: 0 auto;
    }

    /* blog */
    #home-blog .section-content {
        margin-bottom: 18px;
    }
}

@media (max-width: 767px) {

    /* öncesi sonrası */
    #home-before-after .ba-thumb {
        flex-basis: calc(50% - 6px);
    }

    /* iletişim formu */
    #home-contact-form .banner-contact-input-group,
    #home-contact-form .banner-contact-textarea-group,
    #home-contact-form .banner-contact-send-btn {
        min-height: 54px;
    }
    #home-contact-form .banner-contact-input-group {
        padding: 0 18px;
    }
}

@media (max-width: 575px) {
    /* genel bölüm boşlukları */
    #home-plastic-surgery,
    #home-before-after,
    #home-text-image,
    #home-feature-cards,
    #home-blog {
        margin-bottom: 40px;
    }
    main #home-plastic-surgery .section-content,
    main #home-hair-transplant .section-content,
    main #home-doctors .section-content {
        margin-bottom: 20px;
    }
    main #home-plastic-surgery .section-desc,
    main #home-doctors .section-desc,
    main #home-hair-transplant .section-desc,
    main #home-before-after .section-desc,
    main #home-text-image .section-desc {
        font-size: 14px;
        line-height: 1.45;
    }

    /* buton çiftleri: yan yana, eşit genişlik */
    #home-plastic-surgery .services-btn-container,
    #home-hair-transplant .hair-btn-container,
    #home-before-after .ba-btn-container,
    #home-text-image .text-image-btns {
        flex-direction: row;
        width: 100%;
        gap: 10px;
    }
    #home-plastic-surgery .services-btn-container > a,
    #home-hair-transplant .hair-btn-container > a,
    #home-before-after .ba-btn-container > a,
    #home-text-image .text-image-btns > a {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        padding: 12px 8px;
        font-size: 15px;
        border-radius: 8px;
    }
    #home-doctors .doctors-btn {
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 13px 16px;
        font-size: 16px;
    }


    /* hizmetler */
    #home-plastic-surgery .services-col {
        margin-bottom: 12px;
        padding: 5px;
    }
    #home-plastic-surgery .services-col .services-box .image img {
        border-radius: 14px;
    }
    #home-plastic-surgery .services-col .services-box .title {
        font-size: 16px;
        line-height: 1.3;
    }
    #home-plastic-surgery .services-col .services-box .desc {
        font-size: 13px;
        line-height: 1.35;
    }

    /* iletişim formu */
    #home-contact-form .contact-form-inner {
        padding: 22px 16px 0;
        border-radius: 22px;
    }
    #home-contact-form .banner-contact-title {
        font-size: 22px;
    }
    #home-contact-form .banner-contact-desc {
        font-size: 13px;
        text-align: center;
    }
    #home-contact-form .banner-contact-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    #home-contact-form .banner-contact-input-group input,
    #home-contact-form .banner-contact-input-group textarea {
        font-size: 15px;
    }
    #home-contact-form .banner-contact-send-btn {
        width: 100%;
        font-size: 16px;
    }
    #home-contact-form .contact-image-wrap {
        width: 100%;
    }
    #home-contact-form .contact-image-wrap,
    #home-contact-form .contact-image-wrap img {
        max-height: 260px;
    }
    #home-contact-form .contact-image-wrap img {
        width: auto;
        max-width: 100%;
    }

    /* doktorlar */
    #home-doctors .doctors-row {
        gap: 20px 12px;
    }
    #home-doctors .doctor-image {
        margin-bottom: 10px;
    }
    #home-doctors .doctor-image::before {
        border-radius: 16px;
    }
    #home-doctors .doctor-card {
        padding: 0;
    }
    #home-doctors .doctor-name {
        font-size: 16px;
    }
    #home-doctors .doctor-card .doctor-title {
        font-size: 13px;
        line-height: 1.3;
    }
    #home-doctors .doctor-desc {
        font-size: 13px;
    }
    #home-doctors .doctor-link {
        font-size: 14px;
    }

    /* saç ekimi */
    #home-hair-transplant .hair-transplant-bg {
        padding: 35px 0 30px;
        border-radius: 40px 40px 0 0;
    }
    #home-hair-transplant .hair-row {
        gap: 20px 12px;
    }
    #home-hair-transplant .hair-box .image {
        border-radius: 14px;
    }
    #home-hair-transplant .hair-box .title {
        font-size: 16px;
        margin-bottom: 4px;
    }
    #home-hair-transplant .hair-box .desc {
        font-size: 13px;
    }

    /* öncesi sonrası */
    #home-before-after .before-after-bg {
        padding: 15px 0 55px;
        border-radius: 0 0 40px 40px;
    }
    #home-before-after .ba-tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    #home-before-after .ba-main img,
    #home-before-after .ba-thumb {
        border-radius: 10px;
    }
    #home-before-after .ba-thumbs {
        gap: 8px;
    }
    #home-before-after .ba-thumb {
        flex-basis: calc(50% - 4px);
    }
    #home-before-after .row + .d-flex {
        margin-top: 25px;
    }

    /* yazı & görsel */
    #home-text-image .text-image-row + .text-image-row {
        margin-top: 40px;
    }
    #home-text-image .text-image-media {
        border-radius: 14px;
    }

    /* özellik kartları */
    #home-feature-cards .feature-card {
        gap: 12px;
        padding: 12px;
    }
    #home-feature-cards .feature-card-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        padding: 7px;
        margin-top: 0;
    }
    #home-feature-cards .feature-card-title {
        font-size: 16px;
    }
    #home-feature-cards .feature-card-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    /* hizmetler ve saç ekimi: tek kolon */
    #home-plastic-surgery .services-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #home-hair-transplant .hair-row {
        grid-template-columns: minmax(0, 1fr);
    }
    #home-hair-transplant .hair-box .image {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 400px) {
    #home-plastic-surgery .services-btn-container > a,
    #home-hair-transplant .hair-btn-container > a,
    #home-before-after .ba-btn-container > a,
    #home-text-image .text-image-btns > a {
        font-size: 14px;
        padding: 11px 6px;
    }
    #home-doctors .doctors-row {
        gap: 18px 10px;
    }
}

/* =====================================================================
   HEADER + ANASAYFA HERO RESPONSIVE
   ===================================================================== */

@media (max-width: 1399px) {
    header.site-header .tops-menu {
        gap: 18px;
    }
    header.site-header .tops-menu > li > a {
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    header.site-header {
        padding: 16px 0;
    }
    #home-hero {
        height: clamp(680px, 70vw, 800px);
    }
    #home-hero .hero-visual {
        left: 44%;
    }
    #home-hero .hero-person {
        left: 64%;
        max-width: 40%;
        height: 74%;
    }
    #home-hero .hero-panel {
        max-width: 36vw;
    }
    #home-hero .hero-title {
        font-size: 32px;
    }
    #home-hero .hero-features {
        max-width: 40vw;
    }
    #home-hero .hero-features li + li::before {
        margin: 0 14px;
    }
    #home-hero .hero-cert {
        left: 81%;
        width: 14%;
    }
    #home-hero .hero-badge {
        top: calc(clamp(90px, 5.6vw, 110px) + 24px);
        bottom: auto;
        width: 13%;
    }
}

/* 991px altı: yazı > görsel sahne > özellikler alt alta */
@media (max-width: 991px) {
    header.site-header .logo img {
        width: 120px;
    }
    #home-hero {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 120px 0 36px;
    }
    #home-hero .hero-socials {
        display: none;
    }
    #home-hero .hero-container {
        order: 1;
        display: block;
        height: auto;
        padding: 0;
    }
    #home-hero .hero-panel {
        max-width: 620px;
    }
    #home-hero .hero-title {
        font-size: 30px;
    }
    #home-hero .hero-stage {
        position: relative;
        inset: auto;
        order: 2;
        height: min(112vw, 600px);
        margin-top: 36px;
    }
    #home-hero .hero-visual {
        top: 16%;
        right: 5%;
        left: 5%;
        border-radius: 28px;
    }
    #home-hero .hero-person {
        left: 50%;
        max-width: 78%;
        height: 100%;
    }
    #home-hero .hero-cert {
        top: auto;
        bottom: 6%;
        left: 9%;
        width: 22%;
    }
    #home-hero .hero-badge {
        top: calc(16% + 18px);
        right: 9%;
        bottom: auto;
        width: 20%;
    }
    #home-hero .hero-foot {
        position: relative;
        bottom: auto;
        order: 3;
        margin-top: 28px;
    }
    #home-hero .hero-features {
        justify-content: center;
        width: auto;
        max-width: none;
        padding-top: 22px;
        row-gap: 14px;
    }
    #home-hero .hero-features::before {
        right: -100vw;
    }
    @keyframes cm-hero-visual {
        from { opacity: 0; clip-path: inset(100% 0 0 0 round 28px); }
        to   { opacity: 1; clip-path: inset(0 0 0 0 round 28px); }
    }
}

@media (max-width: 767px) {
    header.site-header .logo img {
        width: 105px;
    }
    #home-hero {
        padding-top: 105px;
    }
    #home-hero .hero-subtitle {
        margin-bottom: 10px;
    }
    #home-hero .hero-title {
        margin-bottom: 14px;
        font-size: 26px;
    }
    #home-hero .hero-desc {
        font-size: 14px;
    }
    #home-hero .hero-buttons {
        margin-top: 24px;
    }
    #home-hero .hero-btn {
        min-width: 0;
        max-width: none;
        height: 48px;
        padding: 0 14px;
        font-size: 15px;
    }
    #home-hero .hero-stage {
        margin-top: 28px;
    }
    #home-hero .hero-feature {
        gap: 9px;
        font-size: 14px;
    }
    #home-hero .hero-feature img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 400px) {
    #home-hero .hero-title {
        font-size: 23px;
    }
    #home-hero .hero-features li + li::before {
        margin: 0 10px;
    }
}

/* ---- anasayfa tanıtım ---- */
@media (max-width: 1199px) {
    #home-intro .intro-title {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    #home-intro {
        padding: 80px 0 70px;
    }
    #home-intro .intro-title {
        font-size: 28px;
    }
    #home-intro .intro-content {
        max-width: none;
    }
    #home-intro .intro-media {
        margin: 50px auto 0;
    }
}

@media (max-width: 767px) {
    #home-intro {
        padding: 60px 0 50px;
    }
    #home-intro .intro-title {
        margin-bottom: 14px;
        font-size: 23px;
    }
    #home-intro .intro-desc,
    #home-intro .intro-feature-text {
        font-size: 14px;
    }
    #home-intro .intro-feature {
        gap: 10px;
        padding-right: 10px;
    }
    #home-intro .intro-feature:nth-child(2n) {
        padding-left: 12px;
    }
    #home-intro .intro-btn {
        min-width: 160px;
        margin-top: 26px;
    }
    #home-intro .intro-media.has-contacts {
        padding-left: 18px;
        padding-bottom: 70px;
    }
    #home-intro .intro-contact-card {
        width: 88%;
        min-width: 0;
    }
    #home-intro .intro-contact-item {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    #home-intro .intro-title {
        font-size: 21px;
    }
    #home-intro .intro-features {
        grid-template-columns: 1fr;
    }
    #home-intro .intro-feature,
    #home-intro .intro-feature:nth-child(2n),
    #home-intro .intro-feature:nth-last-child(2):nth-child(odd) {
        padding-left: 0;
        border-left: 0;
        border-bottom: 1px solid rgba(38, 48, 63, 0.12);
    }
    #home-intro .intro-feature:last-child {
        border-bottom: 0;
    }
}

/* ---- anasayfa randevu formu ---- */
@media (max-width: 991px) {
    #home-form-area {
        padding: 20px 0 70px;
    }
    #home-form-area .home-form-card {
        padding: 22px 28px 22px;
    }
    #home-form-area .home-form-title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    #home-form-area {
        padding: 10px 0 50px;
    }
    #home-form-area .home-form-card {
        padding: 20px 18px;
    }
    #home-form-area .home-form-title {
        font-size: 22px;
    }
    #home-form-area .home-form-grid {
        grid-template-columns: 1fr;
    }
    #home-form-area .home-form-field input,
    #home-form-area .home-form-submit {
        height: 42px;
        font-size: 14px;
    }
    #home-form-area .home-form-submit {
        max-width: none;
        margin-top: 14px;
    }
}

/* ---- anasayfa tedavi sekmeleri ---- */
@media (max-width: 1199px) {
    #home-treatments .treatments-title {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    #home-treatments {
        padding-top: 60px;
    }
    #home-treatments .treatments-title {
        font-size: 26px;
    }
    /* sekmeler yana kayar */
    #home-treatments .treatments-tabs {
        grid-auto-columns: 180px;
        margin: 0 -15px 26px;
        padding: 4px 15px 10px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 15px;
        scrollbar-width: none;
    }
    #home-treatments .treatments-tabs::-webkit-scrollbar {
        display: none;
    }
    #home-treatments .treatments-tab-btn {
        scroll-snap-align: start;
    }
    /* kart üstte, görsel altta bölüme oturur */
    #home-treatments .treatments-card-col {
        order: -1;
        padding-bottom: 30px;
    }
    #home-treatments .treatments-card {
        max-width: none;
    }
    #home-treatments .treatments-image img {
        max-height: 420px;
    }
}

@media (max-width: 767px) {
    #home-treatments {
        padding-top: 50px;
    }
    #home-treatments .treatments-title {
        margin-bottom: 24px;
        font-size: 22px;
    }
    #home-treatments .treatments-tabs {
        grid-auto-columns: 150px;
    }
    #home-treatments .treatments-tab-btn {
        font-size: 11px;
    }
    #home-treatments .treatments-card {
        padding: 26px 22px 30px;
    }
    #home-treatments .treatments-card-title {
        font-size: 21px;
    }
    #home-treatments .treatments-list li {
        font-size: 14px;
    }
    #home-treatments .treatments-image img {
        max-height: 340px;
    }
}

/* ---- anasayfa şerit randevu formu ---- */
@media (max-width: 991px) {
    #home-form-bar {
        padding: 30px 0 34px;
    }
    #home-form-bar .home-form-title {
        font-size: 26px;
    }
    #home-form-bar .home-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #home-form-bar .home-form-title {
        font-size: 22px;
    }
    #home-form-bar .home-form-grid {
        grid-template-columns: 1fr;
    }
    #home-form-bar .home-form-field input,
    #home-form-bar .home-form-submit {
        height: 42px;
        font-size: 14px;
    }
}

/* ---- anasayfa diğer uygulamalar ---- */
@media (max-width: 1199px) {
    #home-services .services-title {
        font-size: 28px;
    }
    #home-services .services-grid {
        gap: 22px 16px;
    }
    #home-services .service-card-body {
        padding: 0 13px 13px;
    }
    #home-services .service-card-title {
        font-size: 15px;
    }
    #home-services .service-card-desc {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    #home-services {
        padding: 64px 0 72px;
    }
    #home-services .services-title {
        margin-bottom: 26px;
        font-size: 26px;
    }
    #home-services .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #home-services .services-buttons {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    #home-services {
        padding: 50px 0 60px;
    }
    #home-services .services-title {
        font-size: 24px;
    }
    #home-services .services-grid {
        gap: 12px;
    }
    #home-services .service-card-body {
        padding: 0 10px 10px;
    }
    #home-services .service-card-head {
        margin-bottom: 5px;
        padding-bottom: 4px;
    }
    #home-services .service-card-title {
        font-size: 13px;
    }
    #home-services .service-card-arrow svg {
        width: 18px;
        height: 18px;
    }
    #home-services .service-card-desc {
        font-size: 11.5px;
        line-height: 1.4;
    }
    #home-services .services-buttons {
        gap: 10px;
        margin-top: 30px;
    }
    #home-services .services-btn {
        flex: 1 1 0;
        min-width: 0;
        height: 48px;
        padding: 0 12px;
        font-size: 15px;
    }
}

@media (max-width: 379px) {
    #home-services .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    #home-services .service-card-title {
        font-size: 15px;
    }
    #home-services .service-card-desc {
        font-size: 13px;
    }
    #home-services .services-buttons {
        flex-direction: column;
    }
}

/* ---- anasayfa blog listesi ---- */
@media (max-width: 1199px) {
    #home-blog-list .blog-list-title {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    #home-blog-list {
        padding: 60px 0 70px;
    }
    #home-blog-list .blog-list-title {
        font-size: 26px;
    }
    #home-blog-list .blog-list-item {
        gap: 24px;
    }
    #home-blog-list .blog-list-image {
        flex-basis: 150px;
    }
}

@media (max-width: 767px) {
    #home-blog-list {
        padding: 50px 0 60px;
    }
    #home-blog-list .blog-list-title {
        margin-bottom: 20px;
        font-size: 22px;
    }
    /* görsel üste, metin altına */
    #home-blog-list .blog-list-item {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 12px;
        padding: 18px 0;
    }
    #home-blog-list .blog-list-text {
        flex-basis: auto;
    }
    #home-blog-list .blog-list-image {
        flex-basis: auto;
        aspect-ratio: 16 / 9;
    }
    #home-blog-list .blog-list-item-title {
        font-size: 15px;
    }
    #home-blog-list .blog-list-btn {
        min-width: 160px;
    }
}

/* ---- anasayfa yorumlar ---- */
@media (max-width: 1199px) {
    #home-reviews .reviews-title {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    #home-reviews {
        padding: 60px 0 70px;
    }
    #home-reviews .reviews-title {
        margin-bottom: 20px;
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    #home-reviews {
        padding: 50px 0 60px;
    }
    #home-reviews .reviews-title {
        font-size: 22px;
    }
    #home-reviews .reviews-desc {
        margin-bottom: 20px;
    }
}
