:root {
  --black: #070707;
  --black-soft: #111111;
  --gold: #2dbb4c;
  --gold-deep: #1f8d39;
  --white: #ffffff;
  --gray-bg: #ececec;
  --gray-panel: #f6f6f6;
  --text: #111111;
  --muted: #555555;
  --line: #d4d4d4;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background-color: var(--gray-bg);
  background-image: url("plac.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.utility-bar {
  background: var(--black);
  color: #f2f2f2;
  border-bottom: 1px solid #222;
}

.utility-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.utility-left {
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.92rem;
  white-space: nowrap;
}

.utility-left span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.utility-left span:first-child::before {
  content: "";
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  flex: 0 0 auto;
  background:
    center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dbb4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.2'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E");
  transform: translateY(0.02em);
}

.utility-left span:nth-child(2)::before {
  content: "\260E\FE0E";
  color: var(--gold);
  font-weight: 700;
}

.utility-left span:nth-child(2)::before {
  font-family: "Segoe UI Symbol", "Apple Symbols", "Arial Unicode MS", Arial, sans-serif;
  font-variant-emoji: text;
  line-height: 1;
}

.utility-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #73ef97;
  background: rgba(45, 187, 76, 0.2);
  border: 2px solid rgba(123, 245, 162, 0.88);
  box-shadow: inset 0 0 0 1px rgba(45, 187, 76, 0.22), 0 4px 10px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.utility-social .social-link:nth-child(3) svg path {
  fill: currentColor;
  stroke: none;
}

.utility-social .social-link:nth-child(4) svg path {
  fill: currentColor;
  stroke: none;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--gold);
  color: #072213;
  border-color: var(--gold);
  transform: translateY(-2px) scale(1.05);
}

.top-nav {
  background: #000;
  color: #fff;
  border-bottom: 1px solid #202020;
  position: sticky;
  top: 0;
  z-index: 50;
}

.top-nav-inner {
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.logo-image {
  display: block;
  width: min(390px, 30vw);
  max-width: 100%;
  height: auto;
  max-height: 93px;
  object-fit: contain;
  object-position: center;
  filter: none;
  border-radius: 0;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.menu a {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.menu a:hover,
.menu a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.menu-label-desktop {
  display: inline;
}

.menu-label-mobile {
  display: none;
}

.cta-btn,
.btn-light,
.btn-dark,
.kafel-link,
.map-link,
.link-btn,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #b7d2c1;
  background: linear-gradient(180deg, #ffffff 0%, #ecf5f0 100%);
  color: #123021;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(15, 61, 36, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.cta-btn,
.btn-light,
.btn-dark,
.kafel-link,
.map-link,
.link-btn {
  padding: 10px 15px;
}

.menu-toggle {
  display: none;
  padding: 9px 13px;
}

.cta-btn:hover,
.btn-light:hover,
.btn-dark:hover,
.kafel-link:hover,
.map-link:hover,
.link-btn:hover,
.menu-toggle:hover,
.cta-btn:focus-visible,
.btn-light:focus-visible,
.btn-dark:focus-visible,
.kafel-link:focus-visible,
.map-link:focus-visible,
.link-btn:focus-visible,
.menu-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: #2d9f50;
  background: linear-gradient(180deg, #ffffff 0%, #e4f6eb 100%);
  box-shadow: 0 10px 18px rgba(16, 69, 40, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: #0d2a1c;
}

.cta-btn:focus-visible,
.btn-light:focus-visible,
.btn-dark:focus-visible,
.kafel-link:focus-visible,
.map-link:focus-visible,
.link-btn:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid rgba(27, 130, 58, 0.55);
  outline-offset: 2px;
}

.cta-btn {
  background: linear-gradient(180deg, #32b457 0%, #1e8a40 100%);
  border-color: #177337;
  color: #f6fff8;
  box-shadow: 0 10px 18px rgba(8, 60, 30, 0.26), inset 0 1px 0 rgba(159, 255, 188, 0.3);
  white-space: nowrap;
}

.top-nav .cta-btn {
  padding: 9px 12px;
  font-size: 0.95rem;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: linear-gradient(180deg, #39c25f 0%, #23984a 100%);
  border-color: #1a8140;
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(8, 73, 36, 0.34), inset 0 1px 0 rgba(190, 255, 210, 0.42);
}

.hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #63d57d 0%, var(--gold) 52%, var(--gold-deep) 100%);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 430px;
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
  animation: fadeUp 0.7s ease both;
}

.hero-copy .eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-family: "Arial Black", "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: clamp(1.53rem, 4.42vw, 3.19rem);
  line-height: 0.92;
  letter-spacing: 0.012em;
  max-width: 11ch;
  color: #04160d;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 20px rgba(5, 28, 15, 0.18);
}

.hero-copy h1::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: min(170px, 62%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b3b22 0%, #1d7e47 58%, rgba(29, 126, 71, 0.08) 100%);
  box-shadow: 0 5px 12px rgba(7, 54, 30, 0.22);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-copy h1 {
    background: linear-gradient(162deg, #061d11 0%, #0d3c24 42%, #155f38 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.hero-copy p {
  margin: 0;
  font-size: 1.12rem;
  max-width: 48ch;
  color: #171717;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-light {
  font-weight: 800;
  padding: 11px 18px;
}

.btn-dark {
  background: linear-gradient(180deg, #1c7b3b 0%, #11622d 100%);
  border-color: #0f5b29;
  color: #f4fff7;
  box-shadow: 0 8px 16px rgba(7, 56, 29, 0.28), inset 0 1px 0 rgba(120, 220, 152, 0.35);
  font-weight: 700;
  padding: 11px 16px;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: linear-gradient(180deg, #249346 0%, #157236 100%);
  border-color: #126431;
  color: #fff;
  box-shadow: 0 12px 22px rgba(8, 66, 35, 0.35), inset 0 1px 0 rgba(145, 236, 174, 0.45);
}

.hero-visual {
  justify-self: center;
  width: min(620px, 100%);
  position: relative;
  animation: fadeUp 0.82s ease both;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-blob {
  position: absolute;
  inset: 8px 18px 24px;
  background: #f5f5f5;
  border-radius: 44% 56% 50% 50% / 42% 48% 52% 58%;
}

.car-frame {
  position: relative;
  z-index: 1;
  margin: 60px auto 0;
  width: min(410px, 90%);
  height: 220px;
  border-radius: 22px;
  background: linear-gradient(180deg, #58ca73, #1f8d39);
  border: 3px solid #232323;
  box-shadow: 0 20px 24px rgba(0, 0, 0, 0.24);
  display: grid;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  color: #242424;
  font-size: clamp(1.4rem, 4.2vw, 2.2rem);
  text-transform: uppercase;
}

.car-frame.has-image {
  width: min(560px, 116%);
  margin: 24px auto 0;
  margin-left: -4%;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  overflow: visible;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.car-frame.has-image::before,
.car-frame.has-image::after {
  display: none;
}

.hero-car-img {
  width: 118%;
  max-width: none;
  height: auto;
  margin-left: -9%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.car-frame::before,
.car-frame::after {
  content: "";
  position: absolute;
  bottom: -28px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #8d8d8d 0 19px, #1b1b1b 20px 38px, #000 39px);
  border: 2px solid #111;
}

.car-frame::before {
  left: 24px;
}

.car-frame::after {
  right: 24px;
}

.hero-note {
  position: absolute;
  top: 14px;
  right: 8px;
  z-index: 3;
  min-width: 190px;
  padding: 9px 11px;
  border: 2px solid #0b2d1d;
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.64), transparent 34%),
    linear-gradient(135deg, #cbff8a 0%, #5af089 56%, #27c35c 100%);
  color: #072213;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.65),
    0 12px 20px rgba(0, 0, 0, 0.35);
  animation: heroNoticeBeat 1.2s ease-in-out infinite;
  overflow: hidden;
}

.hero-note::before {
  content: "";
  position: absolute;
  top: -160%;
  left: -35%;
  width: 60%;
  height: 320%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  transform: rotate(20deg);
  animation: heroNoticeShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-note::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  border: 2px solid rgba(180, 255, 198, 0.9);
  animation: heroNoticeRing 1.95s ease-out infinite;
  pointer-events: none;
}

.hero-note-date,
.hero-note-sub {
  display: block;
  position: relative;
  z-index: 1;
}

.hero-note-price {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  margin-bottom: 2px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0a2a1b;
  border: 2px solid #a4ffd0;
  color: #f3fff6;
  font-size: clamp(0.78rem, 1.8vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 5px 12px rgba(3, 23, 13, 0.38);
}

.hero-note-date {
  margin-top: 2px;
  font-size: 0.95rem;
  color: #0a2216;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-note-sub {
  margin-top: 0;
  font-size: 0.53rem;
  color: #0e3a25;
  letter-spacing: 0.08em;
  opacity: 0.82;
}

.hero-note strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 4px;
  margin-bottom: 2px;
  font-size: clamp(0.9rem, 2vw, 1.08rem);
  color: #051810;
  letter-spacing: 0.01em;
}

.sub-hero {
  background:
    linear-gradient(135deg, #5fd47c, #2dbb4c 52%, #1f8d39);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

.sub-hero-inner {
  min-height: 250px;
  padding: 46px 0 26px;
  display: grid;
  align-content: center;
}

.sub-hero .eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  max-width: 34ch;
}

.sub-hero h1 {
  margin: 0;
  font-family: "Arial Black", "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: clamp(1.53rem, 4.42vw, 3.19rem);
  line-height: 0.92;
  letter-spacing: 0.012em;
  max-width: 12ch;
  color: #04160d;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 20px rgba(5, 28, 15, 0.18);
}

.sub-hero h1::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: min(170px, 62%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b3b22 0%, #1d7e47 58%, rgba(29, 126, 71, 0.08) 100%);
  box-shadow: 0 5px 12px rgba(7, 54, 30, 0.22);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .sub-hero h1 {
    background: linear-gradient(162deg, #061d11 0%, #0d3c24 42%, #155f38 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.sub-hero p {
  margin: 12px 0 0;
  max-width: 48ch;
  font-size: 1.12rem;
  color: #171717;
  line-height: 1.55;
}

.content {
  padding: 26px 0 42px;
}

.section {
  background: #eef8f1;
  border: 1px solid #c6e2cf;
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 14px;
  box-shadow: 0 10px 20px rgba(22, 73, 40, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(22, 73, 40, 0.16);
}

.section h2 {
  margin: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(1.3rem, 3.25vw, 2.08rem);
  line-height: 0.95;
}

.section p {
  margin: 0;
  color: #2a2a2a;
}

.home-kafle {
  position: relative;
  overflow: hidden;
  border: 1px solid #8fd3a7;
  background: linear-gradient(165deg, #f4fcf7 0%, #eaf5ee 58%, #dfeee5 100%);
}

.home-kafle::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -32%;
  width: 44%;
  height: 320%;
  background: linear-gradient(90deg, transparent, rgba(66, 176, 101, 0.22), transparent);
  transform: rotate(16deg) translateX(-160%);
  pointer-events: none;
}

.home-kafle h2 {
  position: relative;
  width: fit-content;
  margin-bottom: 14px;
  padding-right: 14px;
}

.home-kafle h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f6e2c, #2dbb4c, #63d57d, transparent 95%);
  transform-origin: left center;
  transform: scaleX(0.2);
  opacity: 0.55;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
}

.home-kafle.visible::before {
  animation: homeSweep 1.2s cubic-bezier(0.2, 0.9, 0.25, 1) both;
}

.home-kafle.visible h2::after {
  transform: scaleX(1);
  opacity: 1;
}

.home-intro {
  font-size: 1.02rem;
  max-width: 74ch;
}

.kafel-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  perspective: 1000px;
}

.kafel {
  position: relative;
  border: 1px solid #72bc8a;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  padding: 16px 16px 18px;
  box-shadow: 0 10px 18px rgba(16, 80, 40, 0.18);
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kafel::before,
.kafel::after {
  content: none;
}

.kafel:hover {
  transform: translateY(-7px) rotateX(4deg) rotateY(-4deg);
  border-color: #2ea650;
  box-shadow: 0 20px 28px rgba(17, 92, 45, 0.27);
}

.kafel.touch-tilt-active {
  transform: translateY(-9px) scale(1.04) rotateX(var(--touch-tilt-x, 5deg)) rotateY(var(--touch-tilt-y, -5deg)) !important;
  border-color: #2ea650;
  box-shadow: 0 20px 28px rgba(17, 92, 45, 0.27);
}

@media (hover: none) and (pointer: coarse) {
  .kafel {
    transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.48s ease, border-color 0.48s ease;
  }
}

.kafel strong {
  display: block;
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: #0d5d27;
}

.kafel h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  color: #0d5d27;
  line-height: 1.25;
}

.kafel p {
  margin: 0;
  color: #163420;
  font-size: 1rem;
}

.kafel-badge {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2dbb4c, #0f6e2c);
  box-shadow: 0 5px 12px rgba(20, 122, 51, 0.45);
  margin-bottom: 10px;
}

.link-kafel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kafel-link {
  margin-top: auto;
  width: fit-content;
  padding: 9px 13px;
}

.rates-spotlight {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0 0 14px;
  z-index: 2;
  border: 1px solid #1c7a3f;
  background:
    radial-gradient(circle at 110% -10%, rgba(90, 250, 138, 0.26), transparent 38%),
    radial-gradient(circle at -8% 120%, rgba(19, 124, 58, 0.35), transparent 42%),
    linear-gradient(145deg, #1a4b33 0%, #133826 46%, #0f2c1f 100%);
  box-shadow: 0 12px 20px rgba(9, 44, 24, 0.28);
  padding: 9px 10px 10px;
}

.focus-card {
  color: #f3fff6;
  border: 1px solid rgba(109, 203, 138, 0.75);
  border-radius: 10px;
  background:
    linear-gradient(155deg, rgba(95, 230, 134, 0.24), rgba(15, 34, 24, 0.75) 55%),
    #12261d;
  padding: 8px 10px;
  box-shadow: 0 6px 10px rgba(6, 29, 16, 0.22);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.focus-card:hover,
.focus-card:active,
.focus-card.is-hit {
  transform: translateY(-4px) scale(1.03);
  border-color: #82f2a8;
  box-shadow: 0 14px 18px rgba(7, 34, 19, 0.4);
  filter: brightness(1.06);
}

.focus-card.is-hit {
  animation: ratePop 0.48s ease;
}

.focus-year {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.95;
  text-transform: uppercase;
}

.focus-card strong {
  display: block;
  margin-top: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.focus-card-main {
  border: 1px solid #8bf3b1;
  background:
    linear-gradient(135deg, rgba(110, 255, 157, 0.42), rgba(18, 39, 28, 0.75) 58%),
    #102118;
  box-shadow: 0 0 0 1px rgba(173, 255, 198, 0.18), 0 12px 18px rgba(4, 34, 16, 0.44);
  animation: ratePulse 2.2s ease-in-out infinite;
}

.focus-card-main strong {
  font-size: clamp(1.08rem, 2.4vw, 1.3rem);
  color: #e7ffef;
}

.rates-spotlight h2 {
  margin: 0 0 7px;
  color: #ecfff1;
  font-size: clamp(0.88rem, 1.6vw, 1.02rem);
  letter-spacing: 0.02em;
}

.rates-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rates-col {
  display: contents;
}

.home-stats {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-stats:hover {
  transform: none;
  box-shadow: none;
}

.home-stats-header {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(111, 192, 137, 0.8);
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 0%, rgba(185, 255, 205, 0.5), transparent 42%),
    linear-gradient(170deg, rgba(248, 255, 250, 0.9) 0%, rgba(233, 248, 239, 0.85) 100%);
  box-shadow: 0 10px 18px rgba(14, 73, 38, 0.18);
}

.home-stats h2 {
  text-align: left;
  margin-bottom: 10px;
  line-height: 1.08;
}

.home-stats-intro {
  max-width: 74ch;
  margin: 0;
  text-align: left;
}

.home-stats-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-stats-item {
  border: 1px solid rgba(120, 193, 144, 0.78);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 12%, rgba(184, 255, 204, 0.32), transparent 44%),
    linear-gradient(180deg, rgba(248, 255, 251, 0.88) 0%, rgba(238, 250, 244, 0.82) 100%);
  box-shadow: 0 10px 16px rgba(13, 76, 38, 0.14);
  padding: 12px 10px 14px;
  display: grid;
  justify-items: center;
}

.home-stats-ring {
  --stats-ring-size: clamp(194px, 18vw, 232px);
  position: relative;
  width: var(--stats-ring-size);
  height: var(--stats-ring-size);
  display: grid;
  place-items: center;
}

.home-stats-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.home-stats-ring-track,
.home-stats-ring-bar {
  fill: none;
  stroke-width: 12;
}

.home-stats-ring-track {
  stroke: #d9e6dd;
}

.home-stats-ring-bar {
  stroke: var(--stats-ring-color, #2dbb4c);
  stroke-linecap: round;
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 4px 10px rgba(9, 55, 30, 0.2));
}

.home-stats-ring-content {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  background:
    radial-gradient(circle at 26% 14%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.18) 58%, transparent 100%),
    #f4faf6;
  border: 1px solid #d4e2d9;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.7);
}

.home-stats-number {
  margin: 0;
  font-size: clamp(1.95rem, 3.9vw, 2.9rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #1b2f3b;
}

.home-stats-label {
  color: var(--stats-ring-color, #2dbb4c);
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  font-weight: 700;
}

@media (max-width: 980px) {
  .home-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stats-item:last-child {
    grid-column: 1 / -1;
    width: min(320px, 100%);
    justify-self: center;
  }
}

.home-kafle.visible .kafel {
  animation: kafelSpringIn 0.72s cubic-bezier(0.2, 0.9, 0.2, 1.1) both;
}

.home-kafle.visible .kafel:nth-child(1) {
  animation-delay: 0.04s;
}

.home-kafle.visible .kafel:nth-child(2) {
  animation-delay: 0.13s;
}

.home-kafle.visible .kafel:nth-child(3) {
  animation-delay: 0.24s;
}

.home-kafle.visible .kafel-badge {
  animation: badgeKick 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-kafle.visible .kafel:nth-child(1) .kafel-badge {
  animation-delay: 0.14s;
}

.home-kafle.visible .kafel:nth-child(2) .kafel-badge {
  animation-delay: 0.22s;
}

.home-kafle.visible .kafel:nth-child(3) .kafel-badge {
  animation-delay: 0.3s;
}

.rates-spotlight.visible .focus-card {
  animation: kafelIn 0.42s ease both;
}

.cards-3 {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  border: 1px solid #cbcbcb;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px;
}

.card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.news-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.news-item {
  border: 1px solid #cdcdcd;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px;
}

.news-date {
  font-size: 0.82rem;
  color: #6b6b6b;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.exam-article {
  display: grid;
  gap: 12px;
}

.exam-main-title {
  text-align: center;
  font-size: clamp(1.55rem, 3.7vw, 2.35rem) !important;
  margin-bottom: 16px !important;
}

.exam-article h3 {
  margin: 10px 0 2px;
  font-size: clamp(1.24rem, 2.7vw, 1.5rem);
  color: #0f6e2c;
  text-align: center;
}

.exam-article p {
  margin: 0;
  color: #1d1d1d;
}

.exam-article ol,
.exam-article ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.exam-task-list > li > ul {
  margin-top: 8px;
}

.exam-task-list > li {
  margin-bottom: 6px;
}

.exam-note {
  font-weight: 700;
  color: #0b5a22 !important;
}

.exam-focus-grid {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.exam-focus-item {
  border: 1px solid #cdcdcd;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 12px;
}

.exam-focus-item p {
  margin: 0 !important;
  font-weight: 700;
  color: #0f6e2c;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.contact-box,
.map-box {
  border: 1px solid #cdcdcd;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px;
}

.contact-box h3,
.map-box h3 {
  margin: 2px 0 8px;
  color: #0f6e2c;
  font-size: 1.12rem;
}

.contact-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.contact-list + h3 {
  margin-top: 14px;
}

.contact-list a {
  font-weight: 700;
  color: #0e5f29;
}

.contact-stack {
  display: grid;
  gap: 12px;
}

.contact-subbox {
  border: 1px solid #cdcdcd;
  border-radius: 12px;
  background: #fdfdfd;
  padding: 12px;
}

.contact-copy {
  margin: 0 0 10px;
}

.contact-copy strong {
  color: #0f6e2c;
}

.contact-start-date {
  margin: 14px 0 0;
  width: fit-content;
  border: 1px solid #9bbfae;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbf8 0%, #e9f2ed 100%);
  color: #143324;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(17, 63, 38, 0.12);
  padding: 9px 13px;
}

.map-box {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 10px;
  text-align: left;
  color: #2a2a2a;
  background:
    linear-gradient(145deg, rgba(45, 187, 76, 0.18), rgba(0, 0, 0, 0.03)),
    #fdfdfd;
}

.map-box p {
  margin: 0;
}

.map-meta {
  border: 1px solid #c8dfd0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}

.map-address {
  margin: 0;
}

.map-details {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}

.map-details strong {
  color: #0f6e2c;
}

.map-embed {
  width: 100%;
  min-height: 320px;
  border: 1px solid #b5d8c1;
  border-radius: 12px;
}

.map-link {
  width: fit-content;
  padding: 9px 13px;
}

.gallery-intro {
  margin: 0 0 12px !important;
}

.inline-social-link {
  color: #0e5f29;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 700;
}

.inline-social-link:hover,
.inline-social-link:focus-visible {
  color: #0b4e22;
}

.gallery-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.thumb {
  aspect-ratio: 4 / 3;
  height: auto;
  border: 1px solid #cbcbcb;
  border-radius: var(--radius-md);
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 14px rgba(0, 0, 0, 0.12);
}

.thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.thumb:hover img {
  transform: scale(1.04);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  background: rgba(4, 8, 6, 0.9);
  backdrop-filter: blur(5px);
}

.gallery-lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  width: min(92vw, 1180px);
  max-height: 92vh;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(92vh - 48px);
  width: auto;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(198, 230, 210, 0.6);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  margin: 0;
  color: #ebfdf1;
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(189, 226, 203, 0.78);
  border-radius: 12px;
  background: linear-gradient(180deg, #1f4e32 0%, #123623 100%);
  color: #effff4;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-nav {
  width: 50px;
  height: 56px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.1);
  background: linear-gradient(180deg, #28633f 0%, #194930 100%);
}

body.lightbox-open {
  overflow: hidden;
}

.offer-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.offer-item {
  border: 1px solid #cbcbcb;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px;
}

.offer-item h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.offer-page,
.offer-page * {
  font-family: Arial, Helvetica, sans-serif !important;
}

.offer-clean p {
  margin: 0 0 8px;
}

.offer-subtitle {
  margin: 14px 0 0 !important;
  color: #0f6e2c;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.offer-section-intro {
  font-weight: 700;
  color: #1c3c2b !important;
}

.offer-top-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1.28fr 0.92fr;
  gap: 12px;
  align-items: start;
}

.offer-copy {
  display: grid;
  gap: 6px;
}

.offer-copy p {
  margin: 0;
}

.offer-quick {
  border: 1px solid #cdcdcd;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px;
}

.offer-quick strong,
.offer-quick h3 {
  display: block;
  margin-bottom: 8px;
  color: #0f6e2c;
  font-size: 1.08rem;
}

.offer-quick h3 {
  margin-top: 0;
  line-height: 1.3;
}

.offer-bullets {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.offer-bullets-tight {
  gap: 5px;
}

.offer-grid-modern {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.offer-grid-modern .offer-item {
  height: 100%;
}

.offer-pricing-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.offer-pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.offer-price-box {
  margin-top: 0;
  border: 1px solid #cdcdcd;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px;
  text-align: left;
}

.offer-price-main {
  margin: 0;
  color: #111111 !important;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
}

.offer-price-sub {
  margin: 4px 0 10px !important;
  color: #111111 !important;
  text-shadow: none;
  font-weight: 700;
  font-size: 1.03rem;
}

.offer-price-line {
  margin: 4px 0 !important;
  color: #222222 !important;
  font-weight: 700;
}

.offer-bank {
  margin-top: 12px !important;
  font-weight: 700;
}

.offer-bank-card {
  margin-top: 12px;
  border: 1px solid #b7d2c1;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #ecf5f0 100%);
  box-shadow: 0 6px 14px rgba(15, 61, 36, 0.14);
  padding: 12px 14px;
}

.offer-bank-card p {
  margin: 0 0 4px !important;
}

.offer-bank-card p:last-child {
  margin-bottom: 0 !important;
  font-size: 1.08rem;
}

.offer-promo-note {
  margin: 10px 0 0 !important;
  border-left: 4px solid #2dbb4c;
  background: #f7fbf8;
  padding: 8px 10px;
  font-weight: 700;
  color: #173d2a !important;
}

.offer-org-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.offer-panel strong,
.offer-panel h3 {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
  color: #0f6e2c;
}

.offer-panel h3 {
  margin-top: 0;
  line-height: 1.3;
}

.offer-panel .offer-bullets {
  margin: 0;
}

.offer-checklist li {
  font-weight: 700;
}

.offer-panel p {
  margin: 0 0 8px !important;
}

.offer-panel p:last-child {
  margin-bottom: 0 !important;
}

.offer-note {
  margin: 14px 0 0 !important;
  width: fit-content;
  border: 1px solid #9bbfae;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbf8 0%, #e9f2ed 100%);
  color: #143324 !important;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 6px 12px rgba(17, 63, 38, 0.12);
  padding: 9px 13px;
}

.links-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.links-config-groups {
  margin-top: 12px;
  display: grid;
  gap: 16px;
}

.links-config-group {
  display: grid;
  gap: 10px;
}

.links-config-group-title {
  margin: 0;
  color: #0f6e2c;
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}

.links-config-group .links-grid {
  margin-top: 0;
}

.link-btn {
  width: 100%;
  padding: 12px;
  text-align: center;
  font-weight: 700;
}

.footer {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  padding: 8px 0 4px;
}

.footer-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #bff5cf;
}

.regulamin-section {
  border-color: #9bcab0;
}

.regulamin-content {
  display: grid;
  gap: 12px;
}

.regulamin-content h3 {
  margin: 10px 0 0;
  color: #0f6e2c;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.regulamin-content p {
  margin: 0;
  color: #1d1d1d;
}

.regulamin-content ol,
.regulamin-content ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 7px;
}

/* Loader pokazuje się na starcie i przy zmianie podstron */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 4, 0.96);
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-box {
  width: min(420px, 86vw);
  text-align: center;
  color: #f4f4f4;
}

.loader-text {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7fe39a;
}

.loader-scene {
  position: relative;
  height: 140px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.loader-road {
  display: none;
}

.loader-road::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -160px;
  width: calc(100% + 320px);
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 24px,
    #f4f4f4 24px 52px
  );
  animation: roadMove 0.75s linear infinite;
}

.loader-car {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -105px;
  margin-top: -59px;
  width: 210px;
  height: 118px;
  border-radius: 0;
  background-image: url("ekran_ladowania.png");
  background-repeat: no-repeat;
  background-size: 114.5% 205%;
  background-position: 27% 55.5%;
  border: 0;
  animation: carBounce 0.32s ease-in-out infinite alternate;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
}

.loader-car::before {
  content: none;
}

.loader-car::after {
  content: none;
}

.loader-car-shadow {
  position: absolute;
  left: 50%;
  margin-left: -70px;
  bottom: 8px;
  width: 140px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(2px);
  animation: shadowPulse 0.32s ease-in-out infinite alternate;
}

.loader-progress {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  overflow: hidden;
}

.loader-progress span {
  display: block;
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, #26b246, #8ae2a3);
  animation: progressPulse 1.05s ease-in-out infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #1b6f36 0%, #40d86a 45%, #8bf3a9 100%);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 120;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(65, 220, 113, 0.45);
}

.premium-reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--premium-delay, 0ms);
}

.premium-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.fade-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes roadMove {
  to {
    transform: translateX(-76px);
  }
}

@keyframes carBounce {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(10px);
  }
}

@keyframes shadowPulse {
  from {
    transform: scaleX(1);
    opacity: 0.5;
  }
  to {
    transform: scaleX(0.95);
    opacity: 0.35;
  }
}

@keyframes progressPulse {
  0%,
  100% {
    width: 35%;
  }
  50% {
    width: 78%;
  }
}

@keyframes kafelIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes kafelSpringIn {
  0% {
    opacity: 0;
    transform: translateY(38px) rotateX(-12deg) scale(0.94);
  }
  65% {
    opacity: 1;
    transform: translateY(-6px) rotateX(2deg) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }
}

@keyframes badgeKick {
  0% {
    transform: translateY(6px) scale(0.85) rotate(-7deg);
    opacity: 0;
  }
  68% {
    transform: translateY(-2px) scale(1.08) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0);
    opacity: 1;
  }
}

@keyframes homeSweep {
  0% {
    transform: rotate(16deg) translateX(-160%);
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  100% {
    transform: rotate(16deg) translateX(320%);
    opacity: 0;
  }
}

@keyframes ratePulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(173, 255, 198, 0.18), 0 16px 26px rgba(4, 34, 16, 0.5);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(173, 255, 198, 0.32), 0 20px 32px rgba(5, 40, 19, 0.6);
  }
}

@keyframes ratePop {
  0% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-6px) scale(1.06) rotate(-0.8deg);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes heroNoticeBeat {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  45% {
    transform: scale(1.08);
    filter: brightness(1.14);
  }
}

@keyframes heroNoticeRing {
  0% {
    opacity: 0.72;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes heroNoticeShine {
  0%,
  24% {
    transform: translateX(0) rotate(20deg);
  }
  54%,
  100% {
    transform: translateX(250%) rotate(20deg);
  }
}

@media (min-width: 761px) {
  .hero-note {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .hero-note strong,
  .hero-note-date,
  .hero-note-sub {
    width: 100%;
    text-align: center;
  }

  .hero-note-price {
    display: inline-flex;
    justify-content: center;
  }
}

@media (max-width: 1060px) {
  .menu-label-desktop {
    display: none;
  }

  .menu-label-mobile {
    display: inline;
  }

  .top-nav-inner {
    grid-template-columns: auto 1fr auto auto;
    min-height: 94px;
    gap: 10px;
  }

  .menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 340px);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 92px 18px calc(18px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #060f0a 0%, #0d1d14 100%);
    border-left: 1px solid rgba(132, 240, 171, 0.3);
    box-shadow: -18px 0 34px rgba(0, 0, 0, 0.45);
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.2s ease;
    z-index: 260;
  }

  .menu.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 4;
    grid-row: 1;
    align-self: center;
    width: 46px;
    height: 46px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    position: relative;
    overflow: hidden;
    border-color: #177337;
    background: linear-gradient(180deg, #32b457 0%, #1e8a40 100%);
    box-shadow: 0 10px 18px rgba(8, 60, 30, 0.3), inset 0 1px 0 rgba(159, 255, 188, 0.3);
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    border-color: #1a8140;
    background: linear-gradient(180deg, #39c25f 0%, #23984a 100%);
    box-shadow: 0 14px 24px rgba(8, 73, 36, 0.34), inset 0 1px 0 rgba(190, 255, 210, 0.42);
  }

  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2.5px;
    border-radius: 999px;
    background: #f3fff6;
    transition: top 0.22s ease, transform 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
  }

  .menu-toggle::before {
    top: 14px;
    box-shadow: 0 8px 0 #f3fff6, 0 16px 0 #f3fff6;
  }

  .menu-toggle::after {
    top: 22px;
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"]::before {
    top: 22px;
    transform: rotate(45deg);
    box-shadow: none;
  }

  .menu-toggle[aria-expanded="true"]::after {
    opacity: 1;
    transform: rotate(-45deg);
  }

  .menu a {
    width: 100%;
    border-bottom: 1px solid rgba(124, 225, 160, 0.18);
    padding: 12px 6px;
    font-size: 1.03rem;
    letter-spacing: 0.01em;
  }

  .menu a:last-child {
    border-bottom: 0;
  }

  .menu .menu-cta-item {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    border-bottom: 0;
    padding: 11px 14px;
  }

  .top-nav .cta-btn {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    width: min(560px, 100%);
  }

  .logo-image {
    width: min(300px, 44vw);
    height: auto;
    max-height: 74px;
  }

  .cards-3,
  .news-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kafel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rates-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-top-grid {
    grid-template-columns: 1fr;
  }

  .offer-pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
    background-image: none;
    background-color: #14231b;
  }

  .utility-inner {
    min-height: auto;
    padding: 9px 0 10px;
    align-items: center;
    justify-content: center;
  }

  .utility-left {
    flex-direction: row;
    gap: 8px 14px;
    font-size: clamp(0.9rem, 3.7vw, 1.02rem);
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .utility-left span {
    gap: 6px;
  }

  .utility-social {
    flex-basis: 100%;
    justify-content: center;
  }

  .top-nav-inner {
    min-height: 88px;
  }

  .top-nav-inner > .cta-btn {
    display: none;
  }

  .logo-image {
    width: min(280px, 72vw);
    height: auto;
    max-height: 88px;
  }

  .hero-inner {
    padding: 24px 0 22px;
    gap: 12px;
  }

  .hero-copy {
    order: 1;
    max-width: none;
    padding: 14px 14px 16px;
    border: 1px solid rgba(111, 208, 141, 0.82);
    border-radius: 16px;
    background:
      radial-gradient(circle at 8% 0%, rgba(194, 255, 210, 0.34), transparent 45%),
      linear-gradient(165deg, rgba(245, 255, 249, 0.9) 0%, rgba(229, 247, 236, 0.84) 100%);
    box-shadow: 0 12px 20px rgba(8, 63, 32, 0.16);
  }

  .hero-copy .eyebrow {
    color: #0f4d2b;
    font-size: clamp(0.8rem, 3.1vw, 0.92rem);
    line-height: 1.3;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    max-width: none;
  }

  .hero-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(1.9rem, 8.2vw, 2.42rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    max-width: 12ch;
    color: #0a2f1a;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38), 0 5px 12px rgba(8, 50, 27, 0.18);
  }

  .hero-copy h1::after {
    height: 3px;
    width: min(148px, 62%);
  }

  .hero-copy p {
    color: #163925;
    font-size: clamp(1rem, 4.45vw, 1.08rem);
    line-height: 1.4;
    max-width: none;
  }

  .hero-actions {
    margin-top: 16px;
    gap: 9px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions .btn-light,
  .hero-actions .btn-dark {
    width: 100%;
    min-height: 50px;
    font-size: 1.03rem;
    padding: 10px 12px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-note {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto 12px;
    width: min(242px, 94%);
    text-align: center;
    font-size: 0.82rem;
  }

  .sub-hero-inner {
    min-height: 220px;
    padding: 34px 0 22px;
  }

  .sub-hero .eyebrow {
    font-size: clamp(0.8rem, 3.1vw, 0.92rem);
    line-height: 1.3;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    max-width: 30ch;
  }

  .sub-hero h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.38rem);
    line-height: 1.04;
    letter-spacing: 0.01em;
    max-width: 13ch;
    padding-bottom: 10px;
  }

  .sub-hero h1::after {
    height: 3px;
    width: min(138px, 58%);
  }

  .sub-hero p {
    font-size: clamp(1rem, 4.6vw, 1.13rem);
    line-height: 1.45;
    max-width: 32ch;
  }

  .rates-spotlight {
    margin-top: 0;
  }

  .car-frame.has-image {
    width: min(460px, 100%);
    margin-left: 0;
  }

  .hero-car-img {
    width: 110%;
    margin-left: -5%;
  }

  .section {
    padding: 18px;
  }

  .fade-section,
  .premium-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .cards-3,
  .kafel-grid,
  .home-stats-grid,
  .rates-columns,
  .news-grid,
  .exam-focus-grid,
  .contact-grid,
  .offer-grid-modern,
  .offer-pricing-grid,
  .offer-org-grid,
  .offer-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    justify-items: center;
  }

  .home-stats-item:last-child {
    width: 100%;
  }

  .home-stats-ring {
    --stats-ring-size: min(220px, 82vw);
  }

  .thumb {
    width: 70%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-radius: 8px;
  }

  .offer-note {
    width: 100%;
    text-align: center;
  }

  .gallery-lightbox {
    padding: 12px;
    gap: 8px;
  }

  .lightbox-nav {
    width: 42px;
    height: 50px;
    font-size: 1.6rem;
  }

  .lightbox-close {
    width: 38px;
    height: 38px;
    top: 10px;
    right: 10px;
    font-size: 1.35rem;
  }
}

@media (max-width: 420px) {
  .hero-copy {
    padding: 13px 12px 14px;
  }

  .hero-copy h1 {
    font-size: clamp(1.72rem, 8vw, 2.05rem);
  }

  .hero-copy h1::after {
    width: min(120px, 56%);
  }

  .hero-copy p {
    font-size: clamp(0.96rem, 4.35vw, 1.04rem);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .sub-hero h1 {
    font-size: clamp(1.72rem, 8vw, 2.05rem);
  }

  .sub-hero h1::after {
    width: min(120px, 56%);
  }

  .sub-hero p {
    font-size: clamp(0.96rem, 4.35vw, 1.04rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-progress {
    display: none;
  }

  .hero-copy,
  .hero-visual,
  .hero-note,
  .hero-note::before,
  .hero-note::after,
  .fade-section,
  .premium-reveal,
  .section,
  .loader-road::before,
  .loader-car,
  .loader-car-shadow,
  .loader-progress span {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

}

.exam-intro-text {
  margin-bottom: 16px !important;
}

.exam-tests-root {
  margin-top: 10px;
}

.exam-only-page header,
.exam-only-page .footer,
.exam-only-page .content > .container > .section > h2,
.exam-only-page .content > .container > .section > .exam-intro-text {
  display: none !important;
}

.exam-only-page .content {
  padding: 0;
}

.exam-only-page .content > .container {
  width: min(1200px, 100vw);
}

.exam-only-page .content > .container > .section {
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.exam-only-page .content > .container > .section:hover {
  transform: none;
  box-shadow: none;
}

.exam-only-page .exam-tests-root {
  margin-top: 0;
}

.exam-only-page .scroll-progress {
  display: none !important;
}

.exam-app {
  display: grid;
  gap: 12px;
}

.exam-start-panel {
  border: 1px solid #8ac7a1;
  background:
    radial-gradient(circle at 95% 4%, rgba(80, 208, 115, 0.18), transparent 40%),
    linear-gradient(165deg, #f8fff9 0%, #eaf7ee 62%, #e0f2e7 100%);
  box-shadow: 0 12px 22px rgba(16, 75, 40, 0.13);
}

.exam-start-panel h3,
.exam-summary-panel h3,
.exam-shell h3,
.exam-state-title {
  margin: 0 0 8px;
  color: #0f6e2c;
  font-size: clamp(1.12rem, 2.3vw, 1.34rem);
}

.exam-state-panel p {
  margin: 0;
}

.exam-brand-strip {
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.exam-brand-strip span {
  border: 1px solid #b6d7c3;
  border-radius: 999px;
  background: #ffffff;
  color: #155a2b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 9px;
}

.exam-mode-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.exam-mode-card {
  border: 1px solid #bdd8c8;
  border-radius: 13px;
  background: #ffffff;
  padding: 13px;
  box-shadow: 0 7px 14px rgba(16, 76, 41, 0.1);
  display: grid;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.exam-mode-card:hover {
  transform: translateY(-2px);
  border-color: #7fbb96;
  box-shadow: 0 12px 18px rgba(15, 68, 36, 0.16);
}

.exam-mode-card h4 {
  margin: 0;
  color: #0f6e2c;
  font-size: 1.02rem;
}

.exam-mode-card p {
  margin: 0 !important;
  color: #1f1f1f;
}

.exam-mode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exam-mode-meta span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c3dbcf;
  border-radius: 999px;
  background: #f5fcf7;
  color: #22583a;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 8px;
}

.exam-steps-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.exam-steps-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #17422c;
  font-size: 0.95rem;
}

.exam-step-index {
  margin-top: 1px;
  min-width: 20px;
  min-height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2fb951 0%, #1e8a40 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.exam-action-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.exam-btn {
  min-width: 176px;
  width: auto;
  min-height: 46px;
  padding: 11px 16px !important;
  font-size: 0.97rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-width: 2px;
  box-shadow: 0 8px 15px rgba(11, 59, 33, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.exam-mode-card .exam-btn {
  width: 100%;
}

.exam-btn-primary {
  background: linear-gradient(180deg, #36bf5d 0%, #208f43 100%);
  border-color: #19783a;
  color: #f5fff8;
  box-shadow: 0 11px 18px rgba(10, 67, 33, 0.25), inset 0 1px 0 rgba(186, 255, 209, 0.32);
}

.exam-btn-primary:hover,
.exam-btn-primary:focus-visible {
  background: linear-gradient(180deg, #3dca65 0%, #24984a 100%);
  border-color: #1e8741;
  color: #fff;
}

.exam-btn-ghost,
.exam-btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #ecf5f0 100%);
  border-color: #9fc0ae;
  color: #123021;
}

.exam-btn-ghost:hover,
.exam-btn-ghost:focus-visible {
  border-color: #5aa378;
  background: linear-gradient(180deg, #ffffff 0%, #e5f4eb 100%);
}

.exam-btn-accent,
.exam-btn-finish {
  background: linear-gradient(180deg, #32b457 0%, #1e8a40 100%);
  border-color: #166f35;
  color: #f6fff8;
  box-shadow: 0 11px 19px rgba(8, 63, 31, 0.28), inset 0 1px 0 rgba(168, 255, 196, 0.34);
}

.exam-btn-accent:hover,
.exam-btn-accent:focus-visible {
  background: linear-gradient(180deg, #39c25f 0%, #23984a 100%);
  border-color: #1c8140;
}

.exam-btn-prev {
  justify-self: start;
}

.exam-btn-next {
  justify-self: center;
}

.exam-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.exam-shell {
  display: grid;
  gap: 12px;
  border: 1px solid #91c6a6;
  background:
    radial-gradient(circle at 98% 2%, rgba(71, 201, 108, 0.12), transparent 40%),
    linear-gradient(165deg, #fcfffd 0%, #f2fbf5 60%, #ecf7f0 100%);
  box-shadow: 0 12px 22px rgba(17, 74, 40, 0.12);
}

.exam-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 12px;
  align-items: start;
}

@media (min-width: 901px) {
  .exam-layout.is-study-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .exam-layout.is-study-layout .exam-sidebar {
    position: static;
    top: auto;
    gap: 8px;
    padding: 10px;
  }

  .exam-layout.is-study-layout .exam-sidebar-subtitle,
  .exam-layout.is-study-layout .exam-sidebar-note {
    display: none;
  }

  .exam-layout.is-study-layout .exam-sidebar-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .exam-layout.is-study-layout .exam-sidebar-pill {
    font-size: 0.76rem;
    padding: 4px 8px;
    text-align: center;
  }

  .exam-layout.is-study-layout .exam-question-nav-grid {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 5px;
  }

  .exam-layout.is-study-layout .exam-question-nav-btn {
    min-height: 28px;
    border-radius: 8px;
    font-size: 0.8rem;
  }
}

.exam-sidebar {
  display: grid;
  gap: 10px;
  border: 1px solid #9ecab0;
  background:
    radial-gradient(circle at 95% 4%, rgba(80, 208, 115, 0.14), transparent 40%),
    linear-gradient(165deg, #fcfffd 0%, #f2fbf5 62%, #eaf6ef 100%);
  box-shadow: 0 10px 18px rgba(17, 74, 40, 0.11);
  position: sticky;
  top: 92px;
}

.exam-sidebar-title {
  margin: 0;
  color: #0f6e2c;
  font-size: 1rem;
}

.exam-sidebar-subtitle {
  margin: 0 !important;
  color: #25513a !important;
  font-size: 0.88rem;
}

.exam-sidebar-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.exam-sidebar-pill {
  border: 1px solid #b8d7c5;
  border-radius: 999px;
  background: #f6fcf8;
  color: #1b4f32;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 10px;
}

.exam-sidebar-note {
  margin: 0 !important;
  border: 1px dashed #a4cbb4;
  border-radius: 10px;
  background: #f8fcf9;
  color: #24523b !important;
  font-size: 0.85rem;
  padding: 8px 10px;
}

.exam-helper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.exam-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.exam-top-center {
  display: grid;
  gap: 2px;
}

.exam-mobile-back {
  display: none;
  min-width: 42px;
  width: 42px;
  min-height: 42px;
  height: 42px;
  padding: 0 !important;
  font-size: 1.25rem;
  line-height: 1;
}

.exam-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.exam-timer-badge {
  min-width: 112px;
  border: 2px solid #1d8040;
  border-radius: 11px;
  background: linear-gradient(180deg, #f5fff8 0%, #e4f7ea 100%);
  color: #0f5d28;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 9px 12px;
}

.exam-question-timer-badge {
  min-width: 148px;
  border: 2px solid #4e7588;
  border-radius: 11px;
  background: linear-gradient(180deg, #f5fbff 0%, #e6f2fa 100%);
  color: #17445f;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 9px 12px;
}

.exam-question-timer-badge.is-read-phase {
  border-color: #3f7d57;
  background: linear-gradient(180deg, #f3fff8 0%, #e3f5eb 100%);
  color: #114f2d;
}

.exam-question-timer-badge.is-answer-phase {
  border-color: #8f6d1e;
  background: linear-gradient(180deg, #fffaf0 0%, #ffefcc 100%);
  color: #624409;
}

.exam-timer-badge.is-warning {
  border-color: #b98515;
  background: linear-gradient(180deg, #fff8ea 0%, #ffefcc 100%);
  color: #6b4a03;
}

.exam-timer-badge.is-danger {
  border-color: #b53838;
  background: linear-gradient(180deg, #fff1f1 0%, #ffdede 100%);
  color: #7c1e1e;
  animation: examTimerPulse 1s ease-in-out infinite;
}

.exam-session-label {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #1b6634 !important;
  font-weight: 700;
}

.exam-progress-label {
  margin: 2px 0 0 !important;
  font-size: 1.04rem;
  font-weight: 700;
  color: #111;
}

.exam-progress-track {
  height: 8px;
  border: 1px solid #bdd8c7;
  border-radius: 999px;
  overflow: hidden;
  background: #f8fef9;
}

.exam-progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1f8d39, #36c158);
}

.exam-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exam-meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bad5c4;
  border-radius: 999px;
  background: #f4fbf6;
  color: #163d27;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 5px 10px;
}

.exam-stat-badge {
  border: 1px solid #2f9f52;
  border-radius: 999px;
  background: #eefcf2;
  color: #0f5d28;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 10px;
}

.exam-question-text {
  margin: 0;
  color: #111;
  font-size: clamp(1.06rem, 2.1vw, 1.2rem);
  line-height: 1.42;
}

.exam-question-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.exam-inline-qtimer {
  flex: 0 0 auto;
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid #ca5968;
  background: linear-gradient(180deg, #ff6077 0%, #e14a61 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 7px 10px;
  box-shadow: 0 6px 12px rgba(132, 28, 44, 0.2);
}

.exam-inline-qtimer.is-warning {
  border-color: #b98515;
  background: linear-gradient(180deg, #ffcb5a 0%, #e7a31e 100%);
  color: #4f3302;
}

.exam-inline-qtimer.is-danger {
  border-color: #9d2d3e;
  background: linear-gradient(180deg, #ff526b 0%, #cf3148 100%);
  color: #fff;
}

.exam-tip-box {
  margin: 0;
  border: 1px dashed #9fc9af;
  border-radius: 12px;
  background: #f8fcf9;
  color: #214531;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 12px;
}

.exam-media-box {
  margin: 0;
  border: 1px solid #c4dccd;
  border-radius: 12px;
  background: #ffffff;
  padding: 8px;
  display: grid;
  gap: 6px;
}

.exam-media-image,
.exam-media-video {
  width: 100%;
  max-height: 360px;
  border-radius: 9px;
  background: #000;
  object-fit: contain;
}

.exam-media-video::-webkit-media-controls,
.exam-media-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.exam-media-link {
  font-weight: 700;
  color: #0e5f29;
}

.exam-media-warning {
  margin: 0;
  border: 1px solid #d8c789;
  border-radius: 10px;
  background: #fff8e9;
  color: #5a4411;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 10px;
}

.exam-media-missing {
  display: none;
  border: 1px dashed #c7acac;
  border-radius: 10px;
  background: #fff5f5;
  color: #7b1f1f;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px;
}

.exam-media-box.is-failed .exam-media-image,
.exam-media-box.is-failed .exam-media-video {
  display: none;
}

.exam-media-box.is-failed .exam-media-missing {
  display: block;
}

.exam-media-fallback {
  border: 1px dashed #9dc4ad;
  border-radius: 12px;
  background: #f8fcf9;
  padding: 10px;
}

.exam-answers-list {
  display: grid;
  gap: 8px;
}

.exam-study-feedback {
  border: 1px solid #b8d7c5;
  border-radius: 12px;
  background: #f5fcf7;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
}

.exam-study-feedback strong {
  font-size: 0.95rem;
}

.exam-study-feedback span {
  font-size: 0.9rem;
  color: #1f1f1f;
}

.exam-study-feedback.is-correct {
  border-color: #2f9f52;
  background: #ecfaf0;
  color: #114f2d;
}

.exam-study-feedback.is-wrong {
  border-color: #b98515;
  background: #fff7ea;
  color: #664608;
}

.exam-answer-option {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid #c8ddd0;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.exam-answer-option:hover {
  border-color: #73af8b;
  box-shadow: 0 10px 16px rgba(18, 72, 40, 0.13);
  transform: translateY(-1px);
}

.exam-answer-option input {
  margin-top: 2px;
}

.exam-answer-option:focus-within {
  border-color: #1f8d39;
  box-shadow: 0 0 0 3px rgba(52, 170, 84, 0.22);
}

.exam-answer-option.is-selected {
  border-color: #2d9f50;
  background: linear-gradient(145deg, #f0fff4 0%, #e7f8ed 100%);
  box-shadow: 0 10px 16px rgba(20, 84, 46, 0.17);
}

.exam-answer-option.is-locked {
  cursor: not-allowed;
  opacity: 0.82;
  border-color: #b8cfc1;
  background: #f7fbf9;
  box-shadow: none;
}

.exam-answer-option.is-locked:hover {
  transform: none;
  border-color: #b8cfc1;
  box-shadow: none;
}

.exam-answer-letter {
  min-width: 22px;
  min-height: 22px;
  border: 1px solid #a7cab5;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #155c2b;
  font-size: 0.82rem;
  font-weight: 800;
}

.exam-answer-text {
  color: #101010;
  font-size: 0.98rem;
  line-height: 1.42;
}

.exam-no-answers {
  margin: 0;
  border: 1px dashed #accfb9;
  border-radius: 12px;
  padding: 10px;
  background: #f6fcf8;
}

.exam-question-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.exam-question-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  appearance: none;
  cursor: default;
  border: 1px solid #afcdbb;
  border-radius: 10px;
  background: #fff;
  color: #173f2b;
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 1;
  min-height: 34px;
}

button.exam-question-nav-btn {
  cursor: pointer;
}

button.exam-question-nav-btn:focus-visible {
  outline: 2px solid #20753d;
  outline-offset: 2px;
}

.exam-question-nav-btn.is-answered {
  border-color: #259449;
  background: linear-gradient(180deg, #e9f9ef 0%, #ddf3e6 100%);
  color: #0f5827;
}

.exam-question-nav-btn.is-unanswered {
  border-color: #ca9b2f;
  background: linear-gradient(180deg, #fff9ee 0%, #fff0d7 100%);
  color: #6f4f10;
}

.exam-question-nav-btn.is-current {
  border-color: #1f6e39;
  background: linear-gradient(180deg, #1f8d39 0%, #176a2c 100%);
  color: #fff;
  box-shadow: 0 8px 14px rgba(9, 58, 31, 0.28);
}

.exam-nav-row {
  margin-top: 2px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(235px, 1.2fr);
  align-items: stretch;
  gap: 10px;
}

.exam-summary-subtitle {
  margin: 0 0 10px !important;
  font-weight: 700;
}

.exam-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.exam-summary-item {
  border: 1px solid #c5dccd;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  text-align: center;
}

.exam-summary-item strong {
  display: block;
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  color: #0f6e2c;
  line-height: 1.1;
}

.exam-summary-item span {
  font-size: 0.85rem;
  color: #333;
  font-weight: 700;
}

.exam-summary-note {
  margin: 10px 0 0 !important;
}

.exam-loading-panel {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.exam-loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #c5decf;
  border-top-color: #1f8d39;
  border-radius: 50%;
  animation: examSpinner 0.85s linear infinite;
}

@keyframes examSpinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes examTimerPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@media (max-width: 1200px) {
  .exam-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .exam-mode-grid {
    grid-template-columns: 1fr;
  }

  .exam-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exam-top-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .exam-top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .exam-layout {
    grid-template-columns: 1fr;
  }

  .exam-sidebar {
    position: static;
    top: auto;
  }

  .exam-nav-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .exam-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .exam-shell {
    border-radius: 16px;
    padding: 12px;
    background:
      radial-gradient(circle at 95% 3%, rgba(70, 201, 108, 0.08), transparent 44%),
      linear-gradient(165deg, #f9fffb 0%, #f1f8f4 60%, #edf5f0 100%);
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .exam-top-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
  }

  .exam-mobile-back {
    display: inline-flex;
  }

  .exam-top-center {
    justify-items: center;
  }

  .exam-session-label {
    display: none;
  }

  .exam-progress-label {
    margin: 0 !important;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: 0.01em;
  }

  .exam-top-actions {
    justify-content: flex-end;
  }

  .exam-top-actions [data-action="new-exam"],
  .exam-top-actions [data-action="back-to-start"] {
    display: none;
  }

  .exam-question-timer-badge {
    display: none;
  }

  .exam-timer-badge {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2f4e3b;
    font-size: 1.06rem;
    font-weight: 800;
    padding: 0;
    box-shadow: none;
  }

  .exam-progress-track,
  .exam-helper-row,
  .exam-tip-box {
    display: none;
  }

  .exam-sidebar {
    order: -1;
    position: static;
    top: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 6px;
  }

  .exam-sidebar-title,
  .exam-sidebar-subtitle,
  .exam-sidebar-stats,
  .exam-sidebar-note {
    display: none;
  }

  .exam-question-nav-grid {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 2px 2px;
  }

  .exam-question-nav-grid::-webkit-scrollbar {
    display: none;
  }

  .exam-question-nav-btn {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
    font-size: 1.04rem;
    border-color: #d5ddd8;
    background: #eef2ef;
    color: #1b2f21;
  }

  .exam-question-nav-btn.is-unanswered {
    border-color: #d5ddd8;
    background: #eef2ef;
    color: #1b2f21;
  }

  .exam-question-nav-btn.is-answered {
    border-color: #84c29d;
    background: #e6f6ec;
    color: #155c2d;
  }

  .exam-question-nav-btn.is-current {
    border-color: #1f7b3d;
    background: linear-gradient(180deg, #2cb556 0%, #1c8a41 100%);
    color: #fff;
    box-shadow: 0 8px 14px rgba(9, 58, 31, 0.24);
  }

  .exam-media-box {
    border: 0;
    border-radius: 16px;
    background: #ebefec;
    padding: 10px;
    justify-items: center;
    gap: 8px;
  }

  .exam-media-image,
  .exam-media-video {
    max-height: 300px;
    border-radius: 12px;
    background: transparent;
  }

  .exam-question-headline {
    margin-top: 2px;
  }

  .exam-question-text {
    font-size: 1.12rem;
    line-height: 1.34;
    letter-spacing: 0.005em;
  }

  .exam-inline-qtimer {
    margin-top: 2px;
    font-size: 1rem;
    padding: 8px 11px;
  }

  .exam-answers-list {
    border-top: 1px solid #d4ddd6;
    border-bottom: 1px solid #d4ddd6;
    border-radius: 12px;
    overflow: hidden;
    gap: 0;
    background: #fff;
  }

  .exam-answer-option {
    grid-template-columns: auto 1fr;
    border: 0;
    border-bottom: 1px solid #e5ece7;
    border-radius: 0;
    padding: 14px 12px;
    gap: 10px;
    transform: none !important;
    box-shadow: none !important;
  }

  .exam-answer-option:last-child {
    border-bottom: 0;
  }

  .exam-answer-option:hover {
    border-bottom-color: #e5ece7;
  }

  .exam-answer-option input {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #a8b6ad;
    margin-top: 3px;
    background: #fff;
  }

  .exam-answer-option.is-selected input {
    border-color: #228f46;
    box-shadow: inset 0 0 0 4px #228f46;
  }

  .exam-answer-letter {
    display: none;
  }

  .exam-answer-text {
    font-size: 1.02rem;
    line-height: 1.3;
    letter-spacing: 0.002em;
  }

  .exam-action-row {
    flex-direction: column;
  }

  .exam-btn {
    width: 100%;
    min-width: 0;
  }

  .exam-nav-row {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 360;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #061209 0%, #0c1f13 100%);
    border-top: 1px solid rgba(161, 241, 191, 0.22);
    box-shadow: 0 -10px 22px rgba(0, 0, 0, 0.34);
    gap: 8px;
  }

  .exam-nav-row .exam-btn-next {
    min-height: 54px;
    font-size: 1.02rem;
    border-radius: 12px;
  }

  .exam-nav-row .exam-btn-finish {
    display: none;
  }

  .exam-nav-row.is-last-question {
    grid-template-columns: 1fr 1fr;
  }

  .exam-nav-row.is-last-question .exam-btn-finish {
    display: inline-flex;
  }

  .exam-nav-row.is-last-question .exam-btn-next {
    min-height: 52px;
  }

  .exam-meta-row {
    gap: 6px;
  }

  .exam-meta-chip {
    font-size: 0.8rem;
  }

  .exam-helper-row {
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .exam-question-text {
    font-size: 0.98rem;
    line-height: 1.32;
  }

  .exam-timer-badge {
    font-size: 0.9rem;
  }

  .exam-inline-qtimer {
    font-size: 0.86rem;
    padding: 6px 9px;
  }
}
