/**
 * Ana sayfa — mobil ve küçük tablet (max-width: 991.98px)
 * Yalnızca .pk-home kapsamında; diğer sayfalar etkilenmez.
 */

@media (max-width: 991.98px) {
  .pk-home {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .pk-home .pk-section {
    padding: 2.25rem 0;
  }

  .pk-home .pk-container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  /* Hero */
  .pk-home .pk-hero {
    padding: 1.25rem 0 2rem;
    text-align: center;
  }

  .pk-home .pk-hero__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .pk-home .pk-hero__brand-row {
    gap: 0.55rem;
  }

  .pk-home .pk-hero__anniversary {
    width: 2.75rem;
    height: 2.75rem;
  }

  .pk-home .pk-hero__anniversary-num {
    font-size: 1rem;
  }

  .pk-home .pk-hero__anniversary-label {
    font-size: 0.42rem;
  }

  .pk-home .pk-hero__logo-img {
    width: min(190px, 68vw);
    max-height: 46px;
  }

  .pk-home .pk-hero__avatars {
    justify-content: center;
    margin-bottom: 1rem;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    max-width: 100%;
    scrollbar-width: none;
  }

  .pk-home .pk-hero__avatars::-webkit-scrollbar {
    display: none;
  }

  .pk-home .pk-hero__avatars > a,
  .pk-home .pk-hero__avatars > span,
  .pk-home .pk-hero__avatars .pk-hero__avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .pk-home .pk-hero__eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem 0.3rem 0.5rem;
  }

  .pk-home .pk-hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    margin: 0 auto;
    max-width: 22rem;
    text-align: center;
    line-height: 1.22;
  }

  .pk-home .pk-hero__seo-lead {
    margin: 0.65rem auto 0;
    max-width: 24rem;
    font-size: 0.9375rem;
    text-align: center;
    line-height: 1.5;
  }

  .pk-home .pk-hero-search {
    margin-top: 1.25rem;
    max-width: none;
  }

  .pk-home .pk-hero-search__box {
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  }

  .pk-home .pk-hero-search__box .pk-search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem;
    border-bottom: 1px solid var(--pk-border);
  }

  .pk-home .pk-search-bar > i {
    display: none;
  }

  .pk-home .pk-search-bar input {
    width: 100%;
    min-width: 0;
    padding: 0.5rem 0.25rem;
    font-size: 1rem;
  }

  .pk-home .pk-search-bar .pk-hero-search__search-btn {
    width: 100%;
    border-radius: 16px !important;
    padding: 0.75rem 1rem !important;
    justify-content: center;
    font-size: 0.9375rem;
    min-height: 44px;
  }

  .pk-home .pk-hero-search__location--action {
    flex-direction: row;
    align-items: flex-end;
    padding: 0.65rem 0.75rem 0.85rem;
  }

  .pk-home .pk-hero-search__submit {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin-bottom: 0.1rem;
  }

  .pk-home .pk-hero-search__nearby {
    padding: 0.9rem 0.75rem 0.95rem;
    border-top: 1px solid var(--pk-border);
  }

  .pk-home .pk-hero-search__nearby-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .pk-home .pk-hero__chips {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: none;
    width: 100%;
    margin: 1rem 0 0;
    padding: 0.1rem 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .pk-home .pk-hero__chips::-webkit-scrollbar {
    display: none;
  }

  .pk-home .pk-hero__chips .pk-home-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    font-size: 0.75rem;
  }

  .pk-home .pk-loc-picker .pk-select {
    font-size: 1rem;
    min-height: 46px;
  }

  .pk-home .pk-hero .pk-store-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    width: min(100%, 22rem);
    max-width: 100%;
    margin: 1.2rem auto 0;
    padding: 0;
    justify-items: stretch;
  }

  .pk-home .pk-hero .pk-store-badge {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 0.6rem 0.45rem;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 16px;
  }

  .pk-home .pk-hero .pk-store-badge__icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .pk-home .pk-hero .pk-store-badge__icon .store-badge-svg {
    width: 26px;
    height: 26px;
  }

  .pk-home .pk-hero .pk-store-badge__icon .store-badge-img--google {
    width: auto;
    height: 26px;
    max-width: 24px;
  }

  .pk-home .pk-hero .pk-store-badge__text {
    min-width: 0;
    align-items: center;
    text-align: center;
  }

  .pk-home .pk-hero .pk-store-badge__text small {
    font-size: 0.52rem;
  }

  .pk-home .pk-hero .pk-store-badge__text strong {
    font-size: 0.82rem;
  }

  /* —— Alt bölüm (hero hariç) —— */
  .pk-home .pk-home-body {
    --home-pad-y: 2.25rem;
  }

  .pk-home .pk-home-trust__list {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .pk-home .pk-home-trust__item {
    padding: 0.55rem 0.65rem;
  }

  .pk-home .pk-home-trust__text strong {
    font-size: 0.8125rem;
  }

  .pk-home .pk-home-pills {
    flex-wrap: nowrap;
    margin-left: calc(-1 * max(1rem, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(1rem, env(safe-area-inset-right)));
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    scroll-padding-left: max(1rem, env(safe-area-inset-left));
    scrollbar-width: none;
  }

  .pk-home .pk-home-pills::-webkit-scrollbar {
    display: none;
  }

  .pk-home .pk-home-head__link--pill {
    width: 100%;
    justify-content: center;
  }

  .pk-home .pk-home-service__num {
    font-size: 2rem;
  }

  .pk-home .pk-home-phone__float {
    display: none;
  }

  .pk-home .pk-home-expert__price {
    margin-top: 0.15rem;
  }

  .pk-home .pk-home-review__verified {
    display: none;
  }

  .pk-home .pk-home-pro__grid {
    grid-template-columns: 1fr;
  }

  .pk-home .pk-home-block {
    padding: var(--home-pad-y) 0;
  }

  .pk-home .pk-home-head {
    margin-bottom: 1.25rem;
    text-align: left;
  }

  .pk-home .pk-home-head--center {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .pk-home .pk-home-head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .pk-home .pk-home-head__title {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .pk-home .pk-home-head__lead {
    font-size: 0.9375rem;
  }

  .pk-home .pk-home-head__link {
    padding: 0.45rem 0;
  }

  /* Hizmet kartları — yatay kaydırma */
  .pk-home .pk-home-services {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    margin-left: calc(-1 * max(1rem, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(1rem, env(safe-area-inset-right)));
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    scroll-padding-left: max(1rem, env(safe-area-inset-left));
    scroll-padding-right: max(1rem, env(safe-area-inset-right));
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
  }

  .pk-home .pk-home-services::-webkit-scrollbar {
    display: none;
  }

  .pk-home .pk-home-service {
    flex: 0 0 min(78vw, 280px);
    max-width: min(78vw, 280px);
    scroll-snap-align: center;
    -webkit-tap-highlight-color: transparent;
  }

  .pk-home .pk-home-service:hover {
    transform: none;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9) inset,
      0 8px 24px rgba(15, 23, 42, 0.06);
  }

  .pk-home .pk-home-service__main {
    padding: 1.1rem 1.1rem 0.9rem;
  }

  .pk-home .pk-home-service__text h3 {
    font-size: 1rem;
  }

  .pk-home .pk-home-service__text p {
    font-size: 0.8125rem;
  }

  /* Şehir ağı — mobil */
  .pk-home .pk-home-block--cities {
    overflow-x: clip;
  }

  .pk-home .pk-home-cities__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .pk-home .pk-home-cities__head-main {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .pk-home .pk-home-cities__head-main .pk-home-head__eyebrow {
    margin-bottom: 0.4rem;
    font-size: 0.625rem;
    padding: 0.3rem 0.65rem;
  }

  .pk-home .pk-home-cities__head-main .pk-home-head__title {
    font-size: clamp(1.125rem, 4.8vw, 1.35rem);
    line-height: 1.3;
    letter-spacing: -0.025em;
    word-break: break-word;
  }

  .pk-home .pk-home-cities__head-main .pk-home-head__lead {
    margin-top: 0.35rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: none;
    color: #64748b;
  }

  .pk-home .pk-home-cities__stats {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .pk-home .pk-home-cities__stats li:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.65rem;
    text-align: center;
    padding: 0.65rem 0.85rem;
  }

  .pk-home .pk-home-cities__stats li {
    min-width: 0;
    padding: 0.6rem 0.55rem;
    border-radius: 12px;
    text-align: center;
  }

  .pk-home .pk-home-cities__stats li:first-child strong {
    font-size: 1.125rem;
  }

  .pk-home .pk-home-cities__stats strong {
    font-size: 0.8125rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .pk-home .pk-home-cities__stats span {
    font-size: 0.625rem;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
  }

  .pk-home .pk-home-cities__stats li:first-child span {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .pk-home .pk-home-cities__featured {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.65rem;
    margin-left: calc(-1 * max(1rem, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(1rem, env(safe-area-inset-right)));
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    scroll-padding-left: max(1rem, env(safe-area-inset-left));
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .pk-home .pk-home-cities__featured::-webkit-scrollbar {
    display: none;
  }

  .pk-home .pk-home-city-card {
    flex: 0 0 min(78vw, 17rem);
    scroll-snap-align: start;
    min-height: 4.25rem;
    padding: 0.85rem 0.9rem;
  }

  .pk-home .pk-home-city-card:hover {
    transform: none;
  }

  .pk-home .pk-home-city-card__icon {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1rem;
  }

  .pk-home .pk-home-city-card__body strong {
    font-size: 0.875rem;
  }

  .pk-home .pk-home-cities__panel {
    padding: 0.95rem 1rem;
    border-radius: 16px;
  }

  .pk-home .pk-home-cities__grid {
    gap: 0.4rem;
  }

  .pk-home .pk-home-city-chip {
    font-size: 0.75rem;
    padding: 0.38rem 0.62rem;
  }

  .pk-home .pk-home-cities__all {
    width: 100%;
    justify-content: center;
  }

  /* Uzman kartları — ortak stiller: css/expert-list-card.css */

  .pk-home .pk-home-expert__more {
    padding: 0.65rem 0.4rem;
    min-height: 0;
  }

  .pk-home .pk-home-expert__more-ring {
    width: 4.5rem;
    height: 4.5rem;
  }

  .pk-home .pk-home-expert__more-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .pk-home .pk-home-expert__more-title {
    font-size: 0.6875rem;
    margin-top: 0.35rem;
  }

  .pk-home .pk-home-expert__more-desc {
    display: none;
  }

  .pk-home .pk-home-expert__cta--outline {
    width: calc(100% - 0.65rem);
    font-size: 0.625rem;
    padding: 0.42rem 0.35rem;
    margin-bottom: 0.45rem;
  }

  /* Nasıl çalışır */
  .pk-home .pk-home-app-download {
    padding: 1.25rem 0 0;
  }

  .pk-home .pk-home-app-download__inner {
    padding: 2rem 1rem;
  }

  .pk-home .pk-home-app-download__title {
    font-size: 1.65rem;
  }

  .pk-home .pk-home-app-download__text {
    font-size: 0.875rem;
  }

  .pk-home .pk-home-app-download__stores {
    justify-content: center;
    gap: 1rem;
    margin-top: 1.35rem;
  }

  .pk-home .pk-home-app-download__store {
    flex: 1 1 14rem;
    justify-content: center;
    min-width: min(100%, 14rem);
    min-height: 4.4rem;
    padding: 1.15rem 1.4rem;
    border-radius: 22px;
    font-size: 1.08rem;
  }

  .pk-home .pk-home-app-download__store i {
    font-size: 1.65rem;
  }

  .pk-home .pk-home-app-download__features {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .pk-home .pk-home-app-download__feature {
    min-height: auto;
    padding: 1rem;
    border-radius: 16px;
  }

  .pk-home .pk-home-app-download__feature i {
    font-size: 1.25rem;
  }

  .pk-home .pk-home-app-download__feature strong {
    font-size: 0.875rem;
  }

  .pk-home .pk-home-steps-visual {
    display: block;
    margin-bottom: 1.35rem;
  }

  .pk-home .pk-home-steps-photo {
    max-width: min(100%, 18.5rem);
  }

  .pk-home .pk-home-steps-layout {
    gap: 0;
  }

  .pk-home .pk-home-timeline__item {
    gap: 0.85rem;
    padding-bottom: 1.25rem;
  }

  .pk-home .pk-home-timeline__body h3 {
    font-size: 1rem;
  }

  .pk-home .pk-home-steps-btn {
    width: 100%;
    justify-content: center;
  }

  /* Yorumlar */
  .pk-home .pk-home-reviews-wrap {
    margin-left: calc(-1 * max(1rem, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(1rem, env(safe-area-inset-right)));
  }

  .pk-home .pk-home-reviews {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    scroll-padding-left: max(1rem, env(safe-area-inset-left));
  }

  .pk-home .pk-home-review {
    flex: 0 0 min(88vw, 300px);
    padding: 1.15rem;
  }

  /* SSS */
  .pk-home .pk-home-faq {
    border-radius: 16px;
  }

  .pk-home .pk-home-faq__grid {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .pk-home .pk-home-faq__title {
    font-size: 1.25rem;
  }

  .pk-home .pk-home-faq__stats {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
  }

  .pk-home .pk-home-faq__stats strong {
    font-size: 1.35rem;
  }

  .pk-home .pk-home-faq__list {
    padding: 0.25rem 1rem;
  }

  .pk-home .pk-home-faq__item summary {
    font-size: 0.875rem;
    padding: 0.85rem 0;
    gap: 0.75rem;
  }

  /* Uzmanlar için */
  .pk-home .pk-home-pro {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .pk-home .pk-home-pro__visual {
    order: -1;
    max-width: min(100%, 17.5rem);
    width: 100%;
    margin: 0 auto;
  }

  .pk-home .pk-home-pro__content {
    order: 1;
  }

  .pk-home .pk-home-pro__actions .pk-btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA */
  .pk-home .pk-home-block--cta {
    background: linear-gradient(180deg, #fff 0%, var(--pk-bg) 18%, var(--pk-bg) 82%, #fff 100%);
  }

  .pk-home .pk-home-cta {
    background:
      radial-gradient(ellipse 130% 95% at 50% -8%, rgba(22, 163, 74, 0.11), transparent 78%),
      radial-gradient(ellipse 90% 65% at 100% 100%, rgba(74, 222, 128, 0.08), transparent 80%),
      radial-gradient(ellipse 70% 50% at 0% 85%, rgba(22, 163, 74, 0.05), transparent 75%),
      linear-gradient(
        180deg,
        #ffffff 0%,
        #f0fdf4 14%,
        #f0fdf4 32%,
        #ecfdf5 52%,
        #f0fdf4 72%,
        #dcfce7 100%
      );
  }

  .pk-home .pk-home-cta__shine {
    top: -25%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 75%;
    background: radial-gradient(
      ellipse at center,
      rgba(74, 222, 128, 0.1) 0%,
      rgba(74, 222, 128, 0.04) 42%,
      transparent 85%
    );
  }

  .pk-home .pk-home-cta__inner {
    padding: 1.35rem 1.15rem;
    text-align: center;
  }

  .pk-home .pk-home-cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pk-home .pk-home-cta__lead {
    max-width: none;
  }

  .pk-home .pk-home-cta__stats {
    width: 100%;
    gap: 0.5rem;
  }

  .pk-home .pk-home-cta__stats li {
    padding: 0.55rem 0.45rem;
  }

  .pk-home .pk-home-cta__stats strong {
    font-size: 0.8125rem;
  }

  .pk-home .pk-home-cta__actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .pk-home .pk-home-cta__btn {
    width: 100%;
  }

  .pk-home .pk-home-cta__link {
    justify-content: center;
  }

  .pk-home .pk-home-cta__panel {
    width: 100%;
    max-width: 340px;
  }

  /* SEO alt bölüm */
  .pk-home .pk-home-seo {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .pk-home .pk-home-seo__title {
    font-size: 1.25rem;
  }

  .pk-home .pk-home-seo__lead {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  .pk-home .pk-home-seo__block {
    margin-bottom: 1.25rem;
  }

  .pk-home .pk-home-seo__highlights {
    grid-template-columns: 1fr;
  }

  .pk-home .pk-home-seo__links-wrap .pk-seo-links__list {
    max-height: 220px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.25rem;
  }
}

