/* EURO.NET.PL — main stylesheet */

@font-face {
  font-family: "Exo";
  src: url("../fonts/exo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Exo";
  src: url("../fonts/exo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-primary: #F68320;
  --color-primary-dark: #E56A00;
  --color-primary-text: #B34700; /* orange for small text on light backgrounds: 5.5:1 on white, 4.8:1 on grey */
  --color-primary-light: #FFBC7D;
  --color-night: #071726;
  --color-dark: #0B2035;
  --color-dark-2: #12304D;
  --color-ink: #13202E;
  --color-secondary: #54595F;
  --color-muted: #5B6470;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F3F5F8;
  --color-line: #E1E6ED;
  --color-border-strong: #738091; /* borders of form controls: 3:1 or more on white and on grey (WCAG 1.4.11) */
  --color-on-dark: #E8EEF5;
  --color-on-dark-muted: #9DB0C4;

  --font-heading: "Exo", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.8rem + 4.2vw, 5.4rem);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-lift: 0 24px 48px -24px rgba(11, 32, 53, 0.35);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1440px;
  --header-h: 112px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-surface);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--color-dark); outline-offset: 2px; box-shadow: 0 0 0 5px var(--color-surface); border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-s);
  background: var(--color-primary); color: var(--color-dark); font-weight: 700; transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn .icon { flex-shrink: 0; transition: transform .35s var(--ease-out); }
/* na wąskich ekranach długi napis łamie się w przycisku zamiast wychodzić poza niego */
@media (max-width: 575px) { .btn { max-width: 100%; white-space: normal; text-align: center; } }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--primary { --btn-bg: var(--color-primary); color: var(--color-dark); box-shadow: 0 10px 30px -10px rgba(246, 131, 32, .7); }
.btn--primary:hover { --btn-bg: var(--color-primary-light); box-shadow: 0 16px 40px -12px rgba(246, 131, 32, .9); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--outline { color: var(--color-dark); border-color: var(--color-line); }
.btn--outline:hover { border-color: var(--color-dark); }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-dark); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }

.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); display: inline-block; }
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: box-shadow .35s, top .45s var(--ease-out);
}
/* The header itself never gets backdrop-filter or transform: either would make it the containing block of the
   fixed mobile menu, which then collapses to the header's height instead of filling the screen. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: background-color .35s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.site-header.is-scrolled::before { background: rgba(7, 23, 38, .82); backdrop-filter: saturate(160%) blur(16px); }
.site-header.is-hidden { top: -40px; }

.topbar { font-size: var(--step--1); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar__inner { display: flex; gap: 24px; height: 40px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: var(--color-on-dark-muted); text-decoration: none; white-space: nowrap; }
.topbar__item:hover { color: #fff; }
.topbar__item--push { margin-left: auto; }

.navbar { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand__logo { display: block; height: 36px; width: auto; }
@media (min-width: 1024px) { .brand__logo { height: 42px; } }
.brand--light .brand__logo { height: 72px; }
.brand--light .brand__trace-dot { stroke-width: 26; }
.brand--light .brand__trace-tail { stroke-width: 11; }
/* light dot travelling along the hexagon outlines in the header logo */
.brand__art { position: relative; display: block; }
.brand__trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.brand__trace path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand__trace-dot {
  stroke: #fff; stroke-width: 15; stroke-dasharray: .01 99.99;
  filter: drop-shadow(0 0 4px var(--color-primary-light)) drop-shadow(0 0 10px var(--color-primary));
  animation: traceDot 4.2s linear infinite;
}
.brand__trace-tail { stroke: var(--color-primary-light); stroke-width: 7; stroke-dasharray: 14 86; opacity: .85; animation: traceTail 4.2s linear infinite; filter: drop-shadow(0 0 3px var(--color-primary)); }
.brand__trace--b { animation-duration: 5s; animation-delay: -1.6s; }
.brand__trace--c { animation-duration: 3.4s; animation-delay: -2.4s; }
@keyframes traceDot { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@keyframes traceTail { from { stroke-dashoffset: 14; } to { stroke-dashoffset: -86; } }
@media (prefers-reduced-motion: reduce) { .brand__trace { display: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 14px; text-decoration: none; font-family: var(--font-heading);
  font-weight: 600; color: var(--color-on-dark);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transform: scaleX(0); transition: transform .4s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__cta { padding: .65em 1.15em; }
@media (min-width: 1024px) and (max-width: 1279px) { .nav { gap: 12px; } .nav__link { padding: 10px 8px; font-size: .95rem; } .nav__link::after { left: 8px; right: 8px; } }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; margin: auto; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.scroll-fiber { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-fiber span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary), #fff);
  box-shadow: 0 0 12px var(--color-primary);
}

@media (max-width: 1023px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: 112px 0 auto; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 16px 24px; background: rgba(7, 23, 38, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease-out), visibility 0s .5s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease-out); }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 14px 4px; font-size: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav__link::after { display: none; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 48px) 0 40px;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(18, 48, 77, .9), transparent 60%),
    linear-gradient(180deg, var(--color-night) 0%, var(--color-dark) 100%);
}
.hero__fiber { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -25vmax; top: -20vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 131, 32, .22), transparent 60%); filter: blur(20px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-8vmax, 10vmax) scale(1.1); } }

.hero__kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--color-on-dark-muted); margin-bottom: 24px; }
.hero__title {
  font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; max-width: 14ch; margin-bottom: 28px;
  background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--color-primary-light) 50%, #fff 60%, #fff 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes lightsweep { from { background-position: 100% 0; } to { background-position: 0 0; } }

.hero__lede { max-width: 54ch; font-size: var(--step-1); line-height: 1.5; color: var(--color-on-dark); opacity: .85; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Intro sequence — pure CSS so it plays without waiting for JS */
[data-intro] { animation: introUp 1.1s var(--ease-out) both; }
.hero__kicker[data-intro] { animation-delay: .1s; }
.hero__title[data-intro] { animation: titleIn 1.2s var(--ease-out) .1s both, lightsweep 2.6s var(--ease-out) 1s both; }
.hero__lede[data-intro] { animation-delay: .55s; }
.hero__actions[data-intro] { animation-delay: .7s; }
@keyframes introUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes titleIn { from { opacity: 0; transform: translateY(.35em); clip-path: inset(-10% -10% 100% -10%); } to { opacity: 1; transform: none; clip-path: inset(-10% -10% -30% -10%); } }

/* Sections */
.section { padding: clamp(36px, 4.5vw, 70px) 0; }
.section__head { max-width: none; margin-bottom: clamp(22px, 3vw, 36px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__title { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 18px; color: var(--color-dark); }
.section__lede { font-size: var(--step-1); line-height: 1.5; color: var(--color-secondary); margin: 0; }

/* Reveal on scroll (one gentle move, used on section heads only) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* Plans — mobile first: portrait cards swiped sideways (native scroll-snap; JS adds arrows and dots) */
/* fade the cut-off card at the edge while there is more to scroll */
/* 24px hit area, 8px visible dot */

/* Plans — desktop: vertical slider, speed rail on the left, one wide card at a time with the next one peeking below */
@media (min-width: 900px) {
  /* the fibre line the light point travels along */
}

/* 1 GB download, real time at the plan's line speed */
/* light pulse running along the bar while downloading */
@keyframes dlPulse { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Services bento */
.services { background: var(--color-surface-alt); }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
  .tile--large { grid-column: span 2; grid-row: span 2; }
  .tile--medium { grid-column: span 2; }
}
.tile {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; overflow: hidden;
  border-radius: var(--radius-m); background: var(--color-surface); border: 1px solid var(--color-line);
  text-decoration: none; color: var(--color-ink); isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(246, 131, 32, .14), transparent 45%);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(246, 131, 32, .4); }
.tile:hover::before { opacity: 1; }
.tile--large {
  color: #fff; border-color: transparent; padding: clamp(28px, 4vw, 44px);
  background: radial-gradient(500px 400px at 100% 100%, rgba(246, 131, 32, .35), transparent 60%), linear-gradient(160deg, var(--color-dark-2), var(--color-night));
}
.tile--large::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 188, 125, .2), transparent 45%); }
.tile--large .tile__title { font-size: var(--step-3); max-width: 12ch; }
.tile--large .tile__text { color: var(--color-on-dark); opacity: .85; font-size: var(--step-1); max-width: 38ch; }
.tile--large .tile__price { color: var(--color-on-dark-muted); }
.tile--large .tile__price strong { color: #fff; }
.tile__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.3rem;
  background: rgba(246, 131, 32, .12); color: var(--color-primary-text);
}
.tile--large .tile__icon { background: rgba(246, 131, 32, .2); color: var(--color-primary); width: 64px; height: 64px; font-size: 1.6rem; }
.tile__title { font-size: var(--step-1); font-weight: 800; }
.tile__text { color: var(--color-secondary); margin: 0; }
.tile__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile__price { font-size: var(--step--1); color: var(--color-muted); }
.tile__price strong { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-dark); }
.tile__go {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--color-primary); color: var(--color-dark); transition: transform .5s var(--ease-out);
}
.tile:hover .tile__go { transform: rotate(-45deg); }

/* About */
.about { background: var(--color-surface); }
.about__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; } }
.about__copy p { color: var(--color-secondary); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-line); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--color-line); }
.stat { padding: clamp(20px, 3vw, 36px); background: var(--color-surface); }
.stat__value { margin: 0 0 6px; color: var(--color-muted); font-family: var(--font-heading); font-weight: 700; }
.stat__value strong { font-size: var(--step-3); color: var(--color-dark); font-weight: 800; font-variant-numeric: tabular-nums; }
.stat__label { margin: 0; font-size: var(--step--1); color: var(--color-secondary); }
.stat:first-child .stat__value strong { color: var(--color-primary-dark); }

/* Reviews carousel */
.reviews { background: var(--color-surface-alt); overflow: hidden; }
.carousel__nav { display: flex; gap: 10px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(88vw, 420px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 8px max(16px, calc((100vw - var(--container)) / 2 + 32px)) 24px;
  scroll-padding-inline: max(16px, calc((100vw - var(--container)) / 2 + 32px));
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.review {
  margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; padding: 28px;
  border-radius: var(--radius-m); background: var(--color-surface); border: 1px solid var(--color-line);
}
.review__stars { display: flex; gap: 2px; color: var(--color-line); }
.review__stars .is-on { color: var(--color-primary); fill: var(--color-primary); }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); }
.review figcaption span { font-family: var(--font-body); font-weight: 400; color: var(--color-muted); font-size: var(--step--1); }

/* Local */
.local { background: var(--color-surface); padding-bottom: 0; }
.local__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .local__grid { grid-template-columns: 1.2fr 1fr; } }
.local-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-l); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.local-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.local-card h3 { font-size: var(--step-2); font-weight: 800; max-width: 18ch; }
.local-card p { max-width: 46ch; margin: 0; }
.local-card .link-more { margin-top: auto; }
.local-card--cams { color: #fff; background: linear-gradient(160deg, var(--color-dark-2), var(--color-night)); }
.local-card--cams::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%);
}
.local-card--cams::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; height: 40%; top: -40%;
  background: linear-gradient(180deg, transparent, rgba(246, 131, 32, .12), transparent);
  animation: scan 5s linear infinite;
}
@keyframes scan { to { top: 100%; } }
.local-card--cams p { color: var(--color-on-dark); opacity: .85; }
.local-card__live { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: var(--step--1); }
.local-card--fund { background: linear-gradient(150deg, #FFE6CF, #FFF4EA); color: var(--color-dark); }
.local-card--fund p { color: var(--color-secondary); }
.local-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); font-size: 1.3rem; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; }
.link-more .icon { transition: transform .35s var(--ease-out); }
a:hover .link-more .icon { transform: translateX(4px); }

/* Visit */
.visit { background: var(--color-surface); }
.visit__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .visit__grid { grid-template-columns: 1.3fr 1fr; align-items: stretch; } }
.visit__map {
  position: relative; min-height: 420px; border-radius: var(--radius-l); overflow: hidden; z-index: 0;
  background: linear-gradient(135deg, var(--color-surface-alt), #E8EDF3);
}
.visit__map-fallback { padding: 24px; }
.visit__card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-l); background: var(--color-surface-alt); }
.visit__status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; font-size: var(--step--1); background: #fff; }
.visit__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9AA5B1; }
.visit__status.is-open::before { background: #1FA45B; box-shadow: 0 0 0 4px rgba(31, 164, 91, .18); }
.visit__address { display: flex; gap: 12px; margin: 20px 0; font-size: var(--step-1); line-height: 1.4; color: var(--color-dark); }
.visit__address .icon { color: var(--color-primary-dark); margin-top: .2em; }
.hours { margin: 0 0 28px; display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.hours dt { color: var(--color-secondary); }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours div.is-today dt, .hours div.is-today dd { color: var(--color-dark); }
.hours div.is-today dt::after { content: " (dziś)"; color: var(--color-primary-text); font-weight: 500; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.visit__route { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--color-dark); text-decoration: none; }
.visit__route:hover { color: var(--color-primary-text); }

/* Leaflet marker */
.map-pin { position: relative; }
.map-pin span {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--color-primary); border: 4px solid #fff; box-shadow: 0 6px 16px rgba(11, 32, 53, .4);
}
.map-pin::before, .map-pin::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: rgba(246, 131, 32, .45); animation: ripple 2.4s var(--ease-out) infinite;
}
.map-pin::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(5); opacity: 0; } }

/* Footer */
.site-footer { background: var(--color-night); color: var(--color-on-dark-muted); padding: 80px 0 32px; margin-top: clamp(72px, 9vw, 140px); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; } }
.footer__brand p { margin: 20px 0; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; transition: background-color .2s, color .2s; }
.footer__social a:hover { background: var(--color-primary); color: var(--color-dark); }
.footer__title { font-size: 1rem; color: #fff; margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__col address { margin-bottom: 12px; }
.footer__emergency {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px; border-radius: var(--radius-m);
  background: rgba(246, 131, 32, .1); border: 1px solid rgba(246, 131, 32, .3); color: var(--color-primary-light); text-decoration: none;
}
.footer__emergency strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; color: #fff; }
.footer__emergency small { display: block; font-size: var(--step--1); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: var(--step--1); }
.footer__legal p { margin: 0 0 6px; }
.footer__ids { display: flex; flex-wrap: wrap; gap: 4px 20px; }
/* linki prawne po lewej, twórca strony po prawej; na wąskich ekranach twórca schodzi pod linki */
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.footer__legal .footer__credit { margin-left: auto; font-size: .8rem; opacity: .85; }

.notfound { padding-top: calc(var(--header-h) + 80px); }
.page-404 .site-header { background: var(--color-night); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .hero__title { background: none; color: #fff; }
}

/* ---------- Subpage hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 48px) 0 44px;
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(18, 48, 77, .9), transparent 60%),
    linear-gradient(180deg, var(--color-night) 0%, var(--color-dark) 100%);
}
.page-hero__inner { position: relative; }
.page-hero__title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: 20px; }
.page-hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--color-on-dark); opacity: .85; margin: 0; }
.page-hero .hero__actions { margin-top: 32px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; font-size: var(--step--1); color: var(--color-on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Configurator ---------- */
.configurator { padding-top: 56px; background: var(--color-surface-alt); }
.configurator__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1100px) { .configurator__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-m); margin-bottom: 24px; font-weight: 500; }
.alert--error { background: #FDECEC; color: #8A1C1C; border: 1px solid #F5C2C2; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: none; position: relative; }
.step { position: relative; }
.step__body {
  margin: 0; min-width: 0; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--color-line); border-radius: var(--radius-l);
  background: var(--color-surface); transition: border-color .4s, box-shadow .4s var(--ease-out);
}
.step.is-current .step__body { border-color: rgba(246, 131, 32, .45); box-shadow: 0 24px 60px -36px rgba(11, 32, 53, .45); }
.step__title { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 0; font-family: var(--font-heading); font-size: var(--step-2); font-weight: 800; color: var(--color-dark); margin-bottom: 8px; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  font-size: 1.1rem; color: var(--color-dark); background: var(--color-surface-alt); border: 2px solid var(--color-line);
  transition: background-color .4s, border-color .4s, box-shadow .4s, color .4s;
}
.step.is-current .step__num, .step.is-done .step__num { background: var(--color-primary); border-color: var(--color-primary); box-shadow: 0 0 0 6px rgba(246, 131, 32, .18); }
.step__hint { color: var(--color-secondary); margin: 0 0 20px; }
.step__title + * { clear: both; }
.step__title + .opts { margin-top: 20px; }

/* option cards */
.opts { display: grid; gap: 12px; }
.opts--internet { grid-template-columns: repeat(auto-fill, minmax(min(240px, 42vw), 1fr)); }
.opts--tv, .opts--landline { grid-template-columns: repeat(auto-fill, minmax(min(150px, 40vw), 1fr)); }
@media (max-width: 600px) {
  .step__body { padding: 18px 14px; }
  .opt__box, .opt--plan .opt__box { padding: 16px 14px; }
  .opt__speed strong { font-size: 1.8rem; }
  .opt__includes { display: none; }
}
.opts--mobile { grid-template-columns: 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box {
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px;
  border-radius: var(--radius-m); border: 2px solid var(--color-line); background: var(--color-surface); overflow: hidden;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.opt:hover .opt__box { border-color: #C9D2DD; transform: translateY(-2px); }
.opt__input:focus-visible + .opt__box { outline: 3px solid var(--color-dark); outline-offset: 2px; box-shadow: 0 0 0 5px var(--color-surface); }
.opt__input:checked + .opt__box {
  border-color: var(--color-primary); background: #FFF8F1;
  box-shadow: 0 18px 40px -24px rgba(246, 131, 32, .8);
}
.opt__input:checked + .opt__box::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2035' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
  animation: pop .45s var(--ease-out);
}
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.25); } to { transform: scale(1); } }
.opt__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--color-dark); padding-right: 28px; }
.opt__sub { font-size: var(--step--1); color: var(--color-secondary); }
.opt__price { margin-top: auto; padding-top: 8px; font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--color-dark); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.opt__price small { font-family: var(--font-body); font-weight: 400; font-size: .75rem; color: var(--color-muted); }
.opt__price s { display: none; font-size: .85rem; font-weight: 600; color: var(--color-muted); }
.opt__price-free { display: none; color: #1A8A4C; }
.opt.is-included .opt__price s { display: inline; }
.opt.is-included .opt__price-now { display: none; }
.opt.is-included .opt__price-free { display: inline; }
.opt--row.is-included .opt__price s { display: none; }
.opt__badge {
  display: none; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-family: var(--font-body);
  font-size: .75rem; font-weight: 600; background: #E3F5EA; color: #13703C;
}
.opt.is-included .opt__badge { display: inline-block; animation: pop .45s var(--ease-out); }
.opt--row .opt__name .opt__badge { vertical-align: middle; margin-left: 6px; }
.opt--row .opt__box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; }
.opt--row .opt__name { grid-column: 1; }
.opt--row .opt__sub { grid-column: 1; }
.opt--row .opt__price { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0 28px 0 0; }
.opt--none .opt__box { justify-content: center; background: transparent; border-style: dashed; }
.opt--none .opt__input:checked + .opt__box { background: var(--color-surface); }
/* a whole row, like "Bez telefonu komórkowego" above it: "stacjonarnego" does not fit a narrow card next to the tick */
.opts--landline .opt--none { grid-column: 1 / -1; }

.opt--plan .opt__box { padding: 22px 20px; }
.opt__flag { align-self: flex-start; margin-bottom: 4px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--color-dark); color: var(--color-primary-light); }
.opt__speed { font-family: var(--font-heading); color: var(--color-muted); font-weight: 700; }
.opt__speed strong { font-size: 2.2rem; line-height: 1; color: var(--color-dark); font-variant-numeric: tabular-nums; }
.opt__meter { display: block; height: 4px; border-radius: 4px; background: var(--color-surface-alt); overflow: hidden; margin: 4px 0 6px; }
.opt__meter span { display: block; height: 100%; width: 100%; border-radius: inherit; transform-origin: left; transform: scaleX(var(--meter, 0)); background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary)); transition: transform .9s var(--ease-out); }
.opt__includes { display: grid; gap: 4px; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--color-line); font-size: .8rem; color: var(--color-secondary); }
.opt__includes span { display: flex; gap: 6px; align-items: flex-start; }
.opt__includes .icon { color: var(--color-primary-dark); width: 1em; height: 1em; margin-top: .15em; }
.opt__channels { color: var(--color-secondary); font-size: var(--step--1); }
.opt__channels strong { font-family: var(--font-heading); font-size: 1.6rem; color: var(--color-dark); }
.opt__channels small { display: block; }

/* sub-options */
.suboptions { display: grid; gap: 20px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--color-line); }
@media (min-width: 700px) { .suboptions { grid-template-columns: 1fr 1fr; } .suboption--wide { grid-column: 1 / -1; } }
.suboptions:not([hidden]) { animation: introUp .5s var(--ease-out); }
/* configurator: contract step — foundation select and promotion checkboxes */
.suboption select { width: 100%; padding: 12px 14px; border-radius: var(--radius-s); border: 2px solid var(--color-border-strong); background: var(--color-surface); font: inherit; color: var(--color-ink); }
.suboption select:focus { outline: 3px solid var(--color-dark); outline-offset: 2px; border-color: var(--color-dark); box-shadow: 0 0 0 5px var(--color-surface); }
.suboption .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--color-dark); }
.suboption .check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-primary); }
.suboption__title { display: block; font-weight: 600; margin: 0 0 10px; color: var(--color-dark); }
.suboption__note { margin: 10px 0 0; font-size: var(--step--1); color: var(--color-muted); }

.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--color-surface-alt); border: 1px solid var(--color-line); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: block; padding: 10px 16px; border-radius: 999px; cursor: pointer; font-size: var(--step--1); font-weight: 600; color: var(--color-secondary); transition: background-color .3s, color .3s; }
.segmented input:checked + span { background: var(--color-dark); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--color-dark); outline-offset: 2px; box-shadow: 0 0 0 5px var(--color-surface); }

.stepper { display: inline-flex; align-items: center; border: 2px solid var(--color-border-strong); border-radius: 999px; background: var(--color-surface); }
.stepper__btn { width: 48px; height: 48px; border: 0; border-radius: 50%; background: none; font-size: 1.4rem; color: var(--color-dark); cursor: pointer; transition: background-color .2s; }
.stepper__btn:hover { background: var(--color-surface-alt); }
.stepper__btn:disabled { color: var(--color-muted); opacity: .45; cursor: not-allowed; }
.stepper__btn:disabled:hover { background: none; }
.decoders { display: grid; gap: 12px; }
.decoders__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 12px 12px 16px; border-radius: var(--radius-m); background: var(--color-surface-alt); border: 1px solid var(--color-line); }
.decoders__label { display: grid; gap: 2px; color: var(--color-dark); }
.decoders__label span { font-size: var(--step--1); color: var(--color-secondary); }
.stepper__input { width: 56px; height: 48px; border: 0; text-align: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; background: none; color: var(--color-dark); -moz-appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input.is-bump { animation: bump .35s var(--ease-out); }
@keyframes bump { 50% { transform: scale(1.3); color: var(--color-primary-dark); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--color-line); background: var(--color-surface); font-size: var(--step--1); font-weight: 500;
  transition: background-color .25s, border-color .25s, color .25s;
}
.chip small { color: var(--color-muted); }
.chip__check { width: 0; opacity: 0; transition: width .3s var(--ease-out), opacity .3s; }
.chip input:checked + span { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.chip input:checked + span small { color: var(--color-primary-light); }
.chip input:checked + span .chip__check { width: 1em; opacity: 1; color: var(--color-primary); }
.chip input:focus-visible + span { outline: 3px solid var(--color-dark); outline-offset: 2px; box-shadow: 0 0 0 5px var(--color-surface); }

/* contact fields */
.fields { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 700px) { .fields { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--color-dark); }
.field__opt { font-weight: 400; color: var(--color-muted); }
/* pytanie kontrolne bez JavaScriptu: <noscript> nie może rozbić siatki pól */
html:not(.js) .fields > noscript, html:not(.js) .lead-form > noscript { display: contents; }
.form-question__hint { margin: 6px 0 0; font-size: var(--step--1); color: var(--color-secondary); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-s); border: 2px solid var(--color-border-strong); background: var(--color-surface);
  font: inherit; color: var(--color-ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--color-dark); outline-offset: 2px; border-color: var(--color-dark); box-shadow: 0 0 0 5px var(--color-surface); }
.field [aria-invalid="true"] { border-color: #D13B3B; }
.field__error { margin: 6px 0 0; font-size: var(--step--1); color: #B42318; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--color-secondary) !important; font-size: var(--step--1); }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--color-primary); }
.config-form__submit { width: 100%; }
@media (min-width: 700px) { .config-form__submit { width: auto; } }

/* receipt */
.receipt { position: relative; }
@media (min-width: 1100px) { .receipt { position: sticky; top: calc(var(--header-h) - 16px); } }
.receipt__card {
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius-l); color: #fff;
  background: radial-gradient(500px 300px at 100% 0%, rgba(246, 131, 32, .2), transparent 60%), linear-gradient(170deg, var(--color-dark-2), var(--color-night));
  box-shadow: 0 40px 80px -40px rgba(7, 23, 38, .8);
}
.receipt__fiber { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.receipt__fiber span { position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, var(--color-primary), #fff, transparent); }
.receipt__fiber span.is-pulse { animation: fiberRun .9s var(--ease-out); }
@keyframes fiberRun { from { left: -40%; } to { left: 100%; } }
.receipt__title { font-size: var(--step-1); margin-bottom: 16px; }
.receipt__items { list-style: none; margin: 0; padding: 0; }
.receipt__item {
  display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.receipt__item.is-new { animation: itemIn .6s var(--ease-out); }
.receipt__item.is-new .receipt__price { animation: flash 1.2s var(--ease-out); }
.receipt__item.is-leaving { animation: itemOut .35s ease-in forwards; }
@keyframes itemIn { from { opacity: 0; transform: translateX(24px); max-height: 0; } to { opacity: 1; transform: none; max-height: 80px; } }
@keyframes itemOut { to { opacity: 0; transform: translateX(-24px); max-height: 0; padding-top: 0; padding-bottom: 0; } }
@keyframes flash { 0%, 30% { color: var(--color-primary); } }
.receipt__label { font-size: .95rem; }
.receipt__label small { display: block; color: var(--color-on-dark-muted); font-size: .78rem; }
.receipt__price { font-family: var(--font-heading); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt__price.is-included { color: #6FD39B; font-family: var(--font-body); font-weight: 500; font-size: .85rem; }
.receipt__price { text-align: right; }
.receipt__price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .75rem; color: var(--color-on-dark-muted); }
.receipt__empty { color: var(--color-on-dark-muted); margin: 12px 0 0; }
.receipt__total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 20px; color: var(--color-on-dark-muted); }
.receipt__monthly { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--color-on-dark-muted); }
.receipt__monthly strong { font-size: 3rem; line-height: 1; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.receipt__rows { display: grid; gap: 10px; margin: 12px 0 20px; font-size: var(--step--1); color: var(--color-on-dark-muted); }
.receipt__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.receipt__row dt { min-width: 0; }
.receipt__row dt small { display: block; margin-top: 1px; font-size: .78rem; line-height: 1.35; }
.receipt__row dd { margin: 0; text-align: right; white-space: nowrap; }
.receipt__row strong { font-size: 1rem; color: #fff; font-variant-numeric: tabular-nums; }
.receipt__cta, .receipt__recalc { width: 100%; margin-bottom: 16px; }
.receipt__recalc { color: #fff; border-color: rgba(255, 255, 255, .3); }
.receipt__note { font-size: .78rem; color: var(--color-on-dark-muted); margin-bottom: 8px; }
.receipt__help { margin: 0; font-size: var(--step--1); color: var(--color-on-dark-muted); }
.receipt__help a { color: var(--color-primary-light); font-weight: 600; }

/* odometer */
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; vertical-align: bottom; }
.odo__digit { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform .9s var(--ease-out); }
.odo__strip span, .odo__sep { display: block; height: 1em; }

/* mobile total bar */
.mobile-total {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 20px; border-radius: 24px; color: #fff; background: rgba(7, 23, 38, .94); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgba(7, 23, 38, .6); transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.mobile-total__stat { display: grid; min-width: 0; line-height: 1.15; }
.mobile-total__stat small { font-size: .72rem; color: var(--color-on-dark-muted); white-space: nowrap; }
.mobile-total strong { font-family: var(--font-heading); font-size: 1.2rem; white-space: nowrap; }
.mobile-total__stat--avg { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .18); }
.mobile-total__stat--avg strong { color: var(--color-primary-light); }
.mobile-total__btn { margin-left: auto; padding: .6em 1.1em; }
.mobile-total__btn .icon { display: none; }
@media (max-width: 419px) {
  .mobile-total { left: 8px; right: 8px; bottom: 8px; gap: 10px; padding-left: 14px; }
  .mobile-total strong { font-size: 1.02rem; }
  .mobile-total__stat--avg { padding-left: 10px; }
  .mobile-total__btn { flex: none; width: 44px; height: 44px; padding: 0; }
  .mobile-total__btn-text { display: none; }
  .mobile-total__btn .icon { display: block; }
}
.mobile-total.is-visible { transform: none; }
@media (min-width: 1100px) { .mobile-total { display: none; } }

/* sent page */
.page-hero--done { min-height: 70vh; display: flex; align-items: center; }
.sent__check { width: 84px; height: 84px; margin-bottom: 28px; }
.sent__check circle, .sent__check path { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sent__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 1s var(--ease-out) .2s forwards; }
.sent__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease-out) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.page-konfigurator-wyslano .site-footer { margin-top: 0; }
.page-konfigurator .site-footer { margin-top: 0; }

.services__more { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--color-secondary); }

/* ---------- Mega menu ---------- */
.nav__group { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font-size: 1rem; }
.nav__caret { width: 14px; height: 14px; transition: transform .35s var(--ease-out); }
.nav__trigger[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__check { padding: .6em 1em; }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega__link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--radius-s); text-decoration: none; transition: background-color .2s; }
.mega__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(246, 131, 32, .14); color: var(--color-primary); transition: background-color .25s, color .25s, transform .35s var(--ease-out); }
.mega__text { display: grid; gap: 2px; }
.mega__text strong { font-family: var(--font-heading); font-weight: 700; }
.mega__text small { font-size: .82rem; opacity: .7; }
.mega__link:hover .mega__icon, .mega__link:focus-visible .mega__icon { background: var(--color-primary); color: var(--color-dark); transform: scale(1.06); }

@media (min-width: 1024px) {
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav { gap: 20px; }
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega {
    position: absolute; top: calc(100% + 10px); left: 50%; width: max-content; min-width: 320px; max-width: 640px;
    padding: 12px; border-radius: var(--radius-m); color: var(--color-ink);
    background: rgba(255, 255, 255, .98); box-shadow: 0 30px 60px -20px rgba(7, 23, 38, .45), 0 0 0 1px rgba(11, 32, 53, .06);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
    transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s;
  }
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega__grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega__link:hover { background: var(--color-surface-alt); }
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega__icon { background: rgba(246, 131, 32, .12); color: var(--color-primary-dark); }
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega__text strong { color: var(--color-dark); }
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega__text small { color: var(--color-secondary); opacity: 1; }
  html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__group:hover .mega, html:not([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__trigger[aria-expanded="true"] + .mega {
    opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .25s, transform .35s var(--ease-out), visibility 0s;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) { .nav__check { display: none; } }

@media (max-width: 1023px) {
  .nav { bottom: 0; overflow-y: auto; justify-content: space-between; }
  .nav__group { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__trigger { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.2rem; border-bottom: 0; }
  .mega { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
  .mega__grid { overflow: hidden; min-height: 0; }
  .nav__trigger[aria-expanded="true"] + .mega { grid-template-rows: 1fr; }
  .mega__grid > li:last-child { margin-bottom: 12px; }
  .mega__link { color: var(--color-on-dark); }
  .nav__actions { flex-direction: column; align-items: stretch; padding-top: 16px; }
}

/* ---------- Hero with promotions ---------- */
.hero--promos { min-height: 0; display: block; padding: calc(var(--header-h) + 40px) 0 140px; }
.hero--promos .hero__title { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); max-width: 18ch; margin-bottom: 16px; }
.hero--promos .hero__lede { margin-bottom: 40px; }

.promos {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1099px) { .promos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .promos {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px;
  }
  .promos::-webkit-scrollbar { display: none; }
}
.promo {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 24px;
  border-radius: var(--radius-l); overflow: hidden; isolation: isolate; scroll-snap-align: start;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.promo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 45%);
}
.promo:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.promo:hover::before { opacity: 1; }
.promo:nth-child(1)[data-intro] { animation-delay: .45s; }
.promo:nth-child(2)[data-intro] { animation-delay: .55s; }
.promo:nth-child(3)[data-intro] { animation-delay: .65s; }
.promo:nth-child(4)[data-intro] { animation-delay: .75s; }
.promo__badge { align-self: flex-start; margin: 0; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.promo__title { font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.promo__text { margin: 0; font-size: .92rem; line-height: 1.45; }
.promo__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.promo__price { margin: 0; font-family: var(--font-heading); font-weight: 700; }
.promo__price strong { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.promo__price small { font-family: var(--font-body); font-weight: 400; font-size: .78rem; }
.promo__cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: 700; text-decoration: none; }
.promo__cta .icon { transition: transform .35s var(--ease-out); }
.promo:hover .promo__cta .icon { transform: translateX(4px); }
.promo__hit { position: absolute; inset: 0; } /* whole tile clickable, link text stays the accessible name */

.promo--orange { color: var(--color-dark); background: linear-gradient(150deg, #FFA24D 0%, var(--color-primary) 45%, var(--color-primary-dark) 100%); box-shadow: 0 30px 60px -30px rgba(246, 131, 32, .7); }
.promo--orange .promo__badge { background: var(--color-dark); color: var(--color-primary-light); }
.promo--orange .promo__text { color: rgba(11, 32, 53, .85); }
.promo--dark { color: #fff; background: linear-gradient(150deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); }
.promo--dark .promo__badge { background: rgba(246, 131, 32, .2); color: var(--color-primary-light); }
.promo--dark .promo__text { color: var(--color-on-dark); opacity: .8; }
.promo--dark .promo__cta { color: var(--color-primary-light); }
.promo--light { color: var(--color-dark); background: #fff; }
.promo--light .promo__badge { background: var(--color-surface-alt); color: var(--color-secondary); }
.promo--light .promo__text { color: var(--color-secondary); }
.promo--light .promo__cta { color: var(--color-primary-text); }
.promo--light::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(246, 131, 32, .12), transparent 45%); }

/* flagship offer: same size as the others; stands out by its glow, the corner visual and a real button instead of a text link */
.promo--featured { box-shadow: 0 0 0 1px rgba(255, 188, 125, .55), 0 30px 80px -20px rgba(246, 131, 32, .85); }
.promo--featured .promo__badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.promo--featured .promo__badge .icon { width: 1em; height: 1em; color: var(--color-primary); }
.promo--featured .promo__cta { padding: 8px 16px; border-radius: 999px; background: var(--color-primary); color: var(--color-dark); transition: box-shadow .3s; }
.promo--featured.promo--orange .promo__cta { background: var(--color-dark); color: var(--color-surface); box-shadow: 0 12px 24px -12px rgba(11, 32, 53, .9); }
.promo--featured:hover .promo__cta { box-shadow: 0 16px 30px -12px rgba(11, 32, 53, 1); }

/* ---------- Availability ---------- */
.availability { position: relative; z-index: 2; margin-top: -88px; }
.avail-panel {
  padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-l); background: #fff;
  box-shadow: 0 40px 80px -40px rgba(7, 23, 38, .55), 0 0 0 1px rgba(11, 32, 53, .05);
}
.availability .avail-panel[data-intro] { animation-delay: .9s; }
.avail-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.avail-panel__title { font-size: var(--step-2); font-weight: 800; color: var(--color-dark); }
.avail-panel__text { margin: 0; color: var(--color-secondary); }
.availability-page .avail-panel { margin-top: -40px; position: relative; }

.avail { display: grid; gap: 12px; align-items: end; }
@media (min-width: 900px) { .avail { grid-template-columns: 1fr auto; } }
.avail__field { position: relative; }
.avail__field label { display: block; font-size: var(--step--1); font-weight: 600; color: var(--color-secondary); margin-bottom: 6px; }
.avail__field input {
  width: 100%; height: 56px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--color-border-strong); background: var(--color-surface-alt);
  font: inherit; font-size: 1.05rem; color: var(--color-ink); transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.avail__field input:focus { outline: 3px solid var(--color-dark); outline-offset: 2px; border-color: var(--color-dark); box-shadow: 0 0 0 5px var(--color-surface); background: #fff; }
.avail__field input:disabled { opacity: .5; cursor: not-allowed; }
.avail__field.is-done input { border-color: #9AD8B4; background: #F3FBF6; }
.avail__field.is-hidden { display: none; }
.avail__submit { height: 56px; }
.avail__hint { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: var(--step--1); color: var(--color-muted); }
/* zapamiętany adres (localStorage) z przyciskiem „Wyczyść adres” */
.avail__saved { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: var(--radius-m); background: #F1FAF5; border: 1px solid #BFE5CF; }
.avail__saved--possible, .avail__saved--nearby { background: #FFF6EC; border-color: #F8CFA4; }
.avail__saved--missing { background: var(--color-surface-alt); border-color: var(--color-line); }
.avail__saved-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); }
.avail__saved-icon .icon { width: 18px; height: 18px; }
.avail__saved-text { flex: 1 1 220px; min-width: 0; margin: 0; display: grid; gap: 1px; }
.avail__saved-label, .avail__saved-status { font-size: var(--step--1); color: var(--color-secondary); }
.avail__saved-text strong { color: var(--color-dark); overflow-wrap: anywhere; }
.avail__saved-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.avail__saved-link { font-weight: 700; font-size: var(--step--1); color: var(--color-primary-text); }
.avail__saved-clear { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 2px solid var(--color-border-strong); background: #fff; font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--color-dark); cursor: pointer; }
.avail__saved-clear:hover { border-color: var(--color-dark); }
.avail__saved-clear .icon { width: 14px; height: 14px; }
.avail__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  max-height: 280px; overflow-y: auto; border-radius: 14px; background: #fff;
  box-shadow: 0 24px 48px -16px rgba(7, 23, 38, .35), 0 0 0 1px rgba(11, 32, 53, .08);
  animation: listIn .25s var(--ease-out);
}
@keyframes listIn { from { opacity: 0; transform: translateY(-6px); } }
.avail__list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.avail__list li small { color: var(--color-muted); margin-left: 6px; }
.avail__list li[aria-selected="true"], .avail__list li:hover { background: #FFF1E4; }
.avail__list li mark { background: none; color: var(--color-primary-text); font-weight: 700; }
.avail__list .is-empty { cursor: default; color: var(--color-muted); background: none !important; }

.avail__result:empty { display: none; }
.avail__result { margin-top: 20px; }
.avail-result {
  display: grid; gap: 24px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-m); outline: none;
  animation: resultIn .7s var(--ease-out);
}
@keyframes resultIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (min-width: 700px) { .avail-result:has(.avail-result__speed) { grid-template-columns: 180px 1fr; } }
.avail-result--available { background: linear-gradient(150deg, var(--color-dark-2), var(--color-night)); color: #fff; }
.avail-result--possible { background: linear-gradient(150deg, #FFF4E8, #FFE7D1); color: var(--color-dark); }
.avail-result--missing { background: var(--color-surface-alt); color: var(--color-dark); }
.avail-result__speed { position: relative; width: 160px; margin-inline: auto; }
.avail-result__speed svg { transform: rotate(-90deg); }
.avail-result__track, .avail-result__arc { fill: none; stroke-width: 8; }
.avail-result__track { stroke: rgba(127, 140, 160, .25); }
.avail-result__arc { stroke: var(--color-primary); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(246, 131, 32, .7)); transition: stroke-dashoffset 1.6s var(--ease-out); }
.avail-result__speed > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: .85rem; opacity: .85; }
.avail-result__speed strong { display: block; font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; opacity: 1; }
.avail-result__status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 600; }
.avail-result--available .avail-result__status { color: #6FD39B; }
.avail-result--possible .avail-result__status { color: var(--color-primary-text); }
.avail-result--missing .avail-result__status { color: var(--color-secondary); }
.avail-result__address { font-size: var(--step-2); font-weight: 800; margin-bottom: 6px; }
.avail-result__meta { opacity: .8; margin-bottom: 12px; }
.avail-result__plans { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.avail-result__plans li { padding: 6px 12px; border-radius: 999px; font-size: var(--step--1); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.avail-result--possible .avail-result__plans li { background: rgba(255, 255, 255, .7); border-color: rgba(11, 32, 53, .08); }
.avail-result__plans span { opacity: .75; margin-left: 4px; }
.avail-result__sent { display: flex; gap: 8px; align-items: center; font-weight: 600; color: #13703C; margin: 0; }
.avail-result--nearby { background: linear-gradient(150deg, #FFF4E8, #FFE7D1); color: var(--color-dark); }
.avail-result--nearby .avail-result__status { color: var(--color-primary-text); }
.avail-result__actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.avail-result__lead-title { margin: 24px 0 10px; font-weight: 600; }

/* Okno „Czy to Twój adres?” z mapą */
.avail-modal { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-l); background: var(--color-surface); color: var(--color-ink); box-shadow: 0 40px 80px -24px rgba(7, 23, 38, .55); overflow: hidden; }
.avail-modal[open] { display: flex; flex-direction: column; animation: availModalIn .35s var(--ease-out); }
.avail-modal::backdrop { background: rgba(7, 23, 38, .6); backdrop-filter: blur(3px); }
@keyframes availModalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.avail-modal__panel { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.avail-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 12px; }
.avail-modal__kicker { margin: 0 0 4px; font-size: var(--step--1); font-weight: 600; color: var(--color-secondary); }
.avail-modal__title { margin: 0; font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.avail-modal__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--color-surface-alt); color: var(--color-dark); cursor: pointer; }
.avail-modal__close:hover { background: var(--color-line); }
.avail-modal__close .icon { width: 20px; height: 20px; }
.avail-modal__body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px 16px; }
.avail-modal__status { display: inline-block; margin: 0 0 6px; padding: 4px 12px; border-radius: 999px; font-weight: 700; background: #E7F6EE; color: #13703C; }
.avail-modal[data-status="possible"] .avail-modal__status,
.avail-modal[data-status="nearby"] .avail-modal__status { background: #FFF1E3; color: var(--color-primary-text); }
.avail-modal[data-status="missing"] .avail-modal__status { background: var(--color-surface-alt); color: var(--color-dark); }
.avail-modal__text { margin: 0 0 12px; color: var(--color-secondary); }
.avail-modal__map { position: relative; height: clamp(220px, 42vh, 340px); border-radius: var(--radius-m); overflow: hidden; background: var(--color-surface-alt); }
.avail-modal__legend { margin: 10px 0 0; font-size: var(--step--1); color: var(--color-secondary); }
.avail-modal__radius { stroke: var(--color-primary); stroke-width: 2; fill: var(--color-primary); fill-opacity: .12; }
.avail-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--color-line); }
@media (max-width: 575px) { .avail-modal__foot .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .avail-modal[open] { animation: none; } }
html[data-motion="off"] .avail-modal[open] { animation: none; }
.lead-form { display: grid; gap: 14px; max-width: 640px; }
.lead-form__row { display: grid; gap: 14px; }
@media (min-width: 600px) { .lead-form__row { grid-template-columns: 1fr 1fr; } }
.lead-form .field input { width: 100%; padding: 12px 14px; border-radius: var(--radius-s); border: 2px solid var(--color-border-strong); background: #fff; font: inherit; }
.lead-form .field input:focus { outline: 3px solid var(--color-dark); outline-offset: 2px; border-color: var(--color-dark); box-shadow: 0 0 0 5px var(--color-surface); }
.lead-form .btn { justify-self: start; }

/* ---------- Address in configurator ---------- */
.cfg-address {
  display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; padding: 14px 16px; border-radius: var(--radius-m);
  background: #F1FAF5; border: 1px solid #BFE5CF;
}
.cfg-address--possible { background: #FFF6EC; border-color: #F8CFA4; }
.cfg-address--none { background: var(--color-surface-alt); border-color: var(--color-line); color: var(--color-secondary); }
.cfg-address__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); }
.cfg-address--none .cfg-address__icon { background: var(--color-line); }
.cfg-address__icon .icon { width: 20px; height: 20px; }
.cfg-address__text { flex: 1; min-width: 0; display: grid; gap: 2px; margin: 0; }
.cfg-address--none .cfg-address__text { display: block; }
.cfg-address__label { font-size: var(--step--1); color: var(--color-secondary); }
.cfg-address__text strong { font-size: 1.1rem; color: var(--color-dark); overflow-wrap: anywhere; }
.cfg-address__meta { font-size: var(--step--1); color: var(--color-secondary); }
.cfg-address__change, .cfg-address--none a { flex: none; font-weight: 600; font-size: var(--step--1); color: var(--color-primary-text); }
@media (max-width: 575px) {
  .cfg-address { flex-wrap: wrap; }
  .cfg-address__change { margin-left: 54px; }
}
.receipt__address { display: flex; align-items: center; gap: 8px; margin: -8px 0 16px; font-size: var(--step--1); color: var(--color-on-dark-muted); }
.receipt__address .icon { flex: none; width: 16px; height: 16px; color: var(--color-primary); }

/* fit headline, promos and the address form into the first screen */
.hero--promos { padding: calc(var(--header-h) + 28px) 0 120px; }
.hero--promos .hero__kicker { margin-bottom: 14px; }
.hero--promos .hero__title { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.7rem); }
.hero--promos .hero__lede { margin-bottom: 28px; }
.promo { min-height: 220px; }
.availability + .section { padding-top: clamp(40px, 4vw, 56px); }
@media (min-width: 900px) { .avail-panel__text { max-width: none; } }
@media (max-width: 899px) {
  .avail { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699px) { .hero--promos { padding-bottom: 104px; } .promos { padding-bottom: 24px; margin-bottom: -24px; } }

/* ---------- Promo tiles: motion ---------- */
.promo[data-intro] { animation-fill-mode: backwards; }
.promo { transform-style: preserve-3d; will-change: transform; }
.promo > *:not(.promo__visual):not(.promo__glare) { position: relative; z-index: 1; }
.promo__glare {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 48%, transparent 62%);
  background-size: 250% 100%; background-position: var(--gx, 100%) 0;
}
.promo:hover .promo__glare { opacity: 1; }
.promo--light .promo__glare { background-image: linear-gradient(115deg, transparent 30%, rgba(246, 131, 32, .10) 48%, transparent 62%); }

/* light running around the featured tile's border */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.promo--orange::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--angle), transparent 0 72%, rgba(255, 255, 255, .95) 84%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: orbit 4.5s linear infinite;
}
@keyframes orbit { to { --angle: 360deg; } }

.promo__visual { position: absolute; z-index: 0; pointer-events: none; }

/* speed: light streaks */
.promo__visual--speed { inset: auto 0 0 0; height: 62%; opacity: .55; }
.promo__visual--speed svg { width: 100%; height: 100%; }
.streak { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 16 84; animation: streak 2.4s linear infinite; }
.streak--2 { stroke-width: 1.4; animation-duration: 1.7s; animation-delay: -.6s; opacity: .8; }
.streak--3 { stroke-width: 1; animation-duration: 3.1s; animation-delay: -1.4s; opacity: .6; }
.promo:hover .streak { animation-duration: 1s; }
.promo:hover .streak--2 { animation-duration: .7s; }
@keyframes streak { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* bundle: internet, TV and phone light up in turn as a pulse runs around the fibre ring; slow light burst behind */
.promo__visual--bundle { top: 12px; right: 12px; width: 104px; height: 104px; }
.bundle { position: relative; display: block; width: 100%; height: 100%; transition: transform .6s var(--ease-out); }
.bundle__rays {
  position: absolute; inset: -46px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .5) 0 7deg, transparent 7deg 22.5deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%); mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  animation: spin 30s linear infinite;
}
.bundle__ring { position: absolute; inset: 14px; border-radius: 50%; border: 2px solid rgba(11, 32, 53, .3); animation: spin 3s linear infinite; }
.bundle__ring::after { /* bright head at the top, tail fading counter-clockwise */
  content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 3px;
  background: conic-gradient(transparent 0 62%, rgba(255, 255, 255, .95) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.bundle__core {
  position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 16%, var(--color-primary-light) 34%, var(--color-dark) 66%);
  box-shadow: 0 0 18px 4px rgba(255, 255, 255, .55); animation: corePulse 1.5s ease-in-out infinite alternate;
}
.bundle__chip {
  position: absolute; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--color-dark); color: var(--color-primary); box-shadow: 0 8px 16px -8px rgba(11, 32, 53, .9);
  animation: chipLit 3s linear infinite;
}
.bundle__chip .icon { width: 16px; height: 16px; }
/* on the ring (radius 38px) at 0°, 120° and 240°; the delays match the moment the pulse passes */
.bundle__chip--1 { left: 37px; top: -1px; }
.bundle__chip--2 { left: 70px; top: 56px; animation-delay: 1s; }
.bundle__chip--3 { left: 4px; top: 56px; animation-delay: 2s; }
@keyframes corePulse { from { transform: scale(.9); } to { transform: scale(1.1); } }
@keyframes chipLit {
  0%, 32%, 100% { background: var(--color-dark); color: var(--color-primary); transform: scale(1); box-shadow: 0 8px 16px -8px rgba(11, 32, 53, .9); }
  4%, 16% { background: var(--color-surface); color: var(--color-primary-dark); transform: scale(1.18); box-shadow: 0 0 0 4px rgba(255, 255, 255, .4), 0 0 20px 6px rgba(255, 255, 255, .7); }
}
.promo:hover .bundle { transform: scale(1.08); }
.promo:has(.promo__visual--bundle) .promo__title { padding-right: 100px; }

/* gauge: needle sweeps to the top speed */
.promo__visual--gauge { top: 20px; right: 18px; width: 108px; }
.gauge__track, .gauge__fill { fill: none; stroke-width: 7; stroke-linecap: round; }
.gauge__track { stroke: rgba(255, 255, 255, .12); }
.gauge__fill { stroke: url(#promo-gauge-grad); stroke-dasharray: 100; stroke-dashoffset: 100; animation: gaugeFill 1.6s var(--ease-out) 1.1s forwards; filter: drop-shadow(0 0 4px rgba(246, 131, 32, .7)); }
.gauge__ticks line { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.gauge__needle { transform-origin: 60px 62px; transform: rotate(-90deg); animation: needleIn 1.6s var(--ease-out) 1.1s forwards, needleIdle 2.6s ease-in-out 2.8s infinite alternate; }
.gauge__needle line { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.gauge__needle circle { fill: #fff; }
@keyframes gaugeFill { to { stroke-dashoffset: 3; } }
@keyframes needleIn { to { transform: rotate(82deg); } }
@keyframes needleIdle { from { transform: rotate(82deg); } to { transform: rotate(76deg); } }
.promo:hover .gauge__needle { animation: needleIn 1.6s var(--ease-out) 1.1s forwards, needleMax .5s var(--ease-out) forwards; }
@keyframes needleMax { from { transform: rotate(76deg); } to { transform: rotate(90deg); } }

/* tv: channels switching */
.promo__visual--tv { top: 18px; right: 18px; width: 92px; display: grid; justify-items: center; gap: 4px; }
.tv__screen {
  position: relative; width: 92px; height: 58px; border-radius: 10px; overflow: hidden;
  border: 3px solid var(--color-dark); background: var(--color-night); box-shadow: 0 10px 24px -10px rgba(11, 32, 53, .5);
  transition: transform .5s var(--ease-out);
}
.tv__stand { width: 34px; height: 4px; border-radius: 4px; background: var(--color-dark); }
.tv__ch { position: absolute; inset: 0; opacity: 0; animation: channel 8s steps(1) infinite; }
.tv__ch--1 { background: linear-gradient(135deg, #F68320, #FFBC7D); animation-delay: 0s; }
.tv__ch--2 { background: linear-gradient(90deg, #E8EEF5 0 14%, #FFD34E 14% 28%, #3BC1C7 28% 42%, #5BC46A 42% 57%, #D85BC9 57% 71%, #E2523F 71% 85%, #3C5FD8 85%); animation-delay: -6s; }
.tv__ch--3 { background: radial-gradient(circle at 30% 40%, #8ED1FC, #0B2035 70%); animation-delay: -4s; }
.tv__ch--4 { background: linear-gradient(160deg, #12304D, #F68320 140%); animation-delay: -2s; }
@keyframes channel { 0% { opacity: 1; } 25% { opacity: 0; } }
.tv__scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .35), transparent); animation: tvScan 2.2s linear infinite; }
@keyframes tvScan { to { top: 100%; } }
.promo:hover .tv__screen { transform: scale(1.08) rotate(-2deg); }
.promo:hover .tv__ch { animation-duration: 2s; }

/* card: loyalty card with shine */
.promo__visual--card { top: 18px; right: 14px; perspective: 400px; }
.loyalty {
  position: relative; display: block; width: 104px; height: 66px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 55%, var(--color-dark) 130%);
  box-shadow: 0 14px 26px -12px rgba(229, 106, 0, .7);
  transform: rotate(-10deg) rotateY(0); transition: transform .7s var(--ease-out);
  animation: cardFloat 4s ease-in-out infinite alternate;
}
.loyalty__chip { position: absolute; left: 10px; top: 14px; width: 18px; height: 13px; border-radius: 3px; background: linear-gradient(135deg, #FFE2B8, #D9A55B); }
.loyalty__name { position: absolute; left: 10px; bottom: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 8px; color: #fff; letter-spacing: .02em; }
.loyalty__heart { position: absolute; right: 9px; top: 9px; color: #fff; animation: beat 1.6s ease-in-out infinite; }
.loyalty__heart .icon { width: 16px; height: 16px; fill: #fff; }
.loyalty__shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); background-size: 300% 100%; animation: shine 4s ease-in-out infinite; }
@keyframes cardFloat { from { translate: 0 0; } to { translate: 0 -5px; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
@keyframes shine { 0%, 55% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.promo:hover .loyalty { transform: rotate(0deg) rotateY(-18deg) scale(1.08); }

/* keep text clear of the corner visuals */
.promo:has(.promo__visual--gauge) .promo__title,
.promo:has(.promo__visual--tv) .promo__title,
.promo:has(.promo__visual--card) .promo__title { padding-right: 92px; }
@media (max-width: 1279px) and (min-width: 1100px) {
  .promo__visual--gauge, .promo__visual--tv, .promo__visual--card, .promo__visual--bundle { transform: scale(.8); transform-origin: top right; }
  .promo:has(.promo__visual--gauge) .promo__title, .promo:has(.promo__visual--tv) .promo__title, .promo:has(.promo__visual--card) .promo__title { padding-right: 70px; }
  .promo__visual--bundle { top: 52px; } /* below the badge: narrow tiles have no room beside it */
  .promo:has(.promo__visual--bundle) .promo__title { padding-right: 78px; }
}
.odo { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.odo__strip span { text-align: center; }
.promo__visual--speed { height: 46%; opacity: .4; }

/* TV channel list (modal dialog; full-screen sheet on phones) */
html.has-dialog { overflow: hidden; }
.channels {
  width: 100%; max-width: 760px; max-height: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  display: none; flex-direction: column; background: var(--color-surface); color: var(--color-ink);
}
.channels[open] { display: flex; }
.channels::backdrop { background: rgba(7, 23, 38, .7); backdrop-filter: blur(3px); }
@media (min-width: 768px) {
  .channels { margin: auto; height: min(86vh, 900px); border-radius: var(--radius-l); box-shadow: 0 40px 80px -30px rgba(7, 23, 38, .6); }
}
@media (prefers-reduced-motion: no-preference) {
  .channels[open] { animation: channelsIn .45s var(--ease-out); }
}
@keyframes channelsIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.channels__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 16px;
  background: linear-gradient(160deg, var(--color-dark), var(--color-night)); color: #fff;
}
@media (min-width: 768px) { .channels__head { padding: 28px 32px 20px; } }
.channels__eyebrow { margin: 0 0 4px; font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-light); }
.channels__title { margin: 0; font-size: var(--step-2); font-weight: 800; }
.channels__sub { margin: 4px 0 0; color: var(--color-on-dark-muted); font-size: var(--step--1); }
.channels__close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff;
}
.channels__close:hover { border-color: var(--color-primary); background: rgba(246, 131, 32, .15); }
.channels__search { display: block; padding: 14px 20px; border-bottom: 1px solid var(--color-line); background: var(--color-surface); }
@media (min-width: 768px) { .channels__search { padding: 16px 32px; } }
.channels__search input {
  width: 100%; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--color-line); background: var(--color-surface-alt);
  font: inherit; color: var(--color-ink);
}
.channels__search input:focus { outline: 3px solid var(--color-dark); outline-offset: 1px; box-shadow: 0 0 0 5px var(--color-surface); background: var(--color-surface); }
.channels__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
@media (min-width: 768px) { .channels__body { padding: 8px 32px 24px; } }
.channels__group[hidden] { display: none; }
.channels__cat {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 0 8px;
  background: var(--color-surface); font-size: var(--step-0); font-weight: 800; color: var(--color-dark);
}
.channels__cat span { padding: 1px 8px; border-radius: 999px; background: var(--color-primary-light); font-family: var(--font-body); font-size: .75rem; font-weight: 700; color: var(--color-dark); }
.channels__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px 24px; }
@media (min-width: 576px) { .channels__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.channels__list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--color-surface-alt); }
.channels__list li[hidden] { display: none; }
.channels__logo {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 3px; border-radius: 10px;
  background: var(--color-surface); border: 1px solid var(--color-line); overflow: hidden;
}
.channels__logo img { width: 100%; height: 100%; object-fit: contain; }
/* pictogram for channels without a logo */
.channels__mono {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 7px;
  background: linear-gradient(150deg, var(--color-dark-2), var(--color-dark)); color: #fff;
  font-family: var(--font-heading); font-size: .78rem; font-weight: 800; letter-spacing: .02em;
  box-shadow: inset 0 -3px 0 var(--color-primary);
}
.channels__num { flex: none; width: 2.6em; font-size: var(--step--1); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.channels__name { flex: 1; min-width: 0; }
.channels__q { flex: none; padding: 1px 6px; border-radius: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.channels__q--hd { background: var(--color-surface-alt); color: var(--color-secondary); }
.channels__q--4k { background: var(--color-dark); color: var(--color-primary-light); }
.channels__empty { margin: 24px 0; text-align: center; color: var(--color-secondary); }
.channels__foot { margin: 0; padding: 12px 20px; border-top: 1px solid var(--color-line); font-size: var(--step--1); color: var(--color-muted); }
@media (min-width: 768px) { .channels__foot { padding: 14px 32px; } }
.channels__foot a { color: var(--color-dark); font-weight: 500; }

/* ---------- Contact page ---------- */
.contact-quick { padding-bottom: 0; }
.contact-quick + .visit { padding-top: clamp(32px, 5vw, 56px); }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 576px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.contact-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 2px 14px; padding: 18px;
  border-radius: var(--radius-m); background: var(--color-surface-alt); border: 1px solid var(--color-line);
}
.contact-card__icon {
  grid-row: span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--color-dark); color: var(--color-primary);
}
.contact-card__title { margin: 0; font-family: var(--font-body); font-size: var(--step--1); font-weight: 500; color: var(--color-secondary); }
.contact-card__value {
  font-family: var(--font-heading); font-size: var(--step-1); font-weight: 800; color: var(--color-dark);
  text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.contact-card__value:hover { color: var(--color-primary-text); }
.contact-card__value--mail { font-size: var(--step-0); }
.contact-card__note { grid-column: 2; margin: 4px 0 0; font-size: var(--step--1); line-height: 1.4; }
/* the emergency number is the one people look for in a hurry */
.contact-card--alarm { background: linear-gradient(150deg, var(--color-dark-2), var(--color-night)); border-color: transparent; color: #fff; }
.contact-card--alarm .contact-card__icon { background: var(--color-primary); color: var(--color-dark); }
.contact-card--alarm .contact-card__title { color: var(--color-primary-light); }
.contact-card--alarm .contact-card__value { color: #fff; font-size: var(--step-2); white-space: nowrap; }
@media (min-width: 1024px) { .contact-card--alarm .contact-card__value { font-size: var(--step-1); } }
.contact-card--alarm .contact-card__value:hover { color: var(--color-primary-light); }
.contact-card--alarm .contact-card__note { color: var(--color-on-dark-muted); }

.contact-sub { margin: 0 0 4px; font-family: var(--font-body); font-size: var(--step--1); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }

.contact-main { background: var(--color-surface-alt); }
.contact-main__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .contact-main__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
.contact-form-wrap__lede { margin-bottom: 24px; }
.contact-form { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); }
.topics { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.topics__legend { margin-bottom: 10px; padding: 0; font-weight: 600; color: var(--color-dark); }
.contact-form__submit { width: 100%; }
@media (min-width: 700px) { .contact-form__submit { width: auto; } }
.alert--success { background: #E8F6EE; color: #14532D; border: 1px solid #B7E2C6; }

.contact-aside { display: grid; gap: 16px; }
.contact-box { padding: 24px; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); }
.contact-box__title { margin: 0 0 14px; font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.company-data { margin: 0; display: grid; }
.company-data div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--color-line); font-size: var(--step--1); }
.company-data div:last-child { border-bottom: 0; }
.company-data dt { color: var(--color-muted); }
.company-data dd { margin: 0; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.contact-box__name { margin: 0 0 8px; font-weight: 700; }
.contact-box__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.contact-box__links li { display: flex; align-items: center; gap: 10px; }
.contact-box__links .icon { color: var(--color-primary-dark); }
.contact-box__links a { color: var(--color-dark); }

/* ---------- Certificates & references ---------- */
.cred-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.cred-stats a {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: var(--color-on-dark);
  transition: border-color .25s, background-color .25s;
}
.cred-stats a:hover { border-color: var(--color-primary); background: rgba(246, 131, 32, .12); }
.cred-stats strong { font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-primary-light); }

.cred-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.cred-section--alt { background: var(--color-surface-alt); }
.cred-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 768px) { .cred-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .cred-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.cred {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-m); background: var(--color-surface);
  border: 1px solid var(--color-line); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.cred[hidden] { display: none; }
@media (hover: hover) { .cred:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(11, 32, 53, .45); } }
.cred__scan { position: relative; display: block; aspect-ratio: 3 / 4; padding: 10px; background: linear-gradient(160deg, #F6F7F9, var(--color-surface-alt)); }
.cred__scan img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(11, 32, 53, .18)); }
.cred__zoom {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-dark); color: var(--color-primary); opacity: .9; transition: transform .3s var(--ease-out), opacity .3s;
}
.cred__scan:hover .cred__zoom, .cred__scan:focus-visible .cred__zoom { transform: scale(1.1); opacity: 1; }
.cred__body { display: grid; gap: 4px; padding: 14px 14px 16px; }
@media (min-width: 768px) { .cred__body { padding: 16px 18px 18px; } }
.cred__issuer { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary-text); }
.cred__title { margin: 0; font-family: var(--font-body); font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--color-dark); }
.cred__meta { margin: 0; font-size: var(--step--1); color: var(--color-muted); }
.cred__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; padding: 0; }
.cred__tags li { padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; background: var(--color-surface-alt); color: var(--color-secondary); }

.cred-filter { margin-bottom: 20px; }
.cred-filter[hidden] { display: none; }
.cred-filter__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-dark); font-weight: 600;
  transition: background-color .25s, color .25s, border-color .25s;
}
.cred-filter__btn small { color: var(--color-muted); font-weight: 500; }
.cred-filter__btn:hover { border-color: var(--color-primary); }
.cred-filter__btn.is-active { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.cred-filter__btn.is-active small { color: var(--color-primary-light); }

.cred-cta {
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-l); color: #fff;
  background: radial-gradient(500px 300px at 100% 0%, rgba(246, 131, 32, .3), transparent 60%), linear-gradient(160deg, var(--color-dark-2), var(--color-night));
}
.cred-cta__title { margin: 0 0 8px; font-size: var(--step-2); font-weight: 800; }
.cred-cta p { margin: 0 0 24px; color: var(--color-on-dark-muted); }
.cred-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cred-cta .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* document viewer */
.viewer {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--color-night); color: #fff;
}
.viewer[open] { display: grid; place-items: center; }
.viewer::backdrop { background: rgba(7, 23, 38, .8); }
.viewer__figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 16px 72px; max-width: 100%; }
.viewer__img { max-width: min(100%, 900px); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.viewer__caption { max-width: 60ch; text-align: center; font-size: var(--step--1); color: var(--color-on-dark); }
.viewer__btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(11, 32, 53, .7); color: #fff;
}
.viewer__btn:hover { border-color: var(--color-primary); background: rgba(246, 131, 32, .2); }
.viewer__btn--close { top: 12px; right: 12px; }
.viewer__btn--prev { left: 12px; bottom: 12px; }
.viewer__btn--next { right: 12px; bottom: 12px; }
@media (min-width: 768px) {
  .viewer__btn--prev, .viewer__btn--next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .viewer__btn--prev { left: 24px; }
  .viewer__btn--next { right: 24px; }
}
.viewer__count { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); margin: 0; font-size: var(--step--1); color: var(--color-on-dark-muted); font-variant-numeric: tabular-nums; }

/* ---------- Foundations ---------- */
.fund-hero__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1024px) { .fund-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; } }
.fund-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 600; color: var(--color-primary-light); }
.fund-total {
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l); text-align: center;
  background: linear-gradient(150deg, rgba(246, 131, 32, .22), rgba(246, 131, 32, .05)); border: 1px solid rgba(246, 131, 32, .45);
  box-shadow: 0 30px 60px -30px rgba(246, 131, 32, .5);
}
.fund-total__label { margin: 0 0 6px; color: var(--color-on-dark); }
.fund-total__value { margin: 0; font-family: var(--font-heading); font-size: clamp(2.6rem, 2rem + 3vw, 4rem); font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.fund-total__value span { font-size: .45em; color: var(--color-primary-light); }
.fund-total__note { margin: 12px 0 0; font-size: var(--step--1); color: var(--color-on-dark-muted); }

.fund-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .fund-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.fund-step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius-l); background: var(--color-surface-alt); border: 1px solid var(--color-line); }
.fund-step__num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%;
  background: var(--color-primary); color: var(--color-dark); font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800;
}
.fund-step__title { margin: 0 0 6px; font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.fund-step p { margin: 0; color: var(--color-secondary); }

.fund-list { background: var(--color-surface-alt); }
.fund-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .fund-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1200px) { .fund-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fund-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); scroll-margin-top: calc(var(--header-h) + 16px); }
.fund-card__logo { display: grid; place-items: center; height: 150px; padding: 20px; background: #fff; border-bottom: 1px solid var(--color-line); }
.fund-card__logo img { max-width: 70%; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.fund-card__body { padding: 20px 22px 24px; }
.fund-card__area { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--color-primary-light); color: var(--color-dark); }
.fund-card__name { margin: 0 0 8px; font-size: var(--step-1); font-weight: 800; line-height: 1.25; color: var(--color-dark); }
.fund-card__text { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--color-secondary); }

.fund-opp__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .fund-opp__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.fund-opp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fund-opp__list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-m); background: var(--color-surface-alt); }
.fund-opp__list .icon { flex: none; color: var(--color-primary-dark); margin-top: .15em; }
.fund-cta-wrap { padding-top: 0; }
.fund-cta { margin-top: 0; }

/* ---------- Discount card ---------- */
.dc-hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .dc-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; } }
.dc-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.dc-facts li { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: var(--color-on-dark); }
.dc-facts strong { font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-primary-light); }

/* card: both faces stacked without JS, a 3D flip once enhanced */
.dc-card { display: grid; justify-items: center; gap: 10px; perspective: 1400px; }
.dc-card__flip { display: block; width: 100%; max-width: 480px; padding: 0; border: 0; background: none; cursor: default; }
.dc-card__inner { display: grid; gap: 14px; }
.dc-card__face { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.dc-card__hint { display: none; margin: 0; font-size: var(--step--1); color: var(--color-on-dark-muted); }
.dc-card.is-ready .dc-card__flip { cursor: pointer; }
.dc-card.is-ready .dc-card__inner { position: relative; display: block; aspect-ratio: 760 / 443; transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.dc-card.is-ready .dc-card__face { position: absolute; inset: 0; backface-visibility: hidden; }
.dc-card.is-ready .dc-card__face--back { transform: rotateY(180deg); }
.dc-card.is-ready.is-flipped .dc-card__inner { transform: rotateY(180deg); }
.dc-card.is-ready .dc-card__hint { display: block; }
.dc-card.is-ready .dc-card__inner { transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
/* gentle sway on the wrapper, so it does not fight with the flip on the inner element */
@media (prefers-reduced-motion: no-preference) {
  .dc-card.is-ready .dc-card__flip { animation: dcSway 7s ease-in-out infinite; }
}
@keyframes dcSway { 0%, 100% { transform: rotateX(3deg) rotateZ(-1deg); } 50% { transform: rotateX(-2deg) rotateZ(1deg) translateY(-6px); } }

.dc-how__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .dc-how__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; } }
.dc-steps { margin-top: 28px; }
.dc-sticker { margin: 0; display: grid; justify-items: center; gap: 10px; text-align: center; }
.dc-sticker img { width: min(240px, 70vw); height: auto; }
.dc-sticker figcaption { font-size: var(--step--1); color: var(--color-secondary); max-width: 26ch; }

.dc-partners { background: var(--color-surface-alt); }
.dc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .dc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.dc-partner { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); scroll-margin-top: calc(var(--header-h) + 16px); }
.dc-partner[hidden] { display: none; }
.dc-partner--own { border-color: rgba(246, 131, 32, .5); }
.dc-partner__top { position: relative; display: grid; place-items: center; height: 140px; padding: 16px; background: #fff; border-bottom: 1px solid var(--color-line); }
.dc-partner__logo img { max-width: 160px; max-height: 100px; width: auto; height: auto; object-fit: contain; }
.dc-partner__badge {
  position: absolute; top: 12px; right: 12px; margin: 0; padding: 8px 12px; border-radius: 14px;
  background: linear-gradient(140deg, var(--color-primary), var(--color-primary-dark)); color: var(--color-dark);
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; line-height: 1; box-shadow: 0 10px 24px -10px rgba(246, 131, 32, .8);
}
.dc-partner__badge small { display: block; font-size: .55rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dc-partner__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.dc-partner__cat { margin: 0 0 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary-text); }
.dc-partner__name { margin: 0 0 12px; font-size: var(--step-1); font-weight: 800; line-height: 1.25; color: var(--color-dark); }
.dc-partner__discounts { list-style: none; margin: 0 0 14px; padding: 12px 14px; display: grid; gap: 6px; border-radius: var(--radius-m); background: #FFF4EA; }
.dc-partner__discounts li { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; color: var(--color-dark); }
.dc-partner__discounts .icon { flex: none; color: var(--color-primary-dark); margin-top: .2em; }
.dc-partner__contact { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: var(--step--1); color: var(--color-secondary); }
.dc-partner__contact li { display: flex; gap: 8px; align-items: flex-start; }
.dc-partner__contact .icon { flex: none; color: var(--color-muted); margin-top: .15em; }
.dc-partner__contact a { color: var(--color-dark); }
.dc-partner__more { margin-top: auto; border-top: 1px solid var(--color-line); padding-top: 12px; font-size: var(--step--1); color: var(--color-secondary); }
.dc-partner__more summary { cursor: pointer; font-weight: 700; color: var(--color-dark); list-style-position: inside; }
.dc-partner__more summary:hover { color: var(--color-primary-text); }
.dc-partner__more p { margin: 10px 0 0; line-height: 1.55; }
.dc-partner__more ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.dc-partner__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-dark); }

/* ---------- Documents ---------- */
.docs__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .docs__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.docs__groups { display: grid; gap: 40px; }
.docs-group__title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: var(--step-2); font-weight: 800; color: var(--color-dark); }
.docs-group__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-dark); color: var(--color-primary); flex: none; }
.docs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px;
  border-radius: var(--radius-m); background: var(--color-surface); border: 1px solid var(--color-line);
  transition: border-color .25s, box-shadow .3s var(--ease-out);
}
@media (min-width: 576px) { .doc { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 18px 20px; } }
.doc:hover { border-color: rgba(246, 131, 32, .6); box-shadow: 0 16px 34px -24px rgba(11, 32, 53, .45); }
.doc__icon {
  position: relative; display: grid; place-items: center; width: 48px; height: 56px; border-radius: 10px;
  background: #FFF1E6; color: var(--color-primary-text);
}
.doc__icon .icon { width: 26px; height: 26px; }
.doc__icon small { position: absolute; bottom: 4px; font-size: .58rem; font-weight: 800; letter-spacing: .04em; }
.doc__title { margin: 0 0 4px; font-family: var(--font-body); font-size: var(--step-0); font-weight: 700; line-height: 1.3; }
.doc__title a { color: var(--color-dark); text-decoration: none; }
.doc__title a:hover { color: var(--color-primary-text); text-decoration: underline; }
.doc__text { margin: 0 0 4px; font-size: var(--step--1); color: var(--color-secondary); }
.doc__meta { margin: 0; font-size: .75rem; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.doc__download {
  grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; background: var(--color-dark); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .25s;
}
@media (min-width: 576px) { .doc__download { grid-column: auto; } }
.doc__download:hover { background: var(--color-primary); color: var(--color-dark); }
.docs-aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .docs-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.docs-help p, .docs-note p { margin: 0 0 16px; color: var(--color-secondary); }
.docs-note p { margin: 0; }
.docs-help__btn { width: 100%; justify-content: center; margin-top: 8px; }
.docs-note { background: #FFF4EA; border-color: rgba(246, 131, 32, .35); }

/* ---------- Shared blocks for service pages (business, monitoring, fibre) ---------- */
.section--alt { background: var(--color-surface-alt); }
.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.areas__item { display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: var(--color-surface); box-shadow: 0 1px 2px rgba(11, 32, 53, .06); }
.areas__city { font-family: var(--font-heading); font-size: var(--step-1); color: var(--color-dark); }
.areas__meta { color: var(--color-secondary); font-size: var(--step--1); }
.section--night { background: linear-gradient(180deg, var(--color-night), var(--color-dark)); color: #fff; }
.section--night .section__title { color: #fff; }
.section--night .section__lede { color: var(--color-on-dark-muted); }
.section--night .section__lede a { color: var(--color-primary-light); }
.section__eyebrow { margin: 0 0 8px; font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-text); }

.page-hero__split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .page-hero__split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }
.hero-photo { display: block; width: 100%; max-width: 460px; height: auto; margin-inline: auto; border-radius: var(--radius-l); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }

.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc-card__link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-l); text-decoration: none; color: inherit;
  background: var(--color-surface); border: 1px solid var(--color-line); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
@media (hover: hover) { .svc-card__link:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(11, 32, 53, .5); } }
.svc-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-dark); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc-card__link:hover .svc-card__img img { transform: scale(1.05); }
.svc-card__body { position: relative; display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 34px 20px 20px; }
.svc-card__icon { position: absolute; top: -22px; left: 20px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary); color: var(--color-dark); box-shadow: 0 10px 24px -10px rgba(246, 131, 32, .8); }
.svc-card__title { font-family: var(--font-heading); font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.svc-card__text { font-size: .95rem; line-height: 1.5; color: var(--color-secondary); }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--color-primary-text); }

.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.split--media { align-items: center; }
.split__sub { margin: 28px 0 12px; font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.split__note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 14px 16px; border-radius: var(--radius-m); background: #FFF4EA; color: var(--color-secondary); }
.split__note .icon { flex: none; color: var(--color-primary-dark); margin-top: .15em; }
.split__note a { font-weight: 700; color: var(--color-dark); }
.split__img { width: 100%; height: auto; border-radius: var(--radius-l); }

.num-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
.num-list li { counter-increment: step; position: relative; padding: 12px 14px 12px 56px; border-radius: var(--radius-m); background: var(--color-surface); border: 1px solid var(--color-line); }
.section--alt .num-list li { background: var(--color-surface); }
.num-list li::before {
  content: counter(step); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); font-family: var(--font-heading); font-weight: 800;
}

.benefit-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 576px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .benefit-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.benefit { padding: 22px; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); }
.section:not(.section--alt) .benefit { background: var(--color-surface-alt); }
.benefit__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--color-dark); color: var(--color-primary); }
.benefit__title { margin: 0 0 6px; font-size: var(--step-0); font-weight: 800; color: var(--color-dark); }
.benefit__title a { color: inherit; text-decoration: none; }
.benefit__title a:hover { color: var(--color-primary-text); }
.benefit__text { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--color-secondary); }

.check-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); }
.section:not(.section--alt) .check-card { background: var(--color-surface-alt); }
.check-card--dark { background: linear-gradient(160deg, var(--color-dark-2), var(--color-night)) !important; border-color: transparent; color: #fff; }
.check-card--dark .check-card__title { color: #fff; }
.check-card--dark .checklist li { color: var(--color-on-dark); }
.check-card__title { margin: 0 0 14px; font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; color: var(--color-ink); }
.checklist .icon { flex: none; color: var(--color-primary-dark); margin-top: .2em; }
.check-card--dark .checklist .icon, .checklist--light .icon { color: var(--color-primary); }
.checklist--light li { color: var(--color-on-dark); }
@media (min-width: 576px) { .checklist--cols { grid-template-columns: 1fr 1fr; gap: 10px 20px; } }
.tri-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .tri-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; padding: 0; }
.tag-list li { padding: 6px 14px; border-radius: 999px; background: var(--color-dark); color: #fff; font-weight: 700; font-size: var(--step--1); }

.spec-card { margin-top: 20px; overflow-x: auto; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table caption { padding: 16px 18px 6px; text-align: left; font-weight: 700; color: var(--color-dark); }
.spec-table th, .spec-table td { padding: 12px 18px; text-align: left; border-top: 1px solid var(--color-line); vertical-align: top; }
.spec-table thead th { font-size: var(--step--1); color: var(--color-muted); font-weight: 600; }
.spec-table tbody th { color: var(--color-dark); white-space: nowrap; }
.spec-table td:last-child { font-variant-numeric: tabular-nums; }

/* monitoring price card in the hero */
.price-card {
  position: relative; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-l);
  background: radial-gradient(360px 200px at 100% 0%, rgba(246, 131, 32, .28), transparent 70%), linear-gradient(150deg, var(--color-dark-2), var(--color-night)); border: 1px solid rgba(246, 131, 32, .6);
  box-shadow: 0 30px 60px -30px rgba(246, 131, 32, .5);
}
.price-card__badge { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--color-primary); color: var(--color-dark); font-weight: 800; font-size: var(--step--1); }
.price-card__label { margin: 0; color: var(--color-on-dark); }
.price-card__price { margin: 4px 0 18px; font-family: var(--font-heading); font-size: clamp(2.6rem, 2rem + 3vw, 4rem); font-weight: 800; line-height: 1; color: #fff; }
.price-card__price small { font-size: .35em; color: var(--color-on-dark-muted); }
.price-card__price > span { font-size: .45em; color: var(--color-primary-light); }

/* city cameras: click-to-load facade (the stream page sets its own cookies) */
.cam-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .cam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.cam { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-l); background: #000; border: 1px solid rgba(255, 255, 255, .12); }
.cam iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* the stream page is cut to its fixed-size player and scaled from JS (size and transform set in initCameras) */
.cam--fit iframe { inset: 0 auto auto 0; transform-origin: 0 0; }
.cam__start {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; text-decoration: none; color: #fff;
  background: radial-gradient(400px 220px at 50% 40%, rgba(246, 131, 32, .25), transparent 70%), linear-gradient(160deg, var(--color-dark-2), var(--color-night));
}
.cam__play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); box-shadow: 0 0 0 10px rgba(246, 131, 32, .2); transition: transform .35s var(--ease-out); }
.cam__play .icon { width: 28px; height: 28px; }
.cam__start:hover .cam__play { transform: scale(1.08); }
.cam__label { font-family: var(--font-heading); font-size: var(--step-1); font-weight: 800; }
.cam__live { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: #D92D20; font-family: var(--font-body); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.cam__hint { font-size: var(--step--1); color: var(--color-on-dark-muted); }
.cam-note { margin: 14px 0 0; font-size: var(--step--1); color: var(--color-on-dark-muted); }

/* ---------- Test prędkości ---------- */
@media (min-width: 1100px) { .steps-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.speedtest { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--radius-l); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }
.speedtest.is-running { height: clamp(620px, 85vh, 900px); background: #fff; }
.speedtest iframe { display: block; width: 100%; height: 100%; border: 0; }
.speedtest__start {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
  color: #fff; text-decoration: none;
}
.speedtest__icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); box-shadow: 0 0 0 14px rgba(246, 131, 32, .18), 0 0 60px rgba(246, 131, 32, .45); transition: transform .35s var(--ease-out); }
.speedtest__icon .icon { width: 44px; height: 44px; }
.speedtest__start:hover .speedtest__icon, .speedtest__start:focus-visible .speedtest__icon { transform: scale(1.06); }
.speedtest__label { font-family: var(--font-heading); font-size: var(--step-2); font-weight: 800; }
.speedtest__hint { font-size: var(--step--1); color: var(--color-on-dark-muted); }
@media (prefers-reduced-motion: reduce) { .speedtest__icon { transition: none; } }
html[data-motion="off"] .speedtest__icon { transition: none; }
.section__lede + .checklist { margin-top: 20px; }

/* ---------- Animated fibre splice graphic (/swiatlowody hero) ---------- */
.fiber-art { display: block; width: 100%; max-width: 520px; height: auto; margin-inline: auto; overflow: visible; }
.fiber-art__cable { stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.fiber-art__tray { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; stroke-dasharray: 6 6; }
.fiber-art__label { fill: var(--color-on-dark-muted); font-family: var(--font-body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.fiber-art__value { fill: var(--color-primary-light); font-family: var(--font-heading); font-size: 16px; font-weight: 800; }
.fiber-art__fibre { fill: none; stroke-width: 3.5; stroke-linecap: round; opacity: .7; }
.fiber-art__fibre--blue { stroke: #3B82F6; }
.fiber-art__fibre--orange { stroke: #F68320; }
.fiber-art__fibre--green { stroke: #22C55E; }
.fiber-art__fibre--brown { stroke: #B45309; }
.fiber-art__fibre--slate { stroke: #94A3B8; }
.fiber-art__fibre--white { stroke: #E2E8F0; }
.fiber-art__pulse {
  fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 4px #FFBC7D) drop-shadow(0 0 9px #F68320);
  animation: faPulse 2.4s linear infinite;
}
.fiber-art__pulse--2 { animation-duration: 2.9s; animation-delay: -.7s; }
.fiber-art__pulse--3 { animation-duration: 2.2s; animation-delay: -1.5s; }
.fiber-art__pulse--4 { animation-duration: 3.1s; animation-delay: -.3s; }
.fiber-art__pulse--5 { animation-duration: 2.6s; animation-delay: -1.9s; }
.fiber-art__pulse--6 { animation-duration: 2.8s; animation-delay: -1.1s; }
@keyframes faPulse { to { stroke-dashoffset: 0; } }
.fiber-art__sleeve { fill: rgba(255, 255, 255, .22); }
.fiber-art__splice { fill: var(--color-primary); transform-box: fill-box; transform-origin: center; animation: faSplice 2.4s ease-in-out infinite; }
.fiber-art__splice--2 { animation-delay: .4s; }
.fiber-art__splice--3 { animation-delay: .8s; }
.fiber-art__splice--4 { animation-delay: 1.2s; }
.fiber-art__splice--5 { animation-delay: 1.6s; }
.fiber-art__splice--6 { animation-delay: 2s; }
@keyframes faSplice { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.25); filter: drop-shadow(0 0 6px #F68320); } }
.fiber-art__otdr { fill: rgba(7, 23, 38, .6); stroke: rgba(255, 255, 255, .14); }
.fiber-art__label--left { text-anchor: start; }
.fiber-art__grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.fiber-art__trace {
  fill: none; stroke: url(#fa-trace); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 5px rgba(246, 131, 32, .7)); animation: faTrace 6s ease-in-out infinite;
}
@keyframes faTrace { 0% { stroke-dashoffset: 100; opacity: 1; } 55% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fiber-art__marker { fill: #fff; opacity: 0; animation: faMarker 6s ease-in-out infinite; }
.fiber-art__marker--2 { animation-name: faMarker2; }
@keyframes faMarker { 0%, 30% { opacity: 0; } 36%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes faMarker2 { 0%, 48% { opacity: 0; } 54%, 85% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .fiber-art__pulse { display: none; }
  .fiber-art__trace { stroke-dashoffset: 0; animation: none; }
  .fiber-art__marker { opacity: 1; animation: none; }
}
.page-hero__split .page-hero__title { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.4rem); overflow-wrap: anywhere; }
/* solid panel so the animated hero background does not run through the illustration */
.art-panel {
  position: relative; z-index: 1; max-width: 560px; margin-inline: auto; padding: clamp(18px, 3vw, 32px);
  border-radius: var(--radius-l); border: 1px solid rgba(255, 255, 255, .1);
  background: radial-gradient(420px 260px at 50% 30%, rgba(246, 131, 32, .1), transparent 70%), linear-gradient(160deg, #0E2740, var(--color-night));
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.art-panel .fiber-art__otdr { fill: rgba(255, 255, 255, .03); }

/* ---------- Animated network diagram (/dla-biznesu hero) ---------- */
.net-art { display: block; width: 100%; height: auto; overflow: visible; }
.net-art__city { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; stroke-dasharray: 6 6; }
.net-art__city-label { fill: var(--color-on-dark-muted); font-family: var(--font-body); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.net-art__link { fill: none; stroke: rgba(246, 131, 32, .55); stroke-width: 3; stroke-linecap: round; }
.net-art__link--far { stroke: rgba(255, 188, 125, .6); stroke-dasharray: 10 6; }
.net-art__link--up { stroke: rgba(59, 130, 246, .6); }
.net-art__pulse {
  fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 92; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 4px #FFBC7D) drop-shadow(0 0 9px #F68320); animation: faPulse 2.4s linear infinite;
}
.net-art__pulse--2 { animation-duration: 2.8s; animation-delay: -1s; }
.net-art__pulse--3 { animation-duration: 2.2s; animation-delay: -.5s; }
.net-art__pulse--4 { animation-duration: 3s; animation-delay: -1.8s; }
.net-art__pulse--far { animation-duration: 3.4s; animation-delay: -.8s; }
.net-art__pulse--up { animation-duration: 2s; animation-delay: -1.3s; filter: drop-shadow(0 0 4px #93C5FD) drop-shadow(0 0 9px #3B82F6); }
.net-art__tag { fill: var(--color-primary-light); font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.net-art__node circle { fill: var(--color-dark); stroke: var(--color-primary); stroke-width: 3; filter: drop-shadow(0 0 10px rgba(246, 131, 32, .45)); }
.net-art__node--far circle { stroke: var(--color-primary-light); }
.net-art__node--up circle { stroke: #3B82F6; filter: drop-shadow(0 0 12px rgba(59, 130, 246, .5)); }
.net-art__node text { fill: #fff; font-family: var(--font-heading); font-size: 17px; font-weight: 700; paint-order: stroke; stroke: var(--color-night); stroke-width: 4px; stroke-linejoin: round; }
.net-art__node .net-art__speed { fill: #93C5FD; font-size: 13px; font-weight: 800; }
.net-art__node circle { transform-box: fill-box; transform-origin: center; animation: naNode 3s ease-in-out infinite; }
.net-art__node:nth-of-type(2n) circle { animation-delay: -1.5s; }
@keyframes naNode { 0%, 100% { stroke-width: 3; } 50% { stroke-width: 5; } }
@media (prefers-reduced-motion: reduce) { .net-art__pulse { display: none; } .net-art__node circle { animation: none; } }

/* ---------- Business page blocks ---------- */
.icon-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.icon-card__link {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: var(--radius-l); text-decoration: none; color: inherit;
  background: var(--color-surface-alt); border: 1px solid var(--color-line); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
@media (hover: hover) { .icon-card__link:hover { transform: translateY(-4px); border-color: rgba(246, 131, 32, .5); box-shadow: 0 24px 44px -30px rgba(11, 32, 53, .5); } }
.icon-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; background: var(--color-dark); color: var(--color-primary); }
.icon-card--new .icon-card__icon { background: var(--color-primary); color: var(--color-dark); }
.icon-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.icon-card__badge { padding: 2px 8px; border-radius: 999px; background: var(--color-primary-light); font-family: var(--font-body); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--color-dark); }
.icon-card__text { font-size: .95rem; line-height: 1.55; color: var(--color-secondary); }
.icon-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--color-primary-text); }

.compare { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .compare { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.compare__col { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); }
.compare__col--hl { background: linear-gradient(160deg, var(--color-dark-2), var(--color-night)); border-color: transparent; color: #fff; }
.compare__title { margin: 0 0 10px; font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.compare__col--hl .compare__title { color: #fff; }
.compare__label { margin: 0 0 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-text); }
.compare__col--hl .compare__label { color: var(--color-primary-light); }
.compare__for { margin: 0 0 18px; color: var(--color-secondary); line-height: 1.5; }
.compare__col--hl .compare__for { color: var(--color-on-dark); }
.compare__col--hl .checklist li { color: var(--color-on-dark); }
.compare__col--hl .checklist .icon { color: var(--color-primary); }

.biz-transfer { display: grid; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-l); color: #fff;
  background: radial-gradient(500px 300px at 90% 10%, rgba(246, 131, 32, .16), transparent 60%), linear-gradient(160deg, #102A44, var(--color-night)); }
@media (min-width: 1024px) { .biz-transfer { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; } }
.biz-transfer .section__eyebrow { color: var(--color-primary-light); }
.biz-transfer .section__title { color: #fff; }
.biz-transfer .section__lede { color: var(--color-on-dark); }
.biz-transfer .checklist li { color: var(--color-on-dark); }
.biz-transfer .checklist .icon { color: var(--color-primary); }

.steps-row { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.steps-row li { counter-increment: step; position: relative; padding: 24px 22px 22px; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); }
.steps-row li::before { content: "0" counter(step); display: block; margin-bottom: 10px; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--color-primary); }
.steps-row h3 { margin: 0 0 6px; font-size: var(--step-0); font-weight: 800; color: var(--color-dark); }
.steps-row p { margin: 0; font-size: .95rem; color: var(--color-secondary); line-height: 1.5; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { border-radius: var(--radius-m); background: var(--color-surface); border: 1px solid var(--color-line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; color: var(--color-dark); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-surface-alt); color: var(--color-primary-text); font-size: 1.2rem; transition: transform .3s var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 20px 20px; color: var(--color-secondary); line-height: 1.6; }
.biz-care { margin-top: 24px; }
.check-card__title .icon { color: var(--color-primary); vertical-align: -3px; margin-right: 4px; }
.check-card__lede { margin: -4px 0 16px; color: var(--color-secondary); line-height: 1.55; }
.check-card--dark .check-card__lede { color: var(--color-on-dark-muted); }
.biz-it { display: grid; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 576px) { .biz-it { grid-template-columns: 1fr 1fr; } }
.check-card--dark .compare__label { color: var(--color-primary-light); }
.biz-it__list { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: var(--step--1); color: var(--color-on-dark); }
.biz-mon { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; padding-top: 0; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.biz-mon img { width: calc(100% + 2 * clamp(20px, 3vw, 32px)); max-width: none; height: 200px; object-fit: cover; margin: 0 calc(-1 * clamp(20px, 3vw, 32px)) 20px; }
@media (hover: hover) { .biz-mon:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(11, 32, 53, .5); } }

/* ---------- Phone: promo visual on the home page ---------- */
.promo__visual--mobile { top: 14px; right: 18px; width: 64px; }
.phone { position: relative; display: block; width: 52px; margin-left: auto; transform: rotate(8deg); transition: transform .6s var(--ease-out); animation: cardFloat 4s ease-in-out infinite alternate; }
.phone__body {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; width: 52px; height: 88px;
  border-radius: 12px; border: 3px solid var(--color-primary-light); background: linear-gradient(160deg, var(--color-dark-2), var(--color-night));
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .7);
}
.phone__notch { position: absolute; top: 4px; left: 50%; width: 14px; height: 3px; margin-left: -7px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.phone__inf { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; line-height: 1; color: var(--color-primary); text-shadow: 0 0 10px rgba(246, 131, 32, .7); }
.phone__bars { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.phone__bars i { display: block; width: 4px; border-radius: 1px; background: var(--color-primary-light); transform-origin: bottom; animation: signal 1.8s ease-in-out infinite; }
.phone__bars i:nth-child(1) { height: 5px; }
.phone__bars i:nth-child(2) { height: 8px; animation-delay: .15s; }
.phone__bars i:nth-child(3) { height: 11px; animation-delay: .3s; }
.phone__bars i:nth-child(4) { height: 14px; animation-delay: .45s; }
@keyframes signal { 0%, 100% { opacity: .35; } 40% { opacity: 1; } }
.phone__ring { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: 2px solid var(--color-primary); opacity: 0; animation: ring 2.8s ease-out infinite; }
.phone__ring--2 { animation-delay: 1.4s; }
@keyframes ring { 0% { transform: scale(.8); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
.promo:hover .phone { transform: rotate(0deg) scale(1.1); }
.promo:has(.promo__visual--mobile) .promo__title { padding-right: 92px; }
@media (max-width: 1279px) and (min-width: 1100px) {
  .promo__visual--mobile { transform: scale(.8); transform-origin: top right; }
  .promo:has(.promo__visual--mobile) .promo__title { padding-right: 70px; }
}
@media (prefers-reduced-motion: reduce) { .phone, .phone__bars i, .phone__ring { animation: none; } .phone__ring { display: none; } }

/* ---------- Promotions page ---------- */
.deal-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .deal-grid .deal:first-child { grid-column: 1 / -1; } }
.deal { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--color-line); background: var(--color-surface); }
.deal__badge { margin: 0; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--color-surface-alt); color: var(--color-secondary); }
.deal__title { margin: 0; font-size: var(--step-2); font-weight: 800; line-height: 1.15; color: var(--color-dark); max-width: 24ch; }
.deal__text { margin: 0; line-height: 1.55; color: var(--color-secondary); }
.deal__price { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); }
.deal__price strong { font-size: var(--step-4); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--color-primary-dark); }
.deal__price s { margin-left: 8px; color: var(--color-muted); font-weight: 400; }
.deal__price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--step--1); color: var(--color-muted); }
.deal__note { margin: 0; font-size: var(--step--1); color: var(--color-muted); }
.deal__valid { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--color-dark); }
.deal__valid .icon { color: var(--color-primary-dark); }
.deal__actions { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.deal__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-dark); }
.deal__link:hover { color: var(--color-primary-text); }
.deal--orange { border-color: transparent; background: linear-gradient(150deg, #FFA24D 0%, var(--color-primary) 45%, var(--color-primary-dark) 100%); box-shadow: 0 30px 60px -34px rgba(246, 131, 32, .7); }
.deal--orange .deal__badge { background: var(--color-dark); color: var(--color-primary-light); }
.deal--orange .deal__text, .deal--orange .deal__note, .deal--orange .deal__price small, .deal--orange .deal__price s { color: rgba(11, 32, 53, .85); }
.deal--orange .deal__price strong { color: var(--color-dark); }
.deal--orange .btn--primary { --btn-bg: var(--color-dark); color: #fff; box-shadow: none; }
.deal--orange .btn--primary:hover { --btn-bg: var(--color-night); }
.deal--dark { border-color: transparent; background: linear-gradient(160deg, var(--color-dark-2), var(--color-night)); }
.deal--dark .deal__badge { background: rgba(246, 131, 32, .2); color: var(--color-primary-light); }
.deal--dark .deal__title, .deal--dark .deal__valid, .deal--dark .deal__link, .deal--dark .deal__price { color: #fff; }
.deal--dark .deal__text, .deal--dark .deal__note, .deal--dark .deal__price small, .deal--dark .deal__price s { color: var(--color-on-dark-muted); }
.deal--dark .deal__price strong { color: var(--color-primary-light); }
.deal--dark .deal__link:hover { color: var(--color-primary-light); }

/* ---------- Phone page ---------- */
/* mobile offer: dark stage */
.stage {
  position: relative; padding: clamp(36px, 4.5vw, 64px) 0; color: #fff;
  background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-night) 100%);
}
.stage .section__title { color: #fff; }
.stage .section__lede { color: var(--color-on-dark-muted); }
/* two dark stages in a row read as one block: no seam between the gradients, no doubled padding */
.stage + .stage { padding-top: 0; background: var(--color-night); }
.stage__note { margin: 20px 0 0; color: var(--color-on-dark-muted); }
.stage__note a { color: var(--color-primary-light); font-weight: 700; }
.stage__note--light { color: var(--color-secondary); }

/* tariff cards: the data allowance and the price are the two big numbers */
.mcards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .mcards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.mcard {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
@media (hover: hover) { .mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); } }
.mcard__data {
  position: relative; flex: none; padding: 18px 16px 20px; color: #fff;
  background: radial-gradient(240px 160px at 85% 0%, rgba(246, 131, 32, .35), transparent 70%), linear-gradient(160deg, var(--color-dark-2), var(--color-night));
}
.mcard__kind { margin: 0; font-size: var(--step--1); font-weight: 700; color: var(--color-primary-light); }
.mcard__gb { margin: 6px 0 0; font-family: var(--font-heading); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-weight: 800; line-height: 1; color: var(--color-primary-light); }
.mcard__gb strong { font-size: clamp(2.8rem, 2.2rem + 2.4vw, 4.2rem); letter-spacing: -.03em; color: #fff; }
.mcard__gb--word strong { font-size: clamp(2rem, 1.7rem + 1.4vw, 2.8rem); }
.mcard__sub { margin: 6px 0 0; font-size: .88rem; line-height: 1.4; color: var(--color-on-dark-muted); }
.mcard__bar { display: block; width: 100%; height: 5px; margin-top: 14px; border: 0; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .14); -webkit-appearance: none; appearance: none; }
.mcard__bar::-webkit-progress-bar { background: rgba(255, 255, 255, .14); }
.mcard__bar::-webkit-progress-value { border-radius: 5px; background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary)); box-shadow: 0 0 10px rgba(246, 131, 32, .8); }
.mcard__bar::-moz-progress-bar { border-radius: 5px; background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary)); }
.mcard__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 16px; }
.mcard__price { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); }
.mcard__price strong { font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--color-primary-dark); }
.mcard__price small { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--color-muted); }
.mcard__calls { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: .88rem; line-height: 1.35; color: var(--color-secondary); }
.mcard__calls .icon { flex: none; margin-top: .15em; color: var(--color-primary-dark); }
.mcard__multi { margin: auto 0 0; padding: 10px 12px; display: grid; gap: 3px; border-radius: var(--radius-m); background: #FFF4EA; font-size: .85rem; }
.mcard__multi div { display: flex; justify-content: space-between; gap: 8px; }
.mcard__multi dt { color: var(--color-secondary); }
.mcard__multi dd { margin: 0; font-weight: 800; color: var(--color-dark); }

/* START: pay-as-you-go, spans the full width on small screens */
@media (max-width: 1023px) {
  .mcard--start { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mcard--start .mcard__data { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 479px) { .mcard--start { grid-template-columns: 1fr; } }

/* perks: bento */
.perks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 56px; } }
.perk { position: relative; overflow: hidden; padding: 18px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.perk:nth-child(1), .perk:nth-child(6) { grid-column: span 2; }
@media (min-width: 900px) { .perk { padding: 26px; } }
.perk::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(246, 131, 32, .2), transparent 45%); }
.perk:hover::before { opacity: 1; }
.perk > * { position: relative; }
.perk__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: rgba(246, 131, 32, .18); color: var(--color-primary); }
.perk__title { margin: 0 0 4px; font-size: var(--step-0); font-weight: 800; line-height: 1.2; color: #fff; }
.perk:nth-child(1) .perk__title, .perk:nth-child(6) .perk__title { font-size: var(--step-1); }
.perk__text { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--color-on-dark-muted); }

/* landline: quieter, light */
.landline__grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .landline__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; } }
.landline__intro .checklist { margin-top: 20px; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--color-line); font-variant-numeric: tabular-nums; }
.spec th:first-child, .spec td:first-child { text-align: left; }
.spec thead th { font-size: var(--step--1); font-weight: 500; color: var(--color-muted); }
.spec tbody th { font-family: var(--font-heading); font-weight: 800; color: var(--color-dark); }
.spec td strong { font-family: var(--font-heading); font-size: var(--step-1); color: var(--color-dark); }
@media (max-width: 639px) {
  .spec, .spec tbody { display: block; }
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
  .spec th, .spec td { display: block; padding: 0; border: 0; text-align: left; }
  .spec tbody th { grid-column: 1 / -1; margin-bottom: 8px; }
  .spec td::before { content: attr(data-label); display: block; font-size: .72rem; line-height: 1.2; color: var(--color-muted); }
}
.landline__rates-title { margin: 32px 0 14px; font-size: var(--step-0); font-weight: 800; color: var(--color-dark); }
.rates { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
@media (min-width: 640px) { .rates { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rates > div { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 3px solid var(--color-primary); }
.rates dt { font-size: var(--step--1); color: var(--color-secondary); }
.rates dd { margin: 0; color: var(--color-dark); }
.rates strong { font-family: var(--font-heading); font-size: var(--step-2); font-weight: 800; }

.stage__note--light a { color: var(--color-dark); }

/* ---------- TV page ---------- */
@media (min-width: 1024px) { .mcards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* internet page: plan perks as chips, links inside perk cards */
.mcard__gifts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mcard__gifts li { padding: 3px 10px; border-radius: 999px; background: var(--color-surface-alt); color: var(--color-dark); font-size: .75rem; font-weight: 700; line-height: 1.4; }
.perk .mcard__btn { margin-top: 12px; color: var(--color-primary-light); }
.perk .mcard__btn:hover { color: #fff; }
/* internet page: five wide plan cards wrap 3 + 2 and stay centred */
.mcards--plans { grid-template-columns: 1fr; }
@media (min-width: 576px) { .mcards--plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .mcards--plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .mcards--plans .mcard { flex: 0 1 calc((100% - 32px) / 3); }
}
.mcard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; color: var(--color-secondary); }
.mcard__list li { display: flex; gap: 6px; align-items: flex-start; line-height: 1.35; }
.mcard__list .icon { flex: none; margin-top: .15em; color: var(--color-primary-dark); }
.mcard__btn { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .9rem; color: var(--color-dark); }
.mcard__btn:hover { color: var(--color-primary-text); }
.perks--plain .perk:nth-child(n) { grid-column: auto; }
.perks--plain .perk:nth-child(n) .perk__title { font-size: var(--step-0); }
.perks--plain { margin-top: 28px; }

.addons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .addons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .addon--wide { grid-column: span 2; } }
.addon { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius-l); background: var(--color-surface); border: 1px solid var(--color-line); box-shadow: 0 1px 0 rgba(11, 32, 53, .04); }
.addon__head { display: flex; flex-direction: column; gap: 2px; }
.addon__name { margin: 0; font-family: var(--font-heading); font-size: var(--step-1); font-weight: 800; line-height: 1.2; color: var(--color-dark); }
.addon__meta { margin: 0; font-size: .85rem; color: var(--color-muted); }
.addon__logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.addon--wide .addon__logos { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.addon__logos li { display: grid; place-items: center; height: 64px; padding: 8px 12px; border-radius: 14px; background: var(--color-surface-alt); border: 1px solid var(--color-line); }
.addon__logos img { max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; }
.addon__more { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--color-secondary); }
.addon__price { margin: auto 0 0; font-family: var(--font-heading); font-weight: 700; color: var(--color-dark); }
.addon__price strong { font-size: var(--step-3); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--color-primary-dark); }
.addon__price small { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--color-muted); }


/* TV: channel categories in the list dialog, pictograms of add-on packages */
.channels__cats { flex: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px; max-height: 38vh; overflow-y: auto; border-bottom: 1px solid var(--color-line); background: var(--color-surface); }
@media (min-width: 768px) { .channels__cats { padding: 12px 32px; } }
.channels__chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--color-line); background: var(--color-surface); font: inherit; font-size: .88rem; font-weight: 700; color: var(--color-dark);
  transition: background-color .2s, color .2s, border-color .2s;
}
.channels__chip span { font-size: .75rem; font-weight: 700; color: var(--color-muted); }
.channels__chip:hover { border-color: var(--color-dark); }
.channels__chip:focus-visible { outline: 3px solid var(--color-dark); outline-offset: 2px; box-shadow: 0 0 0 5px var(--color-surface); }
.channels__chip[aria-pressed="true"] { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.channels__chip[aria-pressed="true"] span { color: var(--color-primary-light); }
/* phones: everything above the list shrinks (categories in one swipeable row) so the channels get most of the screen */
@media (max-width: 767px) {
  .channels__head { align-items: center; padding: 10px 12px 10px 16px; }
  .channels__eyebrow { display: none; }
  .channels__title { font-size: var(--step-1); }
  .channels__sub { margin-top: 2px; }
  .channels__close { width: 40px; height: 40px; }
  .channels__search { padding: 8px 16px; }
  .channels__search input { padding: 8px 14px; }
  .channels__cats {
    flex-wrap: nowrap; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 8px 16px; scroll-padding-inline: 16px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .channels__cats::-webkit-scrollbar { display: none; }
  .channels__chip { padding: 6px 12px; font-size: .84rem; }
  .channels__body { padding: 0 16px 16px; }
  .channels__cat { padding: 10px 0 6px; }
  .channels__foot { padding: 8px 16px; font-size: .75rem; line-height: 1.4; }
}




/* notes under tariff/package lists: use the full container width and do not break links in the middle */
.stage__note { max-width: none; text-wrap: pretty; }
.stage__note a { white-space: nowrap; }
.stage__note + .stage__note { margin-top: 8px; }

/* package cards: fees, real price footer, recommended */
.mcard__price small { margin-left: 4px; }
.mcard__fees { margin: 4px 0 6px; display: grid; gap: 0; font-size: .85rem; }
.mcard__fees div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--color-line); }
.mcard__fees div:first-child { border-top: 1px dashed var(--color-line); }
.mcard__fees dt { color: var(--color-secondary); }
.mcard__fees dd { margin: 0; flex: none; text-align: right; font-weight: 700; color: var(--color-dark); }
.mcard__real { flex: none; padding: 16px; color: #fff; background: radial-gradient(240px 120px at 100% 100%, rgba(246, 131, 32, .35), transparent 70%), linear-gradient(160deg, var(--color-dark-2), var(--color-night)); }
.mcard__real-label { margin: 0; font-size: .8rem; font-weight: 700; line-height: 1.3; color: var(--color-primary-light); }
.mcard__real-price { margin: 4px 0 0; font-family: var(--font-heading); font-weight: 700; color: #fff; }
.mcard__real-price strong { font-size: clamp(2rem, 1.7rem + 1.2vw, 2.7rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.mcard__real-price small { margin-left: 4px; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--color-on-dark-muted); }
.mcard__real-sub { margin: 4px 0 0; font-size: .8rem; color: var(--color-on-dark-muted); }

.mcard--featured { border: 2px solid var(--color-primary); box-shadow: 0 24px 50px -26px rgba(246, 131, 32, .9); }
@media (min-width: 1024px) { .mcard--featured { transform: translateY(-10px); } }
@media (hover: hover) { .mcard--featured:hover { transform: translateY(-14px); } }
.mcard__badge { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 999px; background: var(--color-primary); color: var(--color-dark); font-size: .75rem; font-weight: 800; box-shadow: 0 6px 16px -6px rgba(246, 131, 32, .9); }
.price-card__sub { margin: -8px 0 16px; color: var(--color-on-dark-muted); font-size: var(--step--1); }
.price-card__sub strong { color: #fff; }
.mcard__price-label { margin: 0 0 2px; font-size: .78rem; font-weight: 700; color: var(--color-muted); }

.price-card--tv .price-card__price { margin-bottom: 20px; }
.price-card__price--soft { font-size: clamp(2rem, 1.6rem + 1.8vw, 2.8rem); }
.price-card__label--accent { margin-top: 4px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--color-primary-light); font-weight: 700; }
.price-card__note { margin: -8px 0 0; color: var(--color-on-dark-muted); font-size: var(--step--1); }

/* TV hero price card: a light runs along the border, the highlighted price glows, a sweep crosses the card */
.price-card__num { font-weight: inherit; }
@media (prefers-reduced-motion: no-preference) {
  @property --pc-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
  .price-card--tv::before {
    content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; pointer-events: none;
    background: conic-gradient(from var(--pc-angle), transparent 0 62%, var(--color-primary) 80%, #fff 92%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: pcSpin 4.5s linear infinite;
  }
  @keyframes pcSpin { to { --pc-angle: 360deg; } }
  .price-card--tv::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .14) 50%, transparent 62%) 160% 0 / 300% 100% no-repeat;
    animation: pcSweep 5.5s ease-in-out 1.6s infinite;
  }
  @keyframes pcSweep { 0%, 55% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
}

/* price digits: an orange light runs through them and the price gently pulses */
@media (prefers-reduced-motion: no-preference) {
  .price-card .price-card__num { display: inline-block; transform-origin: 0 60%; animation: pricePulse 2.4s ease-in-out infinite; }
  .price-card__price--soft .price-card__num { animation-name: pricePulseSoft; }
  .price-card__price--hot .price-card__num { animation-delay: .5s; }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .price-card .price-card__num {
      color: transparent; -webkit-background-clip: text; background-clip: text;
      background-image: linear-gradient(100deg, #fff 0 36%, var(--color-primary-light) 44%, var(--color-primary) 50%, var(--color-primary-light) 56%, #fff 64% 100%);
      background-size: 280% 100%; background-position: 100% 0; background-repeat: no-repeat;
      animation: pricePulse 2.4s ease-in-out infinite, priceLight 3.6s ease-in-out infinite;
      filter: drop-shadow(0 0 12px rgba(246, 131, 32, .4));
    }
    .price-card__price--soft .price-card__num { animation-name: pricePulseSoft, priceLight; }
    .price-card__price--hot .price-card__num { animation-delay: .5s, .7s; }
  }
  @keyframes pricePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
  @keyframes pricePulseSoft { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
  @keyframes priceLight { 0%, 25% { background-position: 100% 0; } 75%, 100% { background-position: 0% 0; } }
}

/* home hero on phones: one full-width offer at a time, rotating by itself (JS adds the dots and the autoplay) */
.promos__dots { display: none; }
@media (max-width: 699px) {
  .promos { scroll-behavior: smooth; overscroll-behavior-x: contain; }
  .promos .promo { scroll-snap-stop: always; transition: transform .6s var(--ease-out), opacity .6s, box-shadow .5s; }
  .promos.is-enhanced .promo:not(.is-active) { opacity: .55; transform: scale(.95); }
  .promos__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .promos__dot { position: relative; width: 28px; height: 6px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: rgba(255, 255, 255, .28); }
  .promos__dot::before { content: ""; position: absolute; inset: -12px -2px; } /* bigger touch target */
  .promos__dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--color-primary); transform: scaleX(0); transform-origin: left; }
  .promos__dot.is-active::after { transform: scaleX(1); animation: dotFill 5.2s linear; }
  .promos__dots.is-paused .promos__dot.is-active::after { animation: none; }
  .promos__dot:focus-visible { outline: 3px solid var(--color-dark); outline-offset: 2px; box-shadow: 0 0 0 5px var(--color-surface); }
  @keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .promos__dot.is-active::after { animation: none; } .promos { scroll-behavior: auto; } }

/* Home: heading above the embedded configurator, sharing its background */
.home-config { background: var(--color-surface-alt); padding-bottom: 0; }
.home-config .section__head { margin-bottom: 0; }
.home-config + .configurator { padding-top: clamp(20px, 3vw, 32px); }
.section__kicker { margin: 0 0 8px; font-size: var(--step--1); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-text); }

/* ---------- Accessibility: panel in the top bar and the modes it switches on <html> ---------- */
.topbar__a11y { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--color-on-dark); }
.topbar__a11y:hover, .topbar__a11y[aria-expanded="true"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar__a11y .icon { color: var(--color-primary-light); }

.a11y {
  position: fixed; z-index: 1000; top: 12px; right: 12px; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow-y: auto;
  padding: 20px; border-radius: var(--radius-l); border: 2px solid var(--color-dark); background: var(--color-surface); color: var(--color-ink);
  box-shadow: 0 30px 70px -20px rgba(7, 23, 38, .6);
}
.a11y[hidden] { display: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.a11y__title { margin: 0; font-family: var(--font-heading); font-size: var(--step-1); font-weight: 800; color: var(--color-dark); }
.a11y__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--color-border-strong); background: var(--color-surface); color: var(--color-dark); cursor: pointer; }
.a11y__group { margin: 0 0 18px; }
.a11y__label { margin: 0 0 8px; font-weight: 700; color: var(--color-dark); }
.a11y__size { display: flex; align-items: center; gap: 10px; }
.a11y__value { min-width: 4.5ch; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--color-dark); }
.a11y__btn {
  min-height: 44px; padding: 8px 16px; border-radius: var(--radius-s); border: 2px solid var(--color-border-strong); background: var(--color-surface);
  font: inherit; font-weight: 700; color: var(--color-dark); cursor: pointer;
}
.a11y__btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.a11y__btn[aria-pressed="true"] { border-color: var(--color-dark); background: var(--color-dark); color: #fff; }
.a11y__choices { display: grid; gap: 8px; }
@media (min-width: 420px) { .a11y__choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.a11y__btn--choice { text-align: center; line-height: 1.25; }
.a11y__btn--dark:not([aria-pressed="true"]) { background: #000; border-color: #000; color: #FFD400; }
.a11y__btn--light:not([aria-pressed="true"]) { background: #fff; border-color: #000; color: #000; }
.a11y__toggles { display: grid; gap: 8px; }
.a11y__toggle {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-s); border: 2px solid var(--color-border-strong);
  background: var(--color-surface); font: inherit; font-weight: 600; text-align: left; color: var(--color-dark); cursor: pointer;
}
.a11y__switch { position: relative; flex: none; width: 44px; height: 24px; border-radius: 999px; background: var(--color-border-strong); }
.a11y__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.a11y__toggle[aria-pressed="true"] { border-color: var(--color-dark); }
.a11y__toggle[aria-pressed="true"] .a11y__switch { background: var(--color-dark); }
.a11y__toggle[aria-pressed="true"] .a11y__switch::after { transform: translateX(20px); }
.a11y__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--color-line); }
.a11y__reset { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--color-primary-text); text-decoration: underline; cursor: pointer; }
.a11y__link { font-weight: 700; color: var(--color-dark); }
@media (prefers-reduced-motion: reduce) { .a11y__switch::after { transition: none; } }

/* Underlined links, wider text spacing (WCAG 1.4.12 values), plain font */
html[data-links="underline"] a:not(.btn) { text-decoration: underline !important; text-underline-offset: .2em; }
/* Wider text spacing applies to running text only (paragraphs, list items, definitions, table cells), not to interface chrome
   (buttons, cards, option tiles, receipts, menus), whose fixed sizes would break; line-height 1.6, letter 0.05em, word 0.12em */
html[data-spacing="wide"] :is(main, footer) :is(p, li, dd, dt, td, th, summary, blockquote, figcaption):not(
  :is(.opt, .mcard, .promo, .receipt, .chip, .segmented, .stepper, .btn, .avail, .avail-panel, .tile, .perk, .addon, .stat, .nav, .mega, .a11y,
      .dc-card, .channels, .steps, .bento, .plans, .hours, .field, .review, .promos, .cam, .hero__actions, .phone, .tag-list, .dc-facts) *,
  :is(.opt, .mcard, .promo, .chip, .tile, .perk, .stat, .btn)) {
  line-height: 1.6;
  letter-spacing: .05em;
  word-spacing: .12em;
}
html[data-spacing="wide"] :is(main, footer) :is(p, li):not(:is(.opt, .mcard, .promo, .receipt, .chip, .segmented, .stepper, .btn, .avail, .tile, .perk, .addon, .stat, .nav, .mega, .a11y, .steps, .field) *) { margin-bottom: .6em; }
html[data-font="plain"] { --font-heading: Arial, Helvetica, system-ui, sans-serif; --font-body: Arial, Helvetica, system-ui, sans-serif; }

/* Stopped animations: no CSS animation or transition, no smooth scrolling; the canvas and sliders stop in main.js */
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* High contrast: yellow on black or black on white. A blanket override (low specificity through :where, but !important) so that
   gradients, shadows and every component colour give way; selected and focused states are restored below. */
html[data-contrast="dark"] { --hc-bg: #000; --hc-fg: #fff; --hc-link: #FFD400; --hc-on-link: #000; color-scheme: dark; }
html[data-contrast="light"] { --hc-bg: #fff; --hc-fg: #000; --hc-link: #0A2A8A; --hc-on-link: #fff; color-scheme: light; }
html[data-contrast] :where(*) { color: var(--hc-fg) !important; border-color: var(--hc-fg) !important; text-shadow: none !important; box-shadow: none !important; outline-color: var(--hc-link); }
html[data-contrast] :where(*:not(img, svg, svg *, canvas, video, iframe, picture, source)) { background: var(--hc-bg) !important; }
html[data-contrast] :where(a, a *) { color: var(--hc-link) !important; text-decoration: underline !important; }
html[data-contrast] :where(.btn, button[type="submit"], .a11y__btn[aria-pressed="true"], .a11y__toggle[aria-pressed="true"] .a11y__switch) { background: var(--hc-link) !important; color: var(--hc-on-link) !important; border-color: var(--hc-link) !important; }
html[data-contrast] :where(.btn *, button[type="submit"] *) { color: var(--hc-on-link) !important; background: transparent !important; text-decoration: none !important; }
html[data-contrast] :where(.btn) { text-decoration: none !important; }
html[data-contrast] :where(canvas, .hero__glow, .scroll-fiber, .brand__trace, .bundle__rays) { display: none !important; }
html[data-contrast] .site-header::before { display: none; }
/* overlays stacked above the text (whole-tile link, glare, streaks) must stay see-through */
html[data-contrast] :where(.promo__hit, .promo__glare, .promo__visual--speed) { background: transparent !important; }
html[data-contrast] :where(input, select, textarea) { border: 2px solid var(--hc-fg) !important; }
html[data-contrast] :focus-visible { outline: 4px solid var(--hc-link) !important; outline-offset: 3px !important; }
html[data-contrast] :where(input:checked + *, [aria-pressed="true"], [aria-current], [aria-selected="true"], .is-active, .is-current, .is-included) { outline: 3px solid var(--hc-link); outline-offset: -3px; }
html[data-contrast="light"] .brand__logo { filter: brightness(0); }
html[data-contrast] :where(.a11y, .a11y *) { outline-color: var(--hc-link); }

/* Text pages (policy, accessibility statement, pre-contract): same container width as every page; only running text keeps a readable line length */
.prose .section__title { margin-top: clamp(28px, 4vw, 44px); font-size: var(--step-2); }
.prose .section__title:first-child { margin-top: 0; }
.prose p { line-height: 1.7; }

/* Text enlarged to 130% or more: the header switches to the compact (menu button) layout it uses on narrow screens */
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav-toggle { display: grid; place-items: center; }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav {
    position: fixed; inset: 112px 0 auto; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 16px 24px; background: rgba(7, 23, 38, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease-out), visibility 0s .5s;
  }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease-out); }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__list { flex-direction: column; }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__link { padding: 14px 4px; font-size: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__link::after { display: none; }

html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav { bottom: 0; overflow-y: auto; justify-content: space-between; }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__group { border-bottom: 1px solid rgba(255, 255, 255, .08); }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__trigger { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.2rem; border-bottom: 0; }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega__grid { overflow: hidden; min-height: 0; }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__trigger[aria-expanded="true"] + .mega { grid-template-rows: 1fr; }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega__grid > li:last-child { margin-bottom: 12px; }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .mega__link { color: var(--color-on-dark); }
html:is([data-fs="2"], [data-fs="3"], [data-fs="4"]) .nav__actions { flex-direction: column; align-items: stretch; padding-top: 16px; }

/* Reflow at 320 px and with enlarged text (WCAG 1.4.10): no horizontal scrolling of the page */
.landline__prices { overflow-x: auto; }
@media (max-width: 340px) { .opts--internet, .opts--tv, .opts--landline { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; } }
.segmented { flex-wrap: wrap; }
.configurator__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .configurator__grid { grid-template-columns: minmax(0, 1fr) 380px; } }
.config-form, .receipt { min-width: 0; }
.steps > li, .step__body, .opts > * { min-width: 0; }
.step__body { max-width: 100%; }
.opt__box { overflow-wrap: anywhere; }

/* Top bar on phones: phone number and accessibility button only, the rest would not fit */
@media (max-width: 699px) { .topbar__item--optional { display: none; } }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-on-dark-muted); }
.topbar__dot.is-open { background: #2FD07A; box-shadow: 0 0 0 3px rgba(47, 208, 122, .2); }
@media (max-width: 999px) { .topbar__item--wide { display: none; } }
/* "Lokalne wsparcie techniczne" only where it fits next to the longest office status ("…otwieramy w poniedziałek o 08:00") */
@media (max-width: 1239px) { .topbar__item--xl { display: none; } }

/* ---------- Configurator: pre-contract information, contact modal ---------- */
.receipt__pre { margin: 14px 0 12px; padding: 12px 14px; border-radius: var(--radius-s); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.receipt__terms { margin: 0 0 6px; font-size: .88rem; color: var(--color-on-dark); }
.receipt__pre-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--color-primary-light); text-decoration: underline; text-underline-offset: 3px; }
.receipt__pre-link:hover { color: #fff; }

.cfg-modal {
  width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--radius-l);
  background: var(--color-surface); color: var(--color-ink); box-shadow: 0 40px 80px -30px rgba(7, 23, 38, .6); overflow: auto;
}
.cfg-modal::backdrop { background: rgba(7, 23, 38, .7); backdrop-filter: blur(3px); }
.cfg-modal__panel, .cfg-modal__done { padding: clamp(20px, 4vw, 36px); }
.cfg-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cfg-modal__title { margin: 0; font-family: var(--font-heading); font-size: var(--step-2); font-weight: 800; color: var(--color-dark); }
.cfg-modal__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--color-border-strong); background: var(--color-surface); color: var(--color-dark); cursor: pointer; }
.cfg-modal__sum { margin: 0 0 6px; font-weight: 600; color: var(--color-dark); }
.cfg-modal .alert { margin: 12px 0; }
.cfg-modal .alert[hidden], .cfg-modal [hidden] { display: none; }
.cfg-modal__done { text-align: center; display: grid; justify-items: center; gap: 12px; }
.cfg-modal__done:focus { outline: none; }
.cfg-modal__done p { margin: 0; max-width: 46ch; color: var(--color-secondary); line-height: 1.6; }
.cfg-modal__tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E3F6EC; color: #137A43; }
.cfg-modal__tick .icon { width: 30px; height: 30px; }
.config-form__submit.is-busy, .config-form__submit:disabled { opacity: .6; cursor: progress; }
/* without JS the contact form is simply the last step of the page */
html:not(.js) .cfg-modal { display: block; position: static; width: 100%; max-height: none; margin: 24px 0 0; border-radius: var(--radius-l); box-shadow: none; border: 1px solid var(--color-line); }
html:not(.js) .cfg-modal__close { display: none; }
html:not(.js) .cfg-modal__done { display: none; }

/* Pre-contract information sheet */
.pre-doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1024px) { .pre-doc { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; } }
.pre-toc { padding: 18px 20px; border-radius: var(--radius-l); background: var(--color-surface-alt); border: 1px solid var(--color-line); font-size: var(--step--1); }
@media (min-width: 1024px) { .pre-toc { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; } }
.pre-toc__title { margin: 0 0 8px; font-weight: 800; color: var(--color-dark); }
.pre-toc__list, .pre-toc__list ol { margin: 0; padding-left: 18px; }
.pre-toc__list > li { margin-bottom: 8px; font-weight: 700; }
.pre-toc__list ol li { font-weight: 400; margin: 3px 0; }
.pre-toc a { color: var(--color-ink); text-decoration-color: var(--color-line); }
.pre-toc a:hover { color: var(--color-primary-text); }
.pre-toc__pdf { margin-top: 14px; width: 100%; justify-content: center; white-space: normal; text-align: left; line-height: 1.2; padding-inline: 1em; }
.pre-toc__pdf small { display: block; font-family: var(--font-body); font-size: .8em; font-weight: 500; }
.pre-provider { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 16px 20px; border-radius: var(--radius-m); border: 1px solid var(--color-line); background: var(--color-surface); }
.pre-provider p { margin: 0; line-height: 1.55; }
.pre-provider span, .pre-provider__date { color: var(--color-secondary); font-size: var(--step--1); }
.pre-provider__install { flex-basis: 100%; padding-top: 10px; border-top: 1px solid var(--color-line); }
.pre-provider__install strong { color: var(--color-dark); }
.pre-part { margin-top: 32px; }
.pre-part--summary { padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-l); border: 2px solid var(--color-dark); background: var(--color-surface); }
.pre-part__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 12px; font-size: var(--step-2); color: var(--color-dark); }
.pre-part__title span { padding: 2px 10px; border-radius: 999px; background: var(--color-primary); color: var(--color-dark); font-size: var(--step--1); font-weight: 800; }
.pre-intro { margin: 0 0 8px; color: var(--color-secondary); font-size: var(--step--1); }
.pre-sec { margin-top: 26px; scroll-margin-top: 110px; }
.pre-sec__title { display: flex; gap: 10px; align-items: baseline; margin: 0 0 6px; font-size: var(--step-1); color: var(--color-dark); }
.pre-sec__num { flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; background: var(--color-dark); color: #fff; font-size: .9rem; }
.pre-basis { margin: 0 0 10px; font-size: var(--step--1); color: var(--color-muted); }
.pre-note { font-size: var(--step--1); color: var(--color-secondary); }
.pre-list { margin: 0 0 12px; padding-left: 22px; }
.pre-list li { margin: 4px 0; line-height: 1.6; }
.pre-list--docs { list-style: none; padding-left: 0; }
.pre-list--docs li { display: flex; gap: 8px; align-items: flex-start; }
.pre-list--docs .icon { flex: none; margin-top: .25em; color: var(--color-primary-text); }
.pre-channels__title { margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--color-line); font-size: var(--step-0); }
.pre-channels__title small { font-weight: 400; color: var(--color-secondary); }
.pre-channels { margin: 0; padding: 0; list-style: none; columns: 3 130px; column-gap: 24px; font-size: var(--step--1); }
.pre-channels li { display: flex; gap: 8px; padding: 2px 0; break-inside: avoid; }
.pre-channels__num { flex: none; min-width: 2.4em; color: var(--color-secondary); font-variant-numeric: tabular-nums; }
.pre-table { margin: 10px 0 14px; }
.pre-table .is-num { text-align: right; white-space: nowrap; }
.pre-table .spec-table tbody th { white-space: normal; }
.pre-table .spec-table tfoot th, .pre-table .spec-table tfoot td { border-top: 2px solid var(--color-dark); }
.pre-sheet__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.pre-details { margin: 0; display: grid; gap: 4px; }
.pre-details__item { display: grid; gap: 2px 20px; padding: 12px 0; border-top: 1px solid var(--color-line); }
@media (min-width: 768px) { .pre-details__item { grid-template-columns: 210px minmax(0, 1fr); } }
.pre-details dt { font-weight: 700; color: var(--color-dark); }
.pre-details dd { margin: 0; line-height: 1.6; }
@media print {
  .topbar, .site-header, .site-footer, .a11y, .mobile-total, .skip-link, .no-print, .page-hero canvas { display: none !important; }
  .page-hero { background: none !important; color: #000 !important; padding: 0 !important; min-height: 0 !important; }
  .page-hero * { color: #000 !important; }
  .page-hero .breadcrumbs { display: none; }
  body { background: #fff !important; }
  a[href^="http"]::after, a[href^="/"]::after { content: none; }
  .pre-doc { display: block; }
  .pre-part--summary { border-width: 1px; break-inside: auto; }
  .pre-sec { break-inside: avoid-page; }
}

/* "Sprawdź także" — links to the other offer pages */
.related { background: var(--color-surface-alt); }
.related__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.related__link { display: flex; gap: 14px; align-items: center; height: 100%; padding: 16px 18px; border-radius: var(--radius-m); background: var(--color-surface); border: 1px solid var(--color-line); text-decoration: none; color: var(--color-ink); transition: border-color .25s, transform .35s var(--ease-out); }
.related__link:hover { border-color: var(--color-dark); transform: translateY(-2px); }
.related__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--color-dark); color: var(--color-primary-light); }
.related__text { display: grid; gap: 2px; }
.related__text strong { color: var(--color-dark); }
.related__text small { color: var(--color-secondary); font-size: .88rem; }
@media (prefers-reduced-motion: reduce) { .related__link { transition: none; } }
.privacy__date { margin: 0 0 8px; color: var(--color-secondary); font-size: var(--step--1); }

/* ---------- Cookie consent: bottom bar, settings dialog, click-to-load map ---------- */
.cookie-bar {
  position: fixed; z-index: 900; left: 12px; right: 12px; bottom: 12px; max-width: 1100px; margin-inline: auto; display: grid; gap: 14px; align-items: center;
  padding: clamp(16px, 2.4vw, 22px); border-radius: var(--radius-m); color: #fff; background: var(--color-night); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .65);
}
.cookie-bar[hidden] { display: none; }
@media (min-width: 900px) { .cookie-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; } }
.cookie-bar h2 { margin: 0 0 4px; font-size: var(--step-0); font-weight: 800; color: #fff; }
.cookie-bar p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--color-on-dark); }
.cookie-bar a { color: var(--color-primary-light); }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-bar .btn { padding: .65em 1.2em; font-size: .95rem; }
.cookie-bar .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.cookie-bar__more { padding: 8px 6px; border: 0; background: none; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.footer__cookies:hover { color: var(--color-primary-light); }

/* live chat: our launcher until tawk.to may load (after consent or a click), hidden while the cookie bar asks */
.chat { position: fixed; z-index: 800; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat[hidden], .cookie-bar:not([hidden]) ~ .chat { display: none; }
@media (max-width: 1099px) { body:has(.mobile-total.is-visible) .chat { bottom: 84px; } }
.chat__toggle {
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 50%;
  color: var(--color-dark); background: var(--color-primary); box-shadow: 0 16px 32px -12px rgba(7, 23, 38, .55); cursor: pointer;
}
.chat__toggle:hover { background: var(--color-primary-light); }
.chat__toggle .icon { width: 28px; height: 28px; }
.chat__panel {
  width: min(340px, calc(100vw - 32px)); padding: 20px; border-radius: var(--radius-m); color: var(--color-on-dark); background: var(--color-night);
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .65);
}
.chat__panel[hidden] { display: none; }
.chat__title { margin: 0 0 8px; font-size: var(--step-0); font-weight: 800; color: #fff; }
.chat__panel p { margin: 0 0 14px; font-size: .92rem; line-height: 1.5; }
.chat__panel a { color: var(--color-primary-light); }
.chat__error { font-weight: 700; color: var(--color-primary-light); }
.chat__start { width: 100%; margin-bottom: 14px; }
.chat__panel .chat__phone { margin: 0; }
.chat__phone a { white-space: nowrap; }

.cookie-dlg { width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--radius-l); background: var(--color-surface); color: var(--color-ink); box-shadow: 0 40px 80px -30px rgba(7, 23, 38, .6); overflow: auto; }
.cookie-dlg::backdrop { background: rgba(7, 23, 38, .7); backdrop-filter: blur(3px); }
.cookie-dlg__form { padding: clamp(20px, 4vw, 32px); display: grid; gap: 14px; }
.cookie-dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-dlg__head h2 { margin: 0; font-family: var(--font-heading); font-size: var(--step-2); font-weight: 800; color: var(--color-dark); }
.cookie-dlg__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--color-border-strong); background: var(--color-surface); color: var(--color-dark); cursor: pointer; }
.cookie-dlg__lead { margin: 0; color: var(--color-secondary); line-height: 1.55; }
.consent-cat { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; padding: 14px 16px; border-radius: var(--radius-s); border: 1px solid var(--color-line); background: var(--color-surface-alt); }
.consent-cat__txt strong { color: var(--color-dark); }
.consent-cat__txt p { margin: 4px 0 0; font-size: .9rem; line-height: 1.5; color: var(--color-secondary); }
.switch { position: relative; flex: none; display: inline-block; width: 52px; height: 30px; margin-top: 2px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; border-radius: 999px; background: var(--color-border-strong); transition: background-color .2s; pointer-events: none; }
.switch__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .switch__track { background: var(--color-dark); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch__track { opacity: .55; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--color-dark); outline-offset: 2px; box-shadow: 0 0 0 5px var(--color-surface); }
.cookie-dlg__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .switch__track, .switch__track::after { transition: none; } }

.map-consent { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; background: var(--color-surface-alt); }
.map-consent p { margin: 0; max-width: 46ch; color: var(--color-secondary); line-height: 1.55; }
.visit__map { position: relative; }

/* Privacy policy: purposes as definition cards, cookie table */
.policy-card { margin: 0 0 14px; padding: 16px 20px; border-radius: var(--radius-m); background: var(--color-surface-alt); border: 1px solid var(--color-line); }
.policy-card h3 { margin: 0 0 10px; font-size: var(--step-0); font-weight: 800; color: var(--color-dark); }
.policy-card dl { margin: 0; display: grid; gap: 6px 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .policy-card dl { grid-template-columns: 130px 1fr; } }
.policy-card dt { font-weight: 700; color: var(--color-dark); }
.policy-card dd { margin: 0; color: var(--color-secondary); line-height: 1.55; }
.policy-table { margin-top: 12px; }
.policy-settings { margin: 18px 0; }
.policy-toc { margin: 0 0 8px; padding: 14px 20px; border-radius: var(--radius-m); background: var(--color-surface-alt); border: 1px solid var(--color-line); }
.policy-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.policy-toc li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 700px) { .policy-toc ol { columns: 1; } }
