/* UAMOBILE Polska — umobile.pl
   Visual language taken from the UAMOBILE AD Network deck:
   grainy pastel gradient bands, white heavy caps, coral headlines, toggle bullets. */

:root {
  --coral: #ff575f;
  --coral-dark: #e3434b;
  --ink: #15151c;
  --text: #2b2b36;
  --muted: #6b6b7b;
  --line: #e8e6ef;
  --soft: #f7f6fb;
  --bg: #ffffff;
  --green: #8fd16a;
  --blue: #4fcbf5;
  --orange: #ffb55e;
  --red: #ff6e57;
  --violet: #6f75d8;
  --grey: #9d9aa6;
  --pink: #f06ebb;
  --radius: 18px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { height: 36px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; }
.nav a:hover { color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: currentColor; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Gradient surface (deck background) ---------- */
.grad {
  background-color: #c79be8;
  background-image: url("img/gradient.webp");
  background-size: cover;
  background-position: center;
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40, 20, 80, 0) 30%, rgba(60, 20, 90, .28) 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 11vw, 140px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .mark { width: auto; color: var(--ink); margin-bottom: clamp(40px, 7vw, 90px); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero .mark svg { height: clamp(64px, 7vw, 92px); width: auto; }
.hero h1 {
  color: #fff; font-weight: 800; font-size: clamp(38px, 6.4vw, 80px); line-height: 1.02; max-width: 15ch;
  text-shadow: 0 2px 30px rgba(80, 20, 90, .18);
}
.hero h1 .rule { display: block; width: 180px; height: 6px; background: #fff; margin-top: 26px; border-radius: 3px; }
.hero .lead { font-size: clamp(18px, 2vw, 22px); max-width: 40ch; margin-top: 26px; font-weight: 500; text-shadow: 0 1px 14px rgba(80, 20, 90, .25); }
.hero .lead a { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(48px, 7vw, 88px);
  background: rgba(255, 255, 255, .35); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
}
.stat { background: rgba(255, 255, 255, .16); padding: 22px 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stat b { display: block; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.1; }
.stat span { font-size: 14px; font-weight: 500; opacity: .95; }

/* ---------- Section band (deck slide header) ---------- */
section { padding-bottom: clamp(64px, 8vw, 110px); }
.band { padding: clamp(26px, 3.4vw, 40px) 0; margin-bottom: clamp(40px, 5vw, 64px); }
.band h2 {
  color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(28px, 4.2vw, 54px);
}
.band:nth-of-type(odd) { background-position: 20% 30%; }
.headline { color: var(--coral); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 44px); }
.subline { color: var(--coral); font-style: italic; font-weight: 300; font-size: clamp(22px, 3vw, 38px); margin-top: 6px; line-height: 1.2; }
.note { font-size: 14px; font-style: italic; color: var(--muted); margin-top: 14px; }
.note a { color: #2f5bea; }
.section-intro { margin-bottom: clamp(32px, 4vw, 52px); }
.h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }

/* toggle-switch bullet, as in the deck */
.toggles { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.toggles li { position: relative; padding-left: 46px; }
.toggles li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 26px; height: 14px;
  border: 1.5px solid #b9b7c4; border-radius: 999px;
}
.toggles li::after {
  content: ""; position: absolute; left: 14px; top: calc(.42em + 3px); width: 8px; height: 8px;
  border-radius: 50%; background: var(--coral);
}
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 56px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.card .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #4fcbf5, #f06ebb 55%, #ff7a59);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { font-size: 15.5px; color: var(--muted); }

/* ---------- Targeting ---------- */
.tgroup + .tgroup { margin-top: 48px; }
.tgroup .h3 { margin-bottom: 20px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile {
  height: 190px; padding: 16px; border-radius: 16px;
  background: var(--soft); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; overflow: hidden;
}
.tile .tlabel { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.tile .tnum {
  font-size: 26px; font-weight: 800; line-height: 1; align-self: flex-start;
  background: linear-gradient(120deg, #4fcbf5, #f06ebb 55%, #ff7a59);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tile.type { background: #fff; border-color: rgba(255, 87, 95, .35); }
.tile .ticon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, #4fcbf5, #f06ebb 55%, #ff7a59);
}
.tile .ticon svg { width: 22px; height: 22px; }
.tile.more { background: linear-gradient(135deg, #4fcbf5, #f06ebb 55%, #ff7a59); border-color: transparent; }
.tile.more .tnum, .tile.more .tlabel { color: #fff; -webkit-text-fill-color: #fff; background: none; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; }
.pkg h3 { color: #74727e; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin-bottom: 16px; }
.pkg table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pkg caption {
  text-align: left; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 12px; background: var(--c);
}
.pkg td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.pkg td:first-child { font-weight: 600; color: var(--ink); }
.pkg td:last-child { text-align: right; font-variant-numeric: tabular-nums; background: var(--soft); white-space: nowrap; }

/* ---------- Geo ---------- */
.geo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.country {
  display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
}
.country img { width: 72px; height: 72px; flex-shrink: 0; filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)); }
.country b { display: block; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.country span { font-size: 14px; color: var(--muted); }
.country .name { font-size: 15px; font-weight: 700; color: var(--text); }
.country.home { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 87, 95, .12); }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.donut {
  width: min(340px, 78vw); aspect-ratio: 1; border-radius: 50%; position: relative;
  background: conic-gradient(
    var(--green) 0 8.25%, var(--blue) 8.25% 47.19%, var(--red) 47.19% 73.56%,
    var(--orange) 73.56% 87.23%, var(--violet) 87.23% 95.64%, var(--grey) 95.64% 100%);
}
.donut::after { content: ""; position: absolute; inset: 26%; background: #fff; border-radius: 50%; }
.donut .center { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; text-align: center; }
.donut .center b { font-size: 34px; font-weight: 800; color: var(--ink); display: block; line-height: 1; }
.donut .center span { font-size: 13px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.bars { display: grid; gap: 26px; }
.bars h3 {
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: var(--c); padding: 8px 12px; margin-bottom: 12px;
}
.bar { display: grid; grid-template-columns: 150px 1fr 64px; align-items: center; gap: 12px; font-size: 15px; margin-bottom: 8px; }
.bar .track { height: 10px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--c); border-radius: 999px; width: var(--w); }
.bar b { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }

/* ---------- Formats ---------- */
.iab { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.iab-map { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 52px; gap: 6px; }
.iab-map div {
  background: linear-gradient(160deg, #6ec9f7, #3aa6ec); color: #fff; border-radius: 4px;
  font-size: 12px; font-weight: 600; line-height: 1.2; padding: 6px 8px; display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.iab-map small { font-weight: 400; opacity: .9; font-size: 11px; }
.phones { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.phone img { width: 100%; border-radius: 10px; }
.phone h4 { font-size: 16px; font-weight: 800; margin-top: 14px; }
.phone p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.phone .ctr { font-weight: 800; color: var(--ink); font-size: 14px; margin-top: 4px; }

/* ---------- Publishers ---------- */
.pub-cta { margin-top: 40px; }

/* ---------- About / clients ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.effie { border-radius: var(--radius); }
.clients-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; margin-top: 80px; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; align-items: center; }
.logos img { max-height: 60px; width: auto; max-width: 100%; margin: 0 auto; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: opacity .2s, filter .2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.person { background: var(--soft); border-radius: 28px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); }
.person-head { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.person-head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person-head b { display: block; font-size: 22px; color: var(--ink); }
.person-head span { color: var(--muted); font-size: 15px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.clist li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 16px; }
.clist span { color: var(--muted); }
.clist a { font-weight: 600; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.clist a:hover { color: var(--coral); }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  font: 16px/1.4 var(--font); color: var(--ink); padding: 13px 14px; border-radius: 12px;
  border: 1px solid #d9d6e3; background: #fff; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(255, 87, 95, .25); border-color: var(--coral); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { color: var(--ink); padding: 56px 0 36px; }
.footer .wrap { display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-end; }
.footer .mark { color: var(--ink); }
.footer .mark svg { height: 52px; width: auto; }
.footer p { max-width: 46ch; font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer small { opacity: .9; font-size: 13px; }

.company { display: grid; gap: 2px; font-size: 14px; font-weight: 500; padding-top: 22px; border-top: 1px solid rgba(21, 21, 28, .18); }
.company p { max-width: none; }
.company span { opacity: .75; }

/* ---------- Privacy policy ---------- */
.legal { max-width: 820px; }
.legal .updated { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin: 44px 0 14px; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.legal li::marker { color: var(--coral); }
.legal a { color: var(--coral-dark); font-weight: 600; }
.legal-page { padding-bottom: clamp(64px, 8vw, 110px); }
.form .hint a { color: var(--coral-dark); font-weight: 600; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 1100px) {
  .phones { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { height: 150px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .audience, .iab, .about, .clients-grid, .contact, .packages { grid-template-columns: 1fr; }
  .geo { grid-template-columns: repeat(2, 1fr); }
  .packages { margin-top: 48px; }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { height: 172px; padding: 14px; }
  .tile .ticon { width: 36px; height: 36px; }
  .tile .tlabel { font-size: 14px; }
  body { font-size: 16px; }
  .hero .mark { display: none; }
  .hero .wrap { padding-top: 48px; }
  .brand svg { height: 30px; }
    .cards, .geo, .cols-2, .form .row { grid-template-columns: 1fr; }
  .phones { grid-template-columns: repeat(2, 1fr); }
  .iab-map { grid-auto-rows: 44px; }
  .iab-map div { font-size: 10px; padding: 4px; }
  .iab-map small { display: none; }
  .bar { grid-template-columns: 110px 1fr 58px; font-size: 14px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .clist li { grid-template-columns: 1fr; gap: 0; }
  .country img { width: 56px; height: 56px; }
}
