/* Preserve the approved handheld composition; let the page use wider screens.
   Artwork has its own query container so its proportions never follow the full page. */
body.comparison-home main .container > * { min-width: 0; }
body.comparison-home .hero-actions > .button { min-width: 0; max-width: 100%; }
body.comparison-home .comparison-table-wrap { overflow-x: auto; }
body.comparison-home .filter-pills button { min-height: 44px; }
body.comparison-home .new-footer .footer-links a { min-height: 44px; }

@media (max-width: 760px) {
  html[lang="en"] body.comparison-home #vtr h2 {
    font-size: clamp(38px, 17cqi, 68px);
    line-height: 1.05;
    white-space: normal;
  }
}

@media (min-width: 761px) {
  body.comparison-home { --page-rail: min(1200px, calc(100% - 80px)); }
  body.comparison-home :is(#kako-funkcionira, #izvjesce, #vtr, #pitanja, #dobivate, #cijena, #podrska, #krenimo) {
    padding: 72px 0;
  }
  body.comparison-home :is(#kako-funkcionira, #izvjesce, #vtr, #pitanja, #dobivate, #cijena, #podrska, #krenimo) > .container {
    width: min(680px, calc(100% - 64px));
    container-type: normal;
    margin-inline: auto;
  }
  body.comparison-home :is(#kako-funkcionira, #izvjesce, #pitanja, #dobivate, #cijena, #podrska, #krenimo) h2 {
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.06;
    letter-spacing: -.045em;
    margin: 0 0 24px;
  }
  body.comparison-home .hero-grid { gap: 32px; }
  body.comparison-home .hero-art { margin: 0; min-width: 0; align-self: center; }
  body.comparison-home .hero-art img.hero-hd { width: 100%; height: auto; object-fit: contain; }
  body.comparison-home .hero-actions > .button { width: min(100%, 320px); }
  body.comparison-home .hero-trust { text-align: left; }
  body.comparison-home #analiza .comparison-table tbody :is(th, td) { font-size: 14px; }

  /* Upload and document previews keep local, proportional artwork. */
  body.comparison-home #kako-funkcionira > .container.process-grid { padding-top: 0; }
  body.comparison-home #kako-funkcionira h2 { margin: 0 0 24px !important; }
  body.comparison-home #kako-funkcionira .section-heading > .eyebrow { display: block; margin-bottom: 18px; }
  body.comparison-home #kako-funkcionira .process-ribbon { margin: 24px 0; gap: 8px; font-size: 16px; }
  body.comparison-home #kako-funkcionira .process-ribbon li { min-height: 44px; padding: 10px 8px; }
  body.comparison-home #kako-funkcionira .upload-column { width: 100%; max-width: 520px; margin: 32px auto 0; container-type: inline-size; }
  body.comparison-home #kako-funkcionira .step-illustration { height: 43cqi; margin: 0 0 24px; }
  body.comparison-home #kako-funkcionira .upload-box h3 { font-size: 28px; }
  body.comparison-home #kako-funkcionira .slot-name { font-size: 16px; }
  body.comparison-home #kako-funkcionira .upload-formats { font-size: 16px; }
  body.comparison-home #kako-funkcionira .upload-submit { font-size: 19px; }
  body.comparison-home #izvjesce .report-preview { width: 100%; max-width: 480px; margin: 32px auto 0; container-type: inline-size; }
  body.comparison-home #izvjesce h2 { margin-inline: 0; }
  body.comparison-home #izvjesce .report-native-toolbar a { min-height: 44px; }

  /* The waste illustration shows the complete drawing on wider screens. */
  body.comparison-home #vtr h2 { font-size: clamp(66px, 7vw, 90px); line-height: .98; white-space: normal; }
  body.comparison-home #vtr h2 em { padding-bottom: 24px; }
  body.comparison-home #vtr h2 em:after { width: 120px; height: 9px; }
  body.comparison-home #vtr .vtr-art { width: 100%; max-width: 560px; height: auto; aspect-ratio: 3 / 2; margin: 24px auto; overflow: visible; }
  body.comparison-home #vtr .skip-drawing { position: static; width: 100%; max-width: 100%; height: auto; }
  body.comparison-home #vtr .tag { left: 16px; bottom: 0; padding: 9px 12px; font-size: 16px; }
  body.comparison-home #vtr h3 { font-size: 38px !important; margin: 24px 0 8px; }
  body.comparison-home #vtr .orange-text { font-size: 28px; line-height: 1.2; margin: 0 0 24px; }
  body.comparison-home #vtr .vtr-detail { padding-top: 24px; }
  body.comparison-home #vtr .vtr-detail p { font-size: 21px; line-height: 1.5; margin: 0 0 20px; }
  body.comparison-home #vtr .vtr-detail small { font-size: 15px; line-height: 1.5; }

  body.comparison-home #pitanja .message-composer { width: 100%; max-width: 560px; margin: 32px auto 0; container-type: inline-size; }
  body.comparison-home #pitanja .quote-tabs button { min-height: 48px; }
  body.comparison-home #pitanja .questions-brand-logo { height: auto; }

  body.comparison-home #dobivate .eyebrow { font-size: 14px; letter-spacing: .08em; margin: 0 0 18px; }
  body.comparison-home #dobivate .deliverables-intro { font-size: 21px; line-height: 1.5; margin: 0 0 32px; }
  body.comparison-home #dobivate .deliverables-illustration { width: 100%; max-width: 500px; height: auto; aspect-ratio: 100 / 83; margin: 32px auto; container-type: inline-size; }
  body.comparison-home #dobivate .benefit-list li { gap: 16px; min-height: 60px; padding: 16px 0; font-size: 19px; line-height: 1.4; }
  body.comparison-home #dobivate .benefit-list li > svg { width: 28px; height: 24px; }
  body.comparison-home #dobivate .deliverables-example { justify-content: flex-start; font-size: 18px; line-height: 1.4; padding: 24px 0 0; min-height: 44px; }
  body.comparison-home #dobivate .deliverables-note { text-align: left; font-size: 15px; line-height: 1.5; margin: 16px 0 0; }

  body.comparison-home #cijena > .pricing-layout > .eyebrow { font-size: 14px; letter-spacing: .08em; margin: 0 0 18px; }
  body.comparison-home #cijena .pricing-intro { font-size: 21px; line-height: 1.5; margin: 0 0 32px; }
  body.comparison-home #cijena .price-card { width: 100%; max-width: 520px; margin: 0 auto; padding: 32px; container-type: inline-size; }
  body.comparison-home #cijena .price-card h3 { font-size: 25px !important; }
  body.comparison-home #cijena .price-vat,
  body.comparison-home #cijena .price-limit,
  body.comparison-home #cijena .price-trust { font-size: 14px; line-height: 1.6; margin: 12px 8px; }
  body.comparison-home #cijena .price-project { font-size: 21px; }
  body.comparison-home #cijena .benefit-list li { font-size: 18px; line-height: 1.4; min-height: 56px; }
  body.comparison-home #cijena .pricing-start { font-size: 22px; }
  body.comparison-home #cijena .pricing-example { font-size: 18px; line-height: 1.4; padding: 24px 0 0; min-height: 44px; }
  body.comparison-home #cijena .pricing-note { font-size: 15px; line-height: 1.5; margin: 16px 0 0; }

  body.comparison-home #podrska .eyebrow { font-size: 14px; letter-spacing: .08em; margin: 0 0 18px; }
  body.comparison-home #podrska .faq-intro { font-size: 21px; line-height: 1.5; margin: 0 0 32px; }
  body.comparison-home #podrska .faq-list { container-type: inline-size; }
  body.comparison-home #podrska .faq-list details { padding: 22px 0; }
  body.comparison-home #podrska .faq-list summary { min-height: 44px; padding-right: 40px; font-size: 23px; line-height: 1.3; }
  body.comparison-home #podrska .faq-toggle { width: 24px; height: 24px; }
  body.comparison-home #podrska .faq-list details p { font-size: 18px; line-height: 1.6; margin: 18px 0 0; }
  body.comparison-home #podrska .faq-contact { gap: 20px; margin: 36px 0 0; }
  body.comparison-home #podrska .faq-contact > svg { width: 48px; height: 46px; margin: 0; }
  body.comparison-home #podrska .faq-contact p { font-size: 23px; margin: 0 0 10px; }
  body.comparison-home #podrska .faq-contact a { font-size: 22px; min-height: 44px; }

  body.comparison-home #krenimo .eyebrow { font-size: 14px; letter-spacing: .08em; margin: 0 0 18px; }
  body.comparison-home #krenimo .final-intro { font-size: 22px; line-height: 1.5; margin: 0; }
  body.comparison-home #krenimo .final-offers { width: 100%; max-width: 480px; height: auto; margin: 32px auto; }
  body.comparison-home #krenimo .final-start { width: 100%; max-width: 440px; padding: 18px 24px; font-size: 22px; }
  body.comparison-home #krenimo .final-start > svg { width: 30px; height: 24px; }
  body.comparison-home #krenimo .final-formats { font-size: 16px; line-height: 1.4; text-align: left; margin: 18px 0 0; }

  body.comparison-home .new-footer { padding: 48px 0 28px; }
  body.comparison-home .new-footer > .container { width: var(--page-rail); container-type: normal; }
  body.comparison-home .new-footer .footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 0 0 28px; }
  body.comparison-home .new-footer .footer-top img { width: 190px; }
  body.comparison-home .new-footer .footer-top > p { display: block; font-size: 18px; }
  body.comparison-home .new-footer .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; padding: 28px 0; }
  body.comparison-home .new-footer .footer-links a { font-size: 16px; line-height: 1.4; min-height: 44px; }
  body.comparison-home .new-footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 32px; padding: 24px 0 0; }
  body.comparison-home .new-footer .footer-bottom > a { gap: 12px; font-size: 16px; min-height: 44px; }
  body.comparison-home .new-footer .footer-bottom > a:before { width: 24px; height: 22px; }
  body.comparison-home .new-footer .footer-bottom > small { font-size: 14px; }
  body.comparison-home .new-footer .footer-bottom > div { gap: 20px; }
  body.comparison-home .new-footer .footer-bottom > div a { min-height: 44px; }
}

@media (min-width: 761px) and (max-width: 1023px) {
  body.comparison-home .hero h1 { font-size: clamp(40px, 5.8vw, 58px); line-height: 1.06; }
  body.comparison-home #analiza > .split { grid-template-columns: minmax(0, 1fr); gap: 32px; width: min(680px, calc(100% - 64px)); }
  body.comparison-home #analiza .section-heading { max-width: none; }
  body.comparison-home #analiza .comparison-table { font-size: 14px; }
}

@media (min-width: 1024px) {
  body.comparison-home :is(#kako-funkcionira, #izvjesce, #vtr, #pitanja, #dobivate, #cijena, #podrska, #krenimo) { padding: clamp(80px, 7vw, 112px) 0; }
  body.comparison-home :is(#kako-funkcionira, #izvjesce, #vtr, #pitanja, #dobivate, #cijena, #podrska, #krenimo) > .container {
    width: var(--page-rail);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(48px, 6vw, 88px);
    align-items: center;
  }
  body.comparison-home #analiza > .split { gap: clamp(40px, 5vw, 72px); }
  body.comparison-home #analiza .comparison-table { font-size: 14px; }
  body.comparison-home #kako-funkcionira .process-list { display: grid; gap: 24px; margin: 32px 0 0; }
  body.comparison-home #kako-funkcionira .process-list li { font-size: 16px; }
  body.comparison-home #kako-funkcionira .process-list b { font-size: 14px; }
  body.comparison-home #kako-funkcionira .process-list strong { font-size: 19px; }
  body.comparison-home #kako-funkcionira .process-ribbon { display: none; }
  body.comparison-home #kako-funkcionira .upload-column { margin: 0; justify-self: end; }
  body.comparison-home #izvjesce .report-preview { margin: 0; justify-self: end; }
  body.comparison-home #izvjesce h2 { font-size: clamp(56px, 5.2vw, 72px); }

  body.comparison-home #vtr > .vtr-layout { grid-template-areas: 'heading art' 'work art' 'status art' 'detail art'; align-items: start; }
  body.comparison-home #vtr h2 { grid-area: heading; margin: 0 0 12px; }
  body.comparison-home #vtr .vtr-art { grid-area: art; align-self: center; margin: 0; }
  body.comparison-home #vtr h3 { grid-area: work; }
  body.comparison-home #vtr .orange-text { grid-area: status; }
  body.comparison-home #vtr .vtr-detail { grid-area: detail; }

  body.comparison-home #pitanja > .questions-layout { align-items: start; }
  body.comparison-home #pitanja .message-composer { margin: 0; justify-self: end; }
  body.comparison-home #pitanja h2 { margin-top: 64px; }

  body.comparison-home #dobivate > .deliverables-layout { grid-template-areas: 'label art' 'title art' 'intro art' 'benefits art' 'example art' 'note art'; align-items: start; }
  body.comparison-home #dobivate .eyebrow { grid-area: label; }
  body.comparison-home #dobivate h2 { grid-area: title; }
  body.comparison-home #dobivate .deliverables-intro { grid-area: intro; }
  body.comparison-home #dobivate .deliverables-illustration { grid-area: art; justify-self: end; align-self: center; margin: 0; }
  body.comparison-home #dobivate .benefit-list { grid-area: benefits; }
  body.comparison-home #dobivate .deliverables-example { grid-area: example; }
  body.comparison-home #dobivate .deliverables-note { grid-area: note; }

  body.comparison-home #cijena > .pricing-layout { grid-template-areas: 'label card' 'title card' 'intro card' 'example card' 'note card'; grid-template-rows: auto auto auto auto 1fr; align-items: start; }
  body.comparison-home #cijena > .pricing-layout > .eyebrow { grid-area: label; }
  body.comparison-home #cijena h2 { grid-area: title; }
  body.comparison-home #cijena .pricing-intro { grid-area: intro; }
  body.comparison-home #cijena .price-card { grid-area: card; margin: 0; justify-self: end; }
  body.comparison-home #cijena .pricing-example { grid-area: example; justify-content: flex-start; }
  body.comparison-home #cijena .pricing-note { grid-area: note; text-align: left; }

  body.comparison-home #podrska > .faq-layout { grid-template-areas: 'label list' 'title list' 'intro list' 'contact list'; grid-template-rows: auto auto auto 1fr; align-items: start; }
  body.comparison-home #podrska .eyebrow { grid-area: label; }
  body.comparison-home #podrska h2 { grid-area: title; }
  body.comparison-home #podrska .faq-intro { grid-area: intro; }
  body.comparison-home #podrska .faq-list { grid-area: list; }
  body.comparison-home #podrska .faq-contact { grid-area: contact; }

  body.comparison-home #krenimo > .final-layout { grid-template-areas: 'label art' 'title art' 'intro art' 'start art' 'formats art'; align-items: start; }
  body.comparison-home #krenimo .eyebrow { grid-area: label; }
  body.comparison-home #krenimo h2 { grid-area: title; }
  body.comparison-home #krenimo .final-intro { grid-area: intro; }
  body.comparison-home #krenimo .final-offers { grid-area: art; align-self: center; margin: 0; justify-self: end; }
  body.comparison-home #krenimo .final-start { grid-area: start; margin-top: 28px; }
  body.comparison-home #krenimo .final-formats { grid-area: formats; }
  body.comparison-home .new-footer .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
