/* TSPLUS-P6-MOBILE v1.4.0 — homepage-only responsive refinement */
@media (max-width: 767px) {
  html { scroll-padding-top: 78px; }
  body { overflow-x: clip; }
  .p6-home { width: 100%; max-width: 100%; overflow: clip; font-size: 15px; }
  .p6-home *, .p6-home *::before, .p6-home *::after { box-sizing: border-box; }
  .p6-home img { max-width: 100%; height: auto; }
  .p6-shell { width: calc(100% - 32px); max-width: 100%; }

  .p6-hero { padding: 28px 0 24px; }
  .p6-overline { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
  .p6-slogan { display: block; white-space: normal; }
  .p6-slogan span { display: block; font-size: clamp(31px, 10vw, 38px); line-height: 1.08; }
  .p6-slogan em { display: inline-block; margin-top: 5px; font-size: clamp(42px, 13vw, 50px); line-height: .95; }
  .p6-slogan em::after { bottom: -3px; height: 3px; }
  .p6-hero-lead { max-width: 34em; margin: 18px auto 5px; font-size: 15px; line-height: 1.6; }
  .p6-script { font-size: 27px; }

  .p6-product-zone { padding: 8px 0 44px; }
  .p6-product-grid { gap: 16px; }
  .p6-product-card, .p6-security { padding: 18px; border-radius: 18px; }
  .p6-product-top { flex-flow: row wrap; align-items: center; gap: 9px; }
  .p6-product-top strong { min-width: 0; flex: 1 1 210px; gap: 8px; font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
  .p6-product-top strong img { width: 29px; height: 29px; flex: 0 0 auto; }
  .p6-product-top span { padding: 6px 10px; font-size: 12px; }
  .p6-product-card h2, .p6-security h2 { margin: 17px 0 8px; font-size: clamp(23px, 7.1vw, 27px); line-height: 1.16; overflow-wrap: anywhere; }
  .p6-product-card > p, .p6-security p { font-size: 14px; line-height: 1.65; }
  .p6-official-shot { height: auto; min-height: 0; margin: 18px 0; }
  .p6-official-shot img { width: 100%; max-height: 220px; object-fit: contain; }
  .p6-product-card ul, .p6-security ul { gap: 8px; font-size: 14px; }
  .p6-product-card li, .p6-security li { padding-left: 0; line-height: 1.45; }
  .p6-product-foot { gap: 14px; margin-top: 18px; padding-top: 17px; }
  .p6-product-foot > span { font-size: 12px; line-height: 1.5; }
  .p6-product-foot > span b { font-size: 20px; }
  .p6-product-foot div, .p6-inline-actions { display: grid; width: 100%; grid-template-columns: 1fr; gap: 9px; }
  .p6-product-foot a, .p6-inline-actions a { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 13px; border: 1px solid #eadfd5; border-radius: 10px; background: #fff; text-align: center; }
  .p6-product-foot .p6-arrow, .p6-inline-actions .p6-arrow { border-color: #f2c5a7; background: #fff7f1; }

  .p6-security { gap: 20px; margin-top: 16px; }
  .p6-security ul { grid-template-columns: 1fr; margin: 18px 0; }
  .p6-shield { min-height: 190px; border-radius: 15px; }
  .p6-shield span { width: 64px; height: 64px; border-width: 3px; font-size: 31px; }
  .p6-shield b { margin-top: 10px; font-size: 28px; }

  .p6-trusted { padding: 27px 0; }
  .p6-trusted p { margin-bottom: 20px; font-size: 14px; line-height: 1.5; }
  .p6-customer-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px !important; }
  .p6-customer-logos img { width: auto; max-width: 118px; max-height: 38px; }
  .p6-customer-logos img:last-child { grid-column: 1 / -1; }

  .p6-section { padding: 48px 0; }
  .p6-two { gap: 28px; }
  .p6-section h2, .p6-cta h2 { font-size: clamp(28px, 8.5vw, 34px); line-height: 1.13; overflow-wrap: anywhere; }
  .p6-section p, .p6-cta p { font-size: 15px; line-height: 1.65; }
  .p6-bigmark { margin-bottom: 5px; font-size: 50px; line-height: 1; }
  .p6-links { display: grid; width: 100%; gap: 8px; margin-top: 20px; }
  .p6-links a { display: flex; min-height: 42px; align-items: center; padding: 9px 12px; border: 1px solid #eadfd5; border-radius: 9px; background: #fff; }

  .p6-tco-card { padding: 20px; border-radius: 16px; }
  .p6-tco-card > strong { margin-bottom: 20px; font-size: 16px; }
  .p6-tco-card div { margin: 15px 0; }
  .p6-tco-card label { gap: 12px; font-size: 12px; }
  .p6-tco-card i { height: 13px; }
  .p6-tco-card small { display: block; margin-top: 16px; line-height: 1.5; }

  .p6-centered { text-align: left; }
  .p6-centered p { margin-bottom: 0; }
  .p6-caveat { margin-top: 7px; font-size: 36px; }
  .p6-table { display: grid; gap: 11px; overflow: visible; margin-top: 25px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .p6-table .head { display: none; }
  .p6-table > div { display: grid; min-width: 0 !important; grid-template-columns: 1fr; gap: 8px; padding: 16px; border: 1px solid #eadfd5; border-radius: 13px; background: #fff; box-shadow: 0 10px 28px rgba(55,41,31,.055); }
  .p6-table > div > span { padding-bottom: 9px; border-bottom: 1px solid #eee5dd; color: #37291f; font-size: 15px; font-weight: 800; line-height: 1.4; }
  .p6-table > div > strong, .p6-table > div > em { display: block; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 13px; line-height: 1.45; }
  .p6-table > div > strong::before { content: 'TSPLUS · '; color: #159c6f; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
  .p6-table > div > em::before { content: 'CITRIX · '; color: #9b625a; font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
  .p6-compare-links { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .p6-compare-links > span { grid-column: auto; padding: 0 0 3px; }
  .p6-compare-links a { min-height: 45px; padding: 11px 13px; }

  .p6-switch-wrap { padding-top: 4px !important; }
  .p6-switch-panel { gap: 23px; padding: 23px 18px; border-radius: 18px; }
  .p6-switch-copy h2 { font-size: 28px; line-height: 1.12; }
  .p6-switch-copy > strong { font-size: 23px; }
  .p6-switch-copy .p6-script-small { font-size: 21px; }
  .p6-switch-panel ol { grid-template-columns: 1fr; gap: 9px; }
  .p6-switch-panel li { min-height: 0; flex-direction: row; align-items: center; gap: 12px; padding: 13px; }
  .p6-switch-panel li b { width: 27px; height: 27px; flex: 0 0 27px; }
  .p6-switch-panel li span { font-size: 13px; line-height: 1.4; }

  .p6-wave { margin-bottom: 10px; font-size: 22px; }
  .p6-turkiye-badge { max-width: 100%; white-space: normal; line-height: 1.4; }
  .p6-values { grid-template-columns: 1fr; gap: 12px; margin-top: 21px; }
  .p6-values div { padding: 13px; border: 1px solid #f0ddcf; border-radius: 10px; background: rgba(255,255,255,.72); }
  .p6-team-photo { border-radius: 18px; }
  .p6-team-photo img { width: 100%; max-height: 420px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 28%; }
  .p6-team-photo span { right: 12px; bottom: 12px; padding: 7px 11px; }

  .p6-blog-head { gap: 13px; margin-bottom: 22px; }
  .p6-blog-head > a { display: inline-flex; min-height: 42px; align-items: center; }
  .p6-blog-grid { gap: 15px; }
  .p6-blog-card { border-radius: 15px; }
  .p6-blog-card h3 { margin-left: 18px; margin-right: 18px; font-size: 20px; line-height: 1.25; }
  .p6-blog-card span, .p6-blog-card p, .p6-blog-card time { margin-left: 18px; margin-right: 18px; }

  .p6-cta { padding: 48px 0; }
  .p6-cta span { font-size: 17px; }
  .p6-cta div div { display: grid; width: 100%; grid-template-columns: 1fr; gap: 9px; margin-top: 21px; }
  .p6-cta a { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 15px; }
}

@media (max-width: 420px) {
  .p6-shell { width: calc(100% - 24px); }
  .p6-product-card, .p6-security { padding: 16px; }
  .p6-product-top strong { flex-basis: 180px; font-size: 12px; }
  .p6-official-shot img { max-height: 190px; }
  .p6-section { padding: 42px 0; }
  .p6-tco-card { padding: 17px; }
  .p6-switch-panel { padding: 20px 15px; }
  .p6-team-photo img { max-height: 340px; }
}

@media (hover: none) and (pointer: coarse) {
  .p6-product-card:hover, .p6-security:hover, .p6-blog-card:hover,
  .p6-team-photo:hover, .p6-customer-logos img:hover,
  .p6-compare-links a:hover, .p6-switch-panel li:hover { transform: none; }
  .p6-glow:hover::before, .p6-glow:hover::after { opacity: 0; animation: none; }
}

