@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --teal: #029daf;
  --teal-light: #35b1bf;
  --teal-dark: #012f35;
  --yellow: #ffb300;
  --yellow-hover: #ffd623;
  --ink: #12383d;
  --muted: #69787a;
  --white: #fff;
  --surface: #f8fafb;
  --shadow: 0 5px 18px rgba(1, 47, 53, .14);
  --radius: 15px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: "Lato", Arial, sans-serif; color: var(--ink); line-height: 1.5; background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 38px; color: var(--teal); font-size: clamp(1.65rem, 3vw, 2rem); line-height: 1.2; text-align: center; }
h3 { line-height: 1.25; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: 90px 0; }
.section-lead { margin: -26px 0 36px; text-align: center; font-size: 1.25rem; }
.sr-only { position: absolute; 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: 2000; transform: translateY(-140%); padding: 10px 16px; background: var(--teal-dark); color: #fff; border-radius: 8px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 1000; height: 66px; background: rgba(255, 255, 255, .98); box-shadow: 0 4px 12px rgba(1, 47, 53, .08); }
.header-inner { height: 100%; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 30px; }
.brand { width: 101px; height: 47px; display: block; }
.main-nav { display: flex; justify-content: center; gap: clamp(25px, 5vw, 62px); }
.main-nav a { color: var(--teal); text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: .98rem; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--teal-light); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.phone-pill { min-width: 140px; padding: 8px 18px; color: var(--teal); text-align: center; text-decoration: none; font-weight: 700; border-radius: 999px; box-shadow: 0 3px 12px rgba(1, 47, 53, .14); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 29px; height: 3px; margin: 5px 0; background: var(--teal); border-radius: 3px; transition: .25s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 30px; border: 0; border-radius: 999px; background: var(--yellow); color: #fff; text-align: center; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 5px 13px rgba(1, 47, 53, .16); transition: transform .2s ease, background .2s ease; }
.button:hover { background: var(--yellow-hover); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(255, 179, 0, .55); outline-offset: 3px; }
.button-small { min-width: 154px; padding-block: 9px; }
.button-wide { width: min(325px, 100%); min-width: 0; font-size: 1.16rem; font-weight: 400; }
.button-compact { min-width: 130px; min-height: 36px; padding: 7px 24px; font-size: .92rem; }

.hero { min-height: 432px; background: #f7f7f7 url("assets/images/sekcja1.jpg") center center / cover no-repeat; }
.hero-inner { min-height: 432px; display: flex; align-items: flex-start; padding-top: 80px; }
.hero-copy { width: 90%; padding-left: 117px; }
.hero h1 { width: max-content; max-width: 100%; margin: 0 0 24px; padding: 7px 30px 9px; background: var(--teal); color: #fff; font-size: 2rem; line-height: 1.35; font-weight: 700; white-space: nowrap; }
.hero .button { display: flex; width: min(325px, 100%); margin: 0 auto; }

.benefits { padding-bottom: 55px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-width: 825px; margin: 0 auto; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.benefit-card { min-height: 270px; padding: 35px 22px; text-align: center; transition: box-shadow .3s ease; }
.benefit-card:hover, .benefit-card:focus-within { box-shadow: 0 0 18px rgba(1, 47, 53, .28); }
.benefit-card h3 { font-size: 1.18rem; }
.benefit-card p { margin-bottom: 0; color: #6d7779; }

.image-cta { min-height: 371px; background-position: center; background-repeat: no-repeat; background-size: cover; }
.family-cta { background-image: url("assets/images/rodzina-white-phone.png"); }
.image-cta-inner { min-height: inherit; display: flex; align-items: center; }
.image-cta-right { justify-content: flex-end; }
.cta-copy { width: 56%; text-align: center; }
.cta-copy h2, .compact-cta h2 { display: inline-block; margin: 0 0 22px; padding: 7px 24px; background: var(--teal-light); color: #fff; font-size: 2rem; line-height: 1.35; }
.cta-copy .button { display: flex; width: min(325px, 100%); margin: 0 auto; }

.tariffs { padding-bottom: 72px; }
.tariff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tariff-card { min-height: 455px; padding: 46px 28px 32px; box-shadow: 0 0 15px rgba(1, 47, 53, .12); transition: box-shadow .3s ease; }
.tariff-card:hover, .tariff-card:focus-within { box-shadow: 0 0 18px rgba(1, 47, 53, .28); }
.tariff-card h3 { margin-bottom: 25px; text-align: center; font-size: 1.14rem; font-weight: 400; }
.tariff-card h3 strong { font-weight: 700; }
.billing { position: relative; padding-left: 16px; }
.billing::before { content: "›"; position: absolute; left: 0; color: var(--yellow); font-weight: 900; }
.tariff-card dl { margin: 0; }
.tariff-card dl div { display: flex; flex-direction: column-reverse; margin: 0 0 18px; }
.tariff-card dt { color: #718083; font-size: .9rem; }
.tariff-card dd { margin: 0; color: var(--teal); font-size: 1.78rem; font-weight: 700; }
.tariff-card dd small { font-size: .9rem; }
.tariff-card sup { color: var(--yellow); }
.tariff-note { margin: 16px 16px 0; color: var(--teal); font-size: .9rem; }

.order { padding-top: 38px; }
.order h2 { margin-bottom: 34px; }
.order-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 58px; }
.order-card { display: grid; grid-template-columns: 90px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 25px; min-height: 165px; padding: 26px 44px; }
.order-card img { grid-row: 1 / 3; justify-self: center; }
.order-card p { margin: 0 0 10px; }
.order-card .button { justify-self: start; }
.order-note { margin-top: 42px; text-align: center; }

.recharge { padding: 85px 0 78px; background: var(--teal); color: #fff; }
.recharge h2 { margin-bottom: 34px; color: #fff; }
.recharge .section-lead { margin-bottom: 64px; }
.recharge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px 90px; }
.recharge-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.recharge-item h3 { margin-bottom: 12px; font-size: 1.16rem; }
.recharge-item p { margin-bottom: 10px; }
.recharge-item a { text-underline-offset: 3px; }

.compact-cta { min-height: 330px; display: flex; align-items: center; text-align: center; }
.compact-cta h2 span { display: inline-block; padding: 5px 18px; background: var(--teal-light); }
.compact-cta h2 span + span { margin-top: 8px; background: var(--teal); }
.compact-cta .button { display: flex; width: fit-content; margin: 0 auto; }

.lajt-cta { min-height: 419px; background: #f7f7f7 url("assets/images/whitephone-lajt-mobile.jpg") center center / cover no-repeat; }
.lajt-inner { min-height: 419px; display: flex; align-items: center; }
.lajt-copy { width: 59%; }
.lajt-copy h2 { margin-bottom: 12px; text-align: left; }
.lajt-lead { font-size: 1.42rem; }
.lajt-copy ul { padding-left: 22px; }
.lajt-copy h3 { margin: 16px 0 0; }

.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px 55px; }
.faq article h3 { margin-bottom: 12px; font-size: 1.12rem; }
.faq article p { margin: 0; }
.faq a { color: var(--teal); }

.contact { padding: 70px 0 85px; background: var(--teal); color: #fff; }
.contact h2 { margin-bottom: 8px; color: #fff; text-align: left; }
.contact .section-lead { margin: 0 0 42px; text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 72px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: .86rem; font-weight: 700; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; border: 0; border-radius: 3px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.contact-form input:not([type="checkbox"]), .contact-form select { height: 42px; padding: 0 13px; }
.contact-form textarea { min-height: 157px; padding: 12px 13px; resize: vertical; }
.message-field { grid-row: 1 / span 4; grid-column: 2; }
.consent-field { grid-column: 2; display: grid !important; grid-template-columns: 24px 1fr; align-items: start; font-weight: 400 !important; }
.consent-field input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--yellow); }
.honeypot { position: absolute; left: -9999px; }
.contact-form > .button { margin-top: 18px; }
.form-status { margin: 14px 0 0; min-height: 1.5em; font-weight: 700; }
.form-status.is-error { color: #fff3b8; }
.downloads h3 { margin: 0 0 20px; font-size: 1.65rem; }
.downloads ul { list-style: none; margin: 0; padding: 0; }
.downloads li { margin-bottom: 18px; }
.downloads a { position: relative; display: inline-block; padding-left: 16px; text-decoration: none; }
.downloads a::before { content: ">"; position: absolute; left: 0; color: var(--yellow); }
.downloads a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 62px 0 46px; background: var(--teal-dark); color: #fff; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 2.1fr .7fr 1.4fr .8fr; gap: 55px; align-items: start; }
.footer-about img { margin-bottom: 22px; }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: .88rem; text-align: left; text-transform: uppercase; }
.site-footer nav, .footer-info { display: flex; flex-direction: column; gap: 14px; }
.site-footer a { color: #fff; text-decoration: none; text-transform: uppercase; }
.site-footer a:hover { color: var(--yellow); }
.site-footer address { font-style: normal; }
.copyright { margin-top: 62px; }

.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 1200; width: min(360px, calc(100% - 40px)); padding: 18px 28px; border: 1px solid var(--yellow); border-radius: var(--radius); background: #fff; color: #111; text-align: center; box-shadow: var(--shadow); font-size: .76rem; }
.cookie-banner p { margin-bottom: 12px; }
.cookie-banner a { color: var(--teal); }
.cookie-banner .button { min-height: 30px; padding: 5px 22px; font-size: .72rem; }

@media (max-width: 1100px) {
  .hero-copy { width: 90%; padding-left: 35px; }
  .hero h1 { padding-inline: 24px; font-size: 1.85rem; }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 115px 1fr auto; gap: 16px; }
  .main-nav { gap: 22px; }
  .phone-pill { display: none; }
  .tariff-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { gap: 24px; }
  .recharge-grid { gap: 45px 38px; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .downloads { max-width: 760px; }
  .footer-grid { grid-template-columns: 1.6fr .7fr 1.2fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 64px; }
  .section { padding: 60px 0; }
  .site-header { height: 64px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-actions { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 2; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 64px 0 auto; display: grid; gap: 0; padding: 18px 24px 28px; background: rgba(255, 255, 255, .98); box-shadow: 0 12px 20px rgba(1, 47, 53, .12); transform: translateY(-140%); visibility: hidden; transition: .3s ease; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav a { padding: 15px 10px; border-bottom: 1px solid #e5eff0; text-align: center; }

  .hero { min-height: 520px; background-position: 70% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,.96) 0 43%, rgba(255,255,255,0) 72%); }
  .hero { position: relative; }
  .hero-inner { position: relative; min-height: 520px; padding-top: 36px; }
  .hero-copy { width: 100%; padding: 0; }
  .hero h1 { margin-inline: auto; padding: 8px 14px; font-size: clamp(1.6rem, 7vw, 2.2rem); text-align: center; white-space: normal; }
  .hero .button { margin-top: 16px; }

  .benefit-grid, .order-grid, .recharge-grid, .faq-grid { grid-template-columns: 1fr; }
  .benefit-grid { gap: 18px; }
  .benefit-card { min-height: 0; }
  .image-cta { min-height: 460px; background-position: 28% center; }
  .image-cta-inner { align-items: flex-end; padding-bottom: 30px; }
  .cta-copy { width: 100%; }
  .cta-copy h2, .compact-cta h2 { font-size: 1.45rem; }
  .tariff-card { min-height: 0; }
  .order-card { grid-template-columns: 72px 1fr; padding: 25px 22px; }
  .order-note br { display: none; }
  .recharge .section-lead { margin-bottom: 42px; }
  .recharge-grid { gap: 38px; }
  .compact-cta { min-height: 270px; }
  .lajt-cta { min-height: 580px; background-position: 66% center; position: relative; }
  .lajt-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,.98) 0 72%, rgba(255,255,255,.42)); }
  .lajt-inner { position: relative; min-height: 580px; }
  .lajt-copy { width: 80%; }
  .form-grid { grid-template-columns: 1fr; }
  .message-field, .consent-field { grid-column: 1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  h2 { margin-bottom: 28px; }
  .tariff-grid { grid-template-columns: 1fr; }
  .hero { background-position: 74% center; }
  .hero h1 { width: 100%; }
  .order-card { grid-template-columns: 1fr; grid-template-rows: auto; text-align: center; }
  .order-card img { grid-row: auto; }
  .order-card .button { justify-self: center; }
  .recharge-item { grid-template-columns: 1fr; }
  .lajt-copy { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { margin-top: 38px; }
  .cookie-banner { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
