/* Sunday Plus — mobile shell (≤760px). App-like: compact header, hero with pay chips and two actions,
   quick form as a bottom sheet, floating glass tab bar with a round call button, sections sized for a thumb.
   Nothing here touches the desktop: every rule lives inside the media query, .m-only is hidden above it. */
@media (min-width:761px){ .m-only{ display:none !important; } }

@media (max-width:760px){
  :root{ --gutter:16px; }
  html{ scroll-padding-top:64px; overflow-x:clip; }
  body:has(.tabbar) footer .fbot .in{ padding-bottom:calc(96px + env(safe-area-inset-bottom)); }   /* room for the tab bar lives inside the black footer, not on the white body */

  /* header */
  .topbar{ display:none; }
  header{ position:sticky; top:0; z-index:60; background:#fff; border-bottom:1px solid var(--line); }
  header .nav{ height:56px; padding:0 var(--gutter); display:flex; align-items:center; justify-content:space-between; }
  header .logo, header .nav .logo{ height:30px; width:auto; max-width:none; }
  header .nav .ap, header .nav .lang-fab{ display:none !important; }
  header .burger{ display:flex; width:40px; height:40px; border-radius:10px; margin:0; }

  /* hero */
  .hero{ min-height:0; }
  .hero .bg img{ object-position:22.5% 55%; }
  .hero .bg::after{ background:linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.7) 100%); }
  .hero .grid{ grid-template-columns:1fr; gap:0; padding:26px var(--gutter) 28px; min-height:var(--hero-h, 560px); align-items:start; }   /* px, set once on load: iOS vh/svh jump when the address bar collapses */
  .hero .hero-l{ display:flex; flex-direction:column; min-height:100%; }
  .hero .m-facts{ margin-top:auto; }
  .hero .eyebrow{ font-size:11px; letter-spacing:.1em; }
  .hero h1{ font-size:clamp(40px,11.5vw,48px); line-height:.98; margin:14px 0 18px; }
  .hero .pills, .hero .contact{ display:none; }
  .m-facts{ display:flex; gap:8px; margin-bottom:18px; }
  .m-facts span{ flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:2px; padding:10px 10px; border-radius:12px;
    background:rgba(255,255,255,.24); border:1px solid rgba(255,255,255,.34); backdrop-filter:blur(12px) saturate(1.2); -webkit-backdrop-filter:blur(10px); }
  .m-facts b{ font-family:var(--disp); font-weight:700; font-size:24px; line-height:1; color:#fff; }
  .m-facts i{ font-style:normal; font-size:10.5px; line-height:1.2; color:rgba(255,255,255,.78); }
  .m-cta{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .m-cta .btn{ height:52px; padding:0 14px; justify-content:center; font-size:13px; border-radius:14px; }
  .m-cta .btn.dark{ background:rgba(255,255,255,.24); border-color:rgba(255,255,255,.4); color:#fff; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }

  /* quick form → bottom sheet (same #qform element, forms.js untouched) */
  .sheet-bg{ position:fixed; inset:0; z-index:88; background:rgba(255,255,255,.15); backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); opacity:0; pointer-events:none; transition:opacity .3s; }
  .qform{ position:fixed; left:0; right:0; bottom:0; z-index:89; max-height:calc(100dvh - 68px); overflow-y:auto; -webkit-overflow-scrolling:touch;
    border-radius:22px 22px 0 0; padding:22px var(--gutter) calc(20px + env(safe-area-inset-bottom)); box-shadow:0 -20px 60px rgba(0,0,0,.4);
    transform:translateY(104%); visibility:hidden; transition:transform .42s cubic-bezier(.22,.61,.36,1), visibility 0s .42s; }
  .qform .t{ font-size:18px; text-align:left; padding-right:44px; }
  .qform .s{ text-align:left; }
  .sheet-x{ position:absolute; top:12px; right:12px; width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#fff; font-size:16px; display:grid; place-items:center; }
  body.sheet-on .sheet-bg{ opacity:1; pointer-events:auto; }
  body.sheet-on .qform{ transform:none; visibility:visible; transition:transform .42s cubic-bezier(.22,.61,.36,1), visibility 0s; }
  body.sheet-on{ overflow:hidden; }   /* iOS: the real lock is the touchmove guard in JS; no position:fixed, so the page never jumps */
  .qform{ overscroll-behavior:contain; }
  .qform .f input, .qform .f .sel-t{ height:50px; font-size:16px; }   /* 16px: iOS does not zoom the page */
  .qform .f .btn{ height:52px; }

  .sh, .sh > *, .who > *, .tiles .tile, .m-rates .rc, .stats .st{ min-width:0; }

  /* sections */
  .sec{ padding:44px 0; }
  .sh > h2, .sh > p{ text-align:left; margin-left:0; }
  .sh > h2{ font-size:30px; line-height:1.05; }
  .sh > p{ font-size:14px; margin-top:10px; }

  .stats, .stats.three{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:22px; justify-items:start; }
  .stats .st{ text-align:left; display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
  .stats .v{ font-size:34px; }
  .stats .k{ font-size:10.5px; line-height:1.25; }
  .badges{ display:grid; grid-template-columns:1fr 1fr; gap:10px 12px; margin-top:22px; justify-content:start; }
  .badges .bd{ font-size:12.5px; }

  /* why: cards in two columns, fully on screen */
  .cols{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
  .cols .c{ text-align:left; background:#141414; border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:16px 14px 16px; }
  .cols .c svg{ margin:0 0 10px; width:30px; height:30px; }
  .cols .c h3{ font-size:14px; line-height:1.2; }
  .cols .c p{ font-size:12px; line-height:1.4; }

  /* rates: two cards instead of the table */
  .rates, .rates-cta .btn.outd{ display:none; }
  .m-rates{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
  .m-rates .rc{ border:1px solid var(--line); border-radius:16px; padding:16px 14px 14px; background:#fff; }
  .m-rates .rc .h{ display:block; font-size:12px; font-weight:600; color:var(--muted); margin-bottom:10px; }
  .m-rates .rc b{ display:block; font-family:var(--disp); font-weight:700; font-size:40px; line-height:1; color:var(--red); }
  .m-rates .rc .u{ display:block; font-size:12px; color:var(--muted); margin-top:4px; }
  .m-rates .rc ul{ list-style:none; margin:12px 0 0; padding:12px 0 0; border-top:1px solid var(--line); display:grid; gap:6px; }
  .m-rates .rc li{ font-size:13px; color:var(--ink2); display:flex; gap:8px; align-items:center; }
  .m-rates .rc li::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--red); flex:none; }
  .rates-cta{ margin-top:16px; }
  .rates-cta .btn{ width:100%; height:52px; justify-content:center; border-radius:14px; }

  /* offer tiles, bonuses */
  .tiles{ grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
  .tiles .tile{ min-height:150px; border-radius:14px; }
  .tiles .tile .cap h3{ font-size:14px; }
  .tiles .tile .cap span{ font-size:11px; }
  .bon{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; margin-top:22px; max-width:none; padding:0; }
  .sec .bon .b, .sec .bon .b:nth-child(2n+1){ padding:14px 12px; border-radius:14px; align-items:flex-start; min-width:0; border:1.5px solid var(--line); background:#fff; box-shadow:none; }
  .m-rates .rc, .final .card{ border-width:1.5px; }
  .bon .b > div{ min-width:0; }
  .bon .b b{ font-size:13px; text-transform:none; letter-spacing:0; overflow-wrap:normal; }
  .bon .b:last-child:nth-child(odd){ grid-column:span 2; }
  .bon .b span{ font-size:11.5px; }

  /* who */
  .who{ grid-template-columns:1fr; gap:22px; }
  .who .photo{ order:-1; aspect-ratio:16/10; border-radius:16px; }
  .who .list .r{ font-size:14px; }
  .who .btn{ width:100%; height:52px; justify-content:center; border-radius:14px; }

  /* strip is replaced by the tab bar */
  .strip{ display:none; }

  /* final */
  .final .final-in{ grid-template-columns:minmax(0,1fr); gap:22px; padding:44px var(--gutter) 40px; }
  .final .lead, .final .card{ min-width:0; }
  .final .card .rowc{ flex-direction:column; gap:3px; padding:10px 0; }
  .final .card .kk{ width:auto; }
  .final .card .rowc .vv{ min-width:0; font-size:15px; }
  .final .lead h2{ font-size:32px; }
  .final .act{ gap:14px; }
  .final .call{ font-size:17px; }
  .final .act .btn{ height:52px; border-radius:14px; }
  .final .card{ padding:18px 16px; border-radius:16px; }
  .final .card .btn{ height:52px; border-radius:14px; }

  /* footer, phone edition: brand → big phone + email → links in two columns → address → socials → legal */
  footer .ftop{ display:grid; grid-template-columns:1fr; gap:0; padding:36px var(--gutter) 8px; }
  footer .ftop > div, footer .ftop .ac, footer .ftop > div:last-child{ min-width:0; grid-column:auto; }
  footer .ftop .ac{ order:1; display:grid; grid-template-columns:1fr; gap:10px; padding-bottom:22px; }
  footer .ftop .ac .logo{ height:28px; width:auto; max-width:none; margin:0; }
  footer .ftop .ac p{ font-size:13px; line-height:1.5; margin:0; max-width:32ch; }
  footer .ftop .ac .soc{ order:10; display:none; }
  footer .ftop > div:last-child{ order:2; padding:18px 0 20px; border-top:1px solid var(--line-d); border-bottom:1px solid var(--line-d); }
  footer .ftop > div:last-child h4{ display:none; }
  footer .ftop .big-call{ display:flex; flex-direction:column; gap:2px; }
  footer .ftop .big-call small{ font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); }
  footer .ftop .big-call a{ font-size:30px; font-weight:700; letter-spacing:-.01em; color:#fff; line-height:1.1; }
  footer .ftop > div:last-child ul{ margin-top:8px !important; }
  footer .ftop > div:last-child ul li a{ font-size:14px; color:var(--on-dark-mut); }
  footer .ftop > div:nth-child(2){ order:3; padding:20px 0 6px; }
  footer .ftop > div:nth-child(2) h4{ font-size:11px; letter-spacing:.08em; margin-bottom:10px; }
  footer .ftop > div:nth-child(2) ul{ display:grid; grid-template-columns:1fr 1fr; gap:2px 16px; }
  footer .ftop > div:nth-child(2) ul li{ margin:0; }
  footer .ftop > div:nth-child(2) ul li a{ display:block; padding:9px 0; font-size:14px; }
  footer .ftop > div:nth-child(3){ order:4; padding:8px 0 20px; }
  footer .ftop > div:nth-child(3) h4{ display:none; }
  footer .ftop .addr{ font-size:13px; color:var(--on-dark-mut); }
  footer .ftop .addr b{ color:#fff; }
  footer .fbot{ padding:0; display:block; gap:0; border-top:1px solid var(--line-d); }
  footer .fbot .in{ flex-direction:column; gap:6px; align-items:flex-start; padding:14px var(--gutter) 16px; max-width:none; }
  footer .fbot p{ font-size:11px; line-height:1.5; }

  /* floating tab bar — glass pill + round call button */
  .tabbar{ position:fixed; left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); z-index:70; display:flex; gap:10px; align-items:center; }
  .tabbar .pill{ flex:1; height:60px; display:flex; align-items:stretch; padding:0 6px; border-radius:999px;
    background:rgba(18,18,18,.78); border:1px solid rgba(255,255,255,.14); backdrop-filter:blur(20px) saturate(1.5); -webkit-backdrop-filter:blur(20px) saturate(1.5); box-shadow:0 14px 40px rgba(0,0,0,.35); }
  .tabbar .pill a{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:rgba(255,255,255,.62); font-size:10.5px; font-weight:600; letter-spacing:.02em; border-radius:999px; transition:color .1s ease; }   /* leaving a tab: instant, so two never glow at once */
  .tabbar .pill a svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; transition:stroke .1s ease, transform .2s ease; }
  .tabbar .pill a.on{ color:#fff; transition:color .45s ease; }   /* arriving: smooth */
  .tabbar .pill a.on svg{ stroke:var(--red); transform:translateY(-1px); transition:stroke .45s ease, transform .45s cubic-bezier(.22,.61,.36,1); }
  .tabbar .call{ flex:none; width:60px; height:60px; border-radius:50%; background:var(--red); display:grid; place-items:center; box-shadow:0 14px 34px rgba(254,0,0,.4); }
  .tabbar .call svg{ width:24px; height:24px; stroke:#fff; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .tabbar .call:active{ transform:scale(.94); }
  body.sheet-on .tabbar{ opacity:0; pointer-events:none; }
  .tabbar{ transition:opacity .25s; }

  @media (hover:none){ footer li a:hover, footer a:hover{ color:inherit; } }   /* no sticky red on touch */

  /* drawer: wider targets */
  .drawer .pn a{ font-size:16px; padding:16px 4px; }
}
/* 15.11 Igor: thin white outline on teal plate numbers and the teal headline line */
.hero .m-facts span{ background:rgba(10,20,26,.58); border-color:rgba(255,255,255,.28); }
.hero .m-facts b, .hero .m-facts span:last-child b{ -webkit-text-stroke:0; color:#4FD8C4; }
.hero .m-cta .btn.dark{ background:rgba(10,20,26,.55); border-color:rgba(255,255,255,.35); }

