/* One mobile layer shared by every marketing route. Desktop stays in its route styles. */
.mobile-menu-links { display: contents; }
.mobile-menu-actions, .mobile-footer-actions, .mobile-hero-actions,
.mobile-header-cta, .navigation-toggle-label { display: none; }
.header .mobile-header-cta { display: none; }
@media (max-width: 1099px) {
  :root { --mobile-header: calc(72px + env(safe-area-inset-top, 0px)); }
  html { scroll-padding-top: calc(var(--mobile-header) + 16px); }
  body:has(.header.navigation-ready) { padding-top: var(--mobile-header); }
  /* PRO-235: with scripting on, the bar holds its final place and height from the first paint, so nothing
     moves when navigation-ready.js gives it the menu button. Without scripting the wrapped links stay. */
  @media (scripting: enabled) {
    body:has(.header) { padding-top: var(--mobile-header); }
    .header:not(.navigation-ready) {
      position: fixed; z-index: 80; inset: 0 0 auto; width: 100%; max-width: none; height: var(--mobile-header);
      min-height: 72px; margin: 0; flex-wrap: nowrap; overflow: hidden; background: #fff; border-bottom: 1px solid #e6e7e1;
      padding: env(safe-area-inset-top, 0px) max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
      display: flex; align-items: center; gap: 8px;
    }
    .header:not(.navigation-ready) > a:first-child { min-height: 48px; display: flex; align-items: center; margin-right: auto; }
    .header:not(.navigation-ready) > a:first-child img { width: 140px; height: auto; }
    .header:not(.navigation-ready) .primary-navigation, .header:not(.navigation-ready) .header-actions,
    .header:not(.navigation-ready) > .language-switch { display: none; }
  }
  body.mobile-menu-open { overscroll-behavior: none; }
  .site-page { overflow: clip; }
  .header.navigation-ready {
    position: fixed; z-index: 80; inset: 0 0 auto; width: 100%; max-width: none;
    height: var(--mobile-header); min-height: 72px; margin: 0;
    padding: env(safe-area-inset-top, 0px) max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
    display: flex; gap: 8px; background: #fff; border-bottom: 1px solid #e6e7e1;
  }
  .header.navigation-ready > a:first-child { min-height: 48px; display: flex; align-items: center; margin-right: auto; }
  .header.navigation-ready > a:first-child img { width: 140px; height: auto; }
  .header.navigation-ready .header-actions { display: none; }
  .header.navigation-ready .language-switch { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; min-width: 48px; margin: 0; font-size: 13px; }
  .header.navigation-ready .language-switch svg { width: 16px; height: 16px; }
  .header.navigation-ready > .language-switch { display: none; }
  .header.navigation-ready .navigation-toggle { width: 44px; height: 48px; padding: 11px; border: 0; border-radius: 999px; }
  .header.navigation-ready .navigation-toggle svg { width: 20px; height: 20px; }
  .header.navigation-ready .primary-navigation {
    position: fixed; inset: var(--mobile-header) 0 0; width: 100%; max-height: none;
    height: calc(100dvh - var(--mobile-header)); margin: 0; padding: 0; gap: 0;
    border: 0; border-radius: 0; box-shadow: none; overflow: hidden;
  }
  .header.navigation-ready .primary-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .mobile-menu-links { display: block; flex: 1; min-height: 0; padding: 12px 24px 20px; overflow-y: auto; overscroll-behavior: contain; }
  .header.navigation-ready .navigation-link, .header.navigation-ready .products-disclosure > summary { min-height: 60px; font-size: 19px; font-weight: 500; white-space: normal; }
  .header.navigation-ready .navigation-mobile-contact { display: none; }
  .header.navigation-ready .navigation-mobile-login { font-size: 16px; }
  .header.navigation-ready .products-menu { padding: 0 0 8px; }
  .header.navigation-ready .products-menu-grid { grid-template-columns: 1fr; }
  .header.navigation-ready .products-menu-grid > a { padding: 14px 4px; min-height: 56px; }
  .header.navigation-ready .products-menu-grid strong { font-size: 16px; line-height: 1.5; }
  .header.navigation-ready .products-menu-grid a > span { font-size: 13px; line-height: 1.5; margin-top: 4px; }
  .header.navigation-ready .products-menu-grid small { font-size: 11px; white-space: normal; text-align: center; }
  .mobile-menu-actions { display: block; flex: none; border-top: 1px solid #e6e7e1; background: #fff; padding: 16px 20px max(20px, env(safe-area-inset-bottom, 0px)); }
  .mobile-menu-language { display: flex; align-items: center; gap: 16px; min-height: 48px; margin-bottom: 12px; font-size: 14px; }
  .mobile-menu-language > span:first-child { color: #65675f; margin-right: auto; }
  .mobile-language-current { font-weight: 600; }
  .header.navigation-ready .mobile-menu-language .language-switch { padding: 10px 12px; border: 1px solid #dedfd8; font-size: 14px; }
  .lp-home .lp-cta-mobile, .mobile-original-actions { display: none !important; }
  .mobile-hero-actions, .mobile-footer-actions { display: block; }
  .mobile-hero-actions { margin-top: 28px; }
  .lp-cta-pair, .lp-home .lp-cta-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 10px; min-width: 0; }
  .lp-cta, .lp-home .lp-cta {
    display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 52px;
    padding: 13px 12px; border: 1px solid var(--cta-border, transparent); border-radius: 999px; font-family: inherit;
    font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-align: center; text-decoration: none;
    white-space: normal; box-shadow: none; -webkit-tap-highlight-color: transparent;
  }
  .lp-finale .lp-cta-pair { display:flex; flex-wrap:wrap; }
  .lp-cta-primary { color: #fff; background: #20231f; }
  .header.navigation-ready .mobile-header-cta { display: inline-flex; flex: none; min-height: 48px; padding: 12px; font-size: 14px; white-space: nowrap; }
  .lp-cta-secondary { color: #20231f; background: #f1f2ee; }
  .lp-cta:active { filter: brightness(.9); }
  .lp-cta:focus-visible { outline: 3px solid #ff5b1f; outline-offset: 3px; }
  .lp-cta::before, .lp-cta::after { display: none; }
  .header .header-sign-in { display: none; }
  .lp-home .intro-support > .lp-cta-pair { margin-top: 26px; }
  .lp-home .intro-support > .lp-cta-pair, .mobile-hero-actions .lp-cta-pair, .mobile-menu-actions .lp-cta-pair { grid-template-columns: 1fr; }
  .lp-home .intro-support > .lp-cta-pair, .mobile-hero-actions .lp-cta-pair { width: fit-content; }
  .lp-home .intro-support > .lp-cta-pair .lp-cta-primary,
  .mobile-hero-actions .lp-cta-primary, .mobile-menu-actions .lp-cta-primary { display: none; }
  .lp-home .intro-support > .lp-cta-pair .lp-cta-secondary, .mobile-hero-actions .lp-cta-secondary { padding-inline: 24px; }
  .lp-finale .lp-finale-cta { display: none; }
  .lp-finale .lp-cta-pair { margin-top: 26px; }
  .lp-finale .lp-cta-primary, .in-dark .lp-cta-primary { background: #fff; color: #20231f; }
  .lp-finale .lp-cta-secondary, .in-dark .lp-cta-secondary { background: transparent; border-color: #858a7f; color: #fff; }
  .in-page .in-link, .lp-home .lp-link, .ec-inline-button { min-height: 44px; display: inline-flex; align-items: center; }
  .in-page button, .in-page summary { min-height: 48px; }
  .in-page input, .in-page select, .in-page textarea,
  .ec-enquiry input, .ec-enquiry select, .ec-enquiry textarea { font-size: 16px; min-height: 48px; scroll-margin-block: 100px; }
}
@media (max-width: 620px) {
  .lp-home .intro { margin-top: 32px; margin-bottom: 32px; }
  .lp-home .intro-support { margin-top: 22px; }
  .lp-home .intro-support > p { font-size: 16px; line-height: 1.65; }
  .lp-home .lp-film { margin-inline: 12px; }
  .lp-home .agency-index a { min-height: 76px; }
  .lp-home .lp-money-controls { gap: 8px; }
  .lp-home .lp-money-controls button { padding: 12px 7px; min-height: 76px; font-size: 13px; line-height: 1.45; }
  .lp-home .lp-money-note { font-size: 13px; line-height: 1.6; }
  .lp-finale-title h2 { font-size: clamp(2.75rem, 12vw, 3.75rem); line-height: 1.08; overflow-wrap: break-word; }
  .lp-finale-action > p { font-size: 16px; line-height: 1.65; }
  .lp-finale nav > a { min-height: 48px; }
  .lp-finale-legal { padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
  .iw-tabs { gap: 4px; }
  .iw-tabs button { padding-inline: 8px; font-size: 13px; line-height: 1.4; }
}
@media (max-width: 359px) {
  .header.navigation-ready { padding-inline: 16px; gap: 5px; }
  .header.navigation-ready > a:first-child img { width: 118px; }
  .header.navigation-ready .mobile-header-cta { padding-inline: 8px; }
  .header.navigation-ready .language-switch { min-width: 44px; gap: 4px; }
  .lp-cta, .lp-home .lp-cta { font-size: 13px; padding-inline: 9px; }
  .mobile-menu-actions { padding-inline: 16px; }
}

/* Keep the complete wallet example together on a typical phone viewport. */
@media (max-width: 760px) {
 .lp-home #money-story { scroll-margin-top: var(--mobile-header); padding-block: 24px; }
 .lp-home .lp-money-prelude { padding-bottom: 18px; }
 .lp-home .lp-money-heading .lp-eyebrow { margin-bottom: 16px; }
 .lp-home .lp-money-heading h2 { font-size: clamp(30px,9vw,38px); line-height: 1.08; }
 .lp-home .lp-money-intro { margin-top: 14px; }
 .lp-home .lp-money-intro p { font-size: 14px; line-height: 1.55; }
 .lp-home .lp-money-controls button { padding: 9px 4px; min-height: 64px; font-size: 12px; line-height: 1.35; }
 .lp-home .lp-money-stage { padding-top: 18px; row-gap: 22px; }
 .lp-home .lp-money-wallet { padding: 17px; }
 .lp-home .lp-money-wallet-top { padding-bottom: 11px; }
 .lp-home .lp-money-balance { padding-block: 13px; }
 .lp-home .lp-money-balance > strong { font-size: 38px; margin-top: 5px; }
 .lp-home .lp-money-balance > p { margin-top: 5px; }
 .lp-home .lp-money-ledger > div { min-height: 60px; padding-block: 9px; }
 .lp-home .lp-money-opening { padding-top: 10px; }
 .lp-home .lp-record-status { margin-top: 8px; padding-top: 7px; }
}
@media (max-width: 760px) {
 .lp-home #money-story { scroll-margin-top: 0; padding-block: 20px; }
 .lp-home .lp-money-intro { display: none; }
}

/* Landing: the hero owns registration until it passes behind the header. */
@media (max-width: 1099px) {
 .lp-home .intro-support > .lp-cta-pair { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .lp-home .intro-support > .lp-cta-pair .lp-cta-primary { display: inline-flex; }
 .lp-home .intro-support > .lp-cta-pair .lp-cta { padding-inline: 12px; font-size: 14px; }
 .lp-home .header .mobile-header-cta { visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .25s ease-in, visibility 0s linear .25s; }
 .lp-home .header .mobile-header-cta[data-active="true"] { visibility: visible; pointer-events: auto; opacity: 1; transition: opacity .4s cubic-bezier(.16,.84,.3,1); }
 .lp-home.mobile-menu-open .header .mobile-header-cta { visibility: visible; pointer-events: auto; opacity: 1; }
}
@media (max-width: 359px) {
 .lp-home .intro-support > .lp-cta-pair { grid-template-columns: 1fr; }
}

/* POS uses the shared CTA pair with both actions visible at every size. */
@media(max-width:620px){.ip-hero{--mypay-display:clamp(1.875rem,8.2vw,2.25rem)}.ip-hero-actions>.lp-cta-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ip-hero-actions .lp-cta{padding-inline:12px;font-size:14px}}
@media(max-width:359px){.ip-hero-actions>.lp-cta-pair{grid-template-columns:1fr}}

/* Mobile bar button (20 Sep 2026): the same small dark pill as the desktop bar — 38 px tall, 13 px label — with a
   44 px touch area kept around it. On narrow phones the longer Greek label gets a slightly narrower logo and tighter sides, so the menu button keeps its margin. */
@media (max-width: 1099px) {
  .header.navigation-ready .mobile-header-cta { position: relative; min-height: 38px; padding: 8px 14px; font-size: 13px; line-height: 1.4; }
  .header.navigation-ready .mobile-header-cta::after { content: ""; position: absolute; inset: -4px 0; }
}
@media (max-width: 429px) {
  html[lang="el"] .header.navigation-ready > a:first-child img { width: 120px; height: auto; }
}
@media (max-width: 389px) {
  html[lang="el"] .header.navigation-ready .mobile-header-cta { padding-inline: 12px; }
}
@media (max-width: 359px) {
  .header.navigation-ready .mobile-header-cta { padding-inline: 11px; }
  html[lang="el"] .header.navigation-ready > a:first-child img { width: 104px; height: auto; }
  html[lang="el"] .header.navigation-ready .mobile-header-cta { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) { .lp-home .header .mobile-header-cta, .lp-home .header .mobile-header-cta[data-active="true"] { transition: none; } }
/* PRO-276: on phones the WhatsApp + call pair stays within reach at the bottom of the page. It sits under
   the header, the open menu and the cookie banner; the page keeps room for it so the footer's last line shows. */
@media (max-width: 760px) {
  body:has(.reach-bar) { padding-bottom: calc(69px + env(safe-area-inset-bottom, 0px)); }
  .reach-bar { display: block; position: fixed; z-index: 70; inset: auto 0 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: #fff; border-top: 1px solid #e6e7e1; }
  .reach-bar .reach-pair { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
  .reach-bar .reach-button { min-height: 48px; padding: 10px 12px; border-color: #cfd1c8; color: #20231f; font-size: 14px; }
  .reach-bar .reach-button:hover { background: #f1f2ee; border-color: #cfd1c8; color: #20231f; }
  /* PRO-311: the call button is the one solid brand-orange button on a phone screen; ink on #ff5b1f reads at 5.1:1 (white would be 3.2:1). */
  .reach-bar .reach-button[data-reach="call"] { background: var(--mypay-orange, #ff5b1f); border-color: var(--mypay-orange, #ff5b1f); color: #20231f; }
  .reach-bar .reach-button[data-reach="call"]:hover { background: #ff6f3a; border-color: #ff6f3a; color: #20231f; }
  .reach-bar .reach-button[data-reach="call"]:focus-visible { outline: 2px solid #20231f; outline-offset: 2px; }
  body.mobile-menu-open .reach-bar { display: none; }
  .reach-footer { display: none; } /* the bar already carries the pair on phones */
}
@media print { .reach-bar { display: none; } }
