@media (max-width: 1199.98px) {
  .mob-burger { display: flex; }
  .mob-menu   { display: block; }
  #mainNav    { display: none !important; }

  /* ─── TIMELINE ─── */
  .about-timeline-card,
  .about-timeline-item.is-reversed .about-timeline-card { grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr); }
  .about-timeline-item.is-reversed .about-timeline-card { grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem); }
  .about-timeline-content { padding: 1.75rem; }

  /* ─── HERO — unified scale ─── */
  .hero-section h1 { font-size: 2.8rem; }

  /* stats stack pod 1200 — podla profi DE */
  .hero-stats { display: grid; gap: .75rem; margin-top: 1.35rem; }
  .hero-stat { padding: 0; }
  .hero-stat-divider { display: none; }

  /* ─── REALIZÁCIE — slidery ─── */
  .real-splide .splide__slide { width: 380px; }

  /* ─── SLUŽBY — bandy ─── */
  .service-band-grid { gap: 3rem; }
}

@media (max-width: 991.98px) {
  /* ─── SECTION HEADINGS — unified scale ─── */
  .section-heading, .section-heading-small, .testimonials-section h2, .cta-section h2 { font-size: 1.9rem; }
  .hero-section h1 { font-size: 2.5rem; }

  /* ─── TIMELINE ─── */
  .about-timeline-list { gap: 1.5rem; }
  .about-timeline-item { grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; }
  .about-timeline-card,
  .about-timeline-item.is-reversed .about-timeline-card { grid-template-columns: 1fr; }
  .about-timeline-item.is-reversed .about-timeline-visual,
  .about-timeline-item.is-reversed .about-timeline-content { order: initial; }
  .about-timeline-visual { min-height: 16rem; }

  .faq-sidebar-sticky { position: static; margin-bottom: 2rem; }
  .faq-panel-inner { padding-left: 1.4rem; }

  /* Header */

  /* Page hero */
  .page-hero h1, .detail-hero h1 { font-size: 2rem; }

  /* Footer columns */
  .site-footer { padding-top: 0; }
  .site-footer > .container { padding-top: 40px !important; }
  .footer-bottom { margin-top: 32px; }

  .page-hero-symbol { width: 200px; opacity: 0.05; right: 0; }

  /* Proces: pod lg dva kroky na riadok, sipky prec */
  .process-steps { display:grid; grid-template-columns:1fr 1fr; }
  .process-arrow-circle { display:none !important; }

  /* ─── REALIZÁCIE — slidery ─── */
  .real-splide .splide__slide { width: 340px; }

  /* ─── SLUŽBY — bandy: stĺpce pod seba ─── */
  .service-band-grid { grid-template-columns: 1fr; }
  .service-band-image { aspect-ratio: 16 / 10; }
  .service-band { padding: 3.5rem 0; }
  .service-band--reverse .service-band-image,
  .service-band--reverse .service-band-content { order: initial; }
  .service-band--reverse .service-band-content { justify-self: start; text-align: left; }
}

@media (max-width: 767.98px) {
  .process-steps { grid-template-columns:1fr; }
  .process-step { height:auto;padding:1.5rem; }
  .stat-divider { display:none; }
  .about-img { height:260px; }

  /* Hero: tmava foto karta ostava aj na mobile (rovnaky layout ako profi DE / bear) */
  .hero-btn-desktop { display: none; }
  .btn-hero-primary { width: 100%; justify-content: center; }

  .hero-meta-pills { gap: 0.4rem; }

  .detail-wrap { padding: 1.5rem 0 6rem; }
  .section-block { padding: 1.25rem; margin-bottom: 0.75rem; }
  .sidebar-card { margin-bottom: 0.75rem; }
  .row.g-4 { --bs-gutter-y: 0.75rem; }

  .sum-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .sum-grid.job-detail {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .sum-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0.75rem 1rem;
  }
  .sum-val { font-size: 1rem; margin-bottom: 0; }
  .sum-lbl { font-size: 0.62rem; }

  /* Form in sidebar */
  .sidebar-card .f-label  { font-size: 0.68rem; }
  .sidebar-card .f-input  { padding: 0.6rem 0.8rem; font-size: 16px !important; }
  .sidebar-card .f-submit { font-size: 0.85rem; padding: 0.75rem; }
  .sidebar-card .f-note   { font-size: 0.65rem; }
  .sidebar-card .f-error  { font-size: 0.65rem; }
  .detail-hero-inner {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mob-apply-bar { display: block; background: none; box-shadow: none; border: none; }

  /* Push WA + back-to-top above the sticky apply bar */
  .wa-btn      { bottom: 16px; right: 16px; }
  .back-to-top { bottom: 80px; }

  .job-row-card { flex-wrap: wrap; gap: 0.75rem; }
  .job-row-rate { text-align: left; }
  .job-row-arrow { display: none; }
  .sidebar-sticky { position: static; }

  .legal-card { padding: 1.5rem 1.25rem; }
  .legal-table { font-size: 0.75rem; }
  .legal-table th, .legal-table td { padding: 0.45rem 0.5rem; }

  /* ─── GLOBAL TYPOGRAPHY ─── */
  body { font-size: 15px; }

  /* iOS input zoom prevention — 16px minimum */
  input, textarea, select { font-size: 16px !important; }

  /* ─── SECTION HEADINGS — unified scale ─── */
  .section-heading, .section-heading-small, .testimonials-section h2, .cta-section h2 { font-size: 1.7rem; }

  /* ─── HEADER ─── */

  /* ─── PAGE HERO ─── */
  .page-hero-inner { padding: 2rem 0; }
  .page-hero h1, .detail-hero h1 { font-size: 1.75rem; }
  .page-hero .hero-sub { font-size: 0.875rem; }

  /* ─── BREADCRUMB ─── */
  .breadcrumb-nav { flex-wrap: wrap; gap: 0.3rem; font-size: 0.72rem; }

  /* ─── COMMON CARDS ─── */
  .white-card { padding: 1.25rem; }

  /* ─── FOOTER ─── */
  .site-footer .footer-logo { width: 4.25rem; height: auto; }
  .site-footer > .container { padding-top: 32px !important; }
  .footer-bottom { margin-top: 24px; padding: 14px 0; }
  .footer-bottom p { font-size: 0.72rem; }

  /* ─── FORMS ─── */
  .f-label   { font-size: 0.72rem; }
  .f-input   { padding: 0.7rem 0.85rem; margin-bottom: 0.75rem; }
  .f-submit  { padding: 0.85rem; font-size: 0.9rem; }
  .f-note    { font-size: 0.7rem; }
  textarea.f-input { min-height: 80px; }

  /* ─── BUTTONS ─── */
  .btn-red, .btn-outline-red { height: 44px; font-size: 0.85rem; padding: 0 20px; }
  .btn-cta-white, .btn-cta-outline { padding: 0.7rem 1.5rem; font-size: 0.85rem; }

  /* ─── CTA SECTION ─── */
  .cta-section { padding: 48px 0; }
  .cta-section p  { margin-bottom: 1.5rem; }

  /* ─── HOME — HERO ─── */
  .hero-section h1 { font-size: 2.2rem; margin-bottom: .9rem; }
  .hero-breadcrumb { margin-bottom: .6rem; }
  .hero-subtext { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .hero-stats { margin-top: 1rem; }

  /* ─── HOME — JOB CARDS ─── */
  .job-card-img  { height: 180px; }
  .job-card-body { padding: 1rem; }
  .job-card h5   { font-size: 0.95rem; }
  .job-price     { font-size: 1.05rem; margin: 0.6rem 0; }
  .job-meta li   { font-size: 0.82rem; }

  /* ─── HOME — WHY-US ─── */
  .why-section { padding: 48px 0; }
  .why-card    { padding: 1.4rem; }

  /* ─── HOME — PROCESS ─── */
  .process-box  { background: #f5f6f8; border-radius: 24px; padding: 60px 24px 56px; }
  .process-step { padding: 16px 12px; height: auto; }

  /* ─── HOME — TESTIMONIALS ─── */
  .testimonials-section { padding: 48px 0 0; }
  .testimonials-section .testimonial-card { padding: 1.25rem; }
  .references-section .testimonial-card { padding: 1.25rem; }

  /* ─── HOME — ABOUT ─── */
  .about-section { padding: 48px 0; }
  .about-img     { height: 220px; }

  /* ─── JOBS — FILTER ─── */
  .filter-bar { gap: 6px; margin-bottom: 1.25rem; }
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
    min-height: 36px;
  }
  /* ─── SLUŽBY — bandy ─── */
  .service-band-grid { gap: 2rem; }

  /* ─── REALIZÁCIE — slidery ─── */
  .real-nav-bar { padding: 2.25rem 0 0; }
  .real-cat-section { padding: 48px 0; }
  .real-cat-head { margin-bottom: 1.5rem; }
  .real-splide .splide__slide { width: 300px; }
  .real-arrow { width: 42px; height: 42px; }
  .real-arrow svg { width: 16px; height: 16px; }

  /* ─── JOBS — JOB ROW CARD ─── */
  .job-row-card  { padding: 1rem 1.1rem; }
  .job-row-body  { gap: 0.4rem; }
  .job-row-title { font-size: 0.95rem; }
  .job-row-rate  { font-size: 0.95rem; }

  /* ─── JOBS — SIDEBAR ─── */
  .sidebar-sticky { margin-bottom: 1.5rem; }
  .info-card      { padding: 0; }
  .info-list li   { font-size: 0.85rem; }

  /* ─── JOB DETAIL — HERO ─── */
  .detail-hero-inner { padding-top: 3rem; padding-bottom: 3.5rem; }
  .detail-hero h1    { font-size: 1.75rem; }
  .hero-tag          { font-size: 0.65rem; }
  .hero-pill         { font-size: 0.76rem; padding: 5px 10px; }

  /* ─── JOB DETAIL — CONTENT ─── */
  .detail-wrap   { padding: 1.5rem 0 3rem; }
  .section-block { padding: 1.25rem; }
  .block-title   { font-size: 1rem; }
  .detail-list li { font-size: 0.85rem; }

  /* ─── JOB DETAIL — BENEFITS ─── */
  .benefit-item      { padding: 0.75rem; gap: 10px; }
  .benefit-item-icon { width: 32px; height: 32px; }
  .benefit-item-text { font-size: 0.82rem; padding-top: 0.35rem; }

  /* ─── JOB DETAIL — SIDEBAR FORM ─── */
  .sum-grid { gap: 0.4rem; }
  .sum-val  { font-size: 0.9rem; }
  .sum-lbl  { font-size: 0.58rem; }

  /* ─── FAQ ─── */
  .faq-wrap { padding: 2.5rem 0 3rem; }
  .faq-btn  { padding: 0.9rem 1rem; gap: 0.75rem; }
  .faq-question { font-size: 0.85rem; }
  .faq-panel-inner { padding: 0 1rem 1rem; font-size: 0.82rem; }
  .faq-num  { width: 24px; height: 24px; font-size: 0.65rem; }
  .faq-icon { width: 26px; height: 26px; }

  /* ─── KONTAKT ─── */
  .contact-person-row  { gap: 10px; }
  .contact-person-img  { width: 52px; height: 52px; }
  .contact-person-name { font-size: 0.82rem; }
  .contact-person-role { font-size: 0.68rem; }
  .contact-person-email{ font-size: 0.66rem; white-space: normal; overflow-wrap: anywhere; }
  .contact-person-phone{ font-size: 0.7rem; }

  /* ─── LEGAL ─── */
  .legal-wrap { padding: 2rem 0 3rem; }
  .legal-card p, .legal-card ul, .legal-card ol { font-size: 0.85rem; }

  /* ─── TIMELINE ─── */
  .about-timeline-item { grid-template-columns: 1fr; }
  .about-timeline-rail { display: none; }
  .about-timeline-list { gap: 1rem; }
  .about-timeline-visual { min-height: 11rem; }
  .about-timeline-content { padding: 1.25rem 1rem; }
  .about-timeline-year { font-size: 0.6875rem; margin-bottom: 0.75rem; padding: 0.45rem 0.75rem; }
  .about-timeline-content h3 { font-size: 1.1rem; margin-bottom: 0.65rem; }

  .video-card {
    padding: 0;
  }
}

@media (max-width: 575.98px) {
  /* ─── SECTION HEADINGS + TEXTS — unified scale ─── */
  .section-heading, .section-heading-small, .testimonials-section h2, .cta-section h2 { font-size: 1.5rem; }
  .section-description, .testimonials-section .sub, .cta-section p, .about-text, .about-timeline-content p, .real-cat-desc { font-size: 0.875rem; }

  /* ─── REALIZÁCIE — slidery ─── */
  .real-splide .splide__slide { width: 76vw; }
  .real-nav a { font-size: 0.8rem; padding: 0.65rem 1.1rem; }

  /* ─── SLUŽBY — bandy ─── */
  .service-band { padding: 2.75rem 0; }
  .service-band-image { aspect-ratio: 1 / 0.86; border-radius: 6px; }

  .job-row-img { display: none; }
  /* ─── HERO ─── */
  /* full-bleed hero spojený s headerom – iba mobil */
  .hero-wrapper { padding: 0; }
  .hero-section { border-radius: 0; }
  .hero-section h1 { font-size: 2rem; }
  .page-hero h1, .detail-hero h1 { font-size: 1.5rem; }
  .btn-hero-primary, .btn-hero-outline { height: 44px; font-size: 0.85rem; padding: 0 18px; }

  /* ─── JOB CARDS — 1 column on very small ─── */
  .job-card-img { height: 160px; }

  /* ─── BENEFITS 1 column ─── */
  .benefits-grid { grid-template-columns: 1fr; }

  /* ─── SUM GRID ─── */
  .sum-grid { grid-template-columns: 1fr 1fr; }

  /* ─── FAQ ─── */
  .faq-group-label { font-size: 0.62rem; }

  /* ─── CONTACT PERSON ─── */
  .contact-person-row { flex-wrap: wrap; }
  .contact-person-phone { font-size: 0.75rem; margin-left: 62px; }

  /* ─── FOOTER ─── */
  .footer-social a { width: 38px; height: 38px; }

  /* ─── FORMS ─── */
  .f-error { font-size: 0.68rem; }

  .page-hero-symbol { display: none; }

  .job-row-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .job-row-meta {
    gap: 0.2rem;
    flex-direction: column;
  }

  .offers-page .testimonial-card {
    padding: 1rem;
  }

  .team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .team-card picture {
    display: block;
    width: fit-content;
  }
  .team-card .team-card-img {
    width: 10rem;
    height: 10rem;
  }
  .team-card .team-card-body .team-card-name, .team-card .team-card-body .team-card-role, .team-card .team-card-body .team-card-flags {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  /* ─── HERO ─── */

  /* ─── MOBILE MENU ─── */
  .mob-nav-link  { font-size: 0.95rem; padding: 12px 0; }
  .mob-phone     { padding: 10px 12px; }
  .mob-phone-num { font-size: 0.88rem; }
  .mob-phone-icon { width: 36px; height: 36px; }
  .mob-cta       { padding: 14px 24px 24px; gap: 8px; }

  /* ─── JOB DETAIL ─── */
  .hero-meta-pills { gap: 0.3rem; }
  .hero-pill       { font-size: 0.72rem; padding: 4px 8px; }

  /* ─── BUTTONS ─── */
  .btn-red, .btn-outline-red { width: 100%; justify-content: center; }

}

@media (max-width: 375px) {
  /* ─── LAST RESORT — iPhone SE / small ─── */
  .mob-nav-link  { font-size: 1rem; }
  .mob-phone-num { font-size: 0.85rem; }


  .faq-btn { padding: 0.8rem 0.75rem; }
  .section-block, .white-card { padding: 1rem; }
}