:root {
  --ink: #20242b;
  --muted: #667085;
  --line: #d9dde5;
  --paper: #ffffff;
  --soft: #f6f7f2;
  --asphalt: #17191f;
  --yellow: #f7c948;
  --red: #d7352a;
  --green: #2f8f63;
  --blue: #2364aa;
  --shadow: 0 18px 45px rgba(23, 25, 31, .12);
  --radius: 8px;
  --wrap: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

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

img,
svg {
  max-width: 100%;
}

.section-wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 8px 20px;
  color: #f7f7f7;
  font-size: .9rem;
  background: var(--asphalt);
}

.topbar a {
  color: #ffffff;
  font-weight: 700;
}

.nav {
  width: var(--wrap);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(23, 25, 31, .12);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: .82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #38404a;
  font-weight: 700;
  font-size: .94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #f0f2f5;
  outline: none;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .08);
}

.nav-links .lang-switcher a {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--muted);
}

.nav-links .lang-switcher a[aria-current="page"] {
  color: var(--asphalt);
  background: var(--yellow);
}

.mobile-lang-switcher {
  display: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  color: #38404a;
  background: transparent;
  font: inherit;
  font-weight: 900;
  font-size: .94rem;
  cursor: pointer;
}

.nav-dropdown > button::after {
  content: "▾";
  margin-left: 6px;
  color: var(--red);
  font-size: .72rem;
}

.nav-dropdown:hover > button,
.nav-dropdown:focus-within > button {
  background: #f0f2f5;
  outline: none;
}

.nav-submenu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 320px;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  display: grid;
}

.nav-submenu a {
  min-height: auto;
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 800;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--asphalt);
  background: #fff5c8;
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  min-height: min(760px, calc(100svh - 112px));
  display: grid;
  align-items: end;
  color: #ffffff;
  background-color: var(--asphalt);
  background-image: url("assets/road-sign-pattern.svg");
  background-size: 620px 420px;
  background-position: right top;
}

.hero-inner {
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(72px, 11vw, 132px) 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 5.8rem);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: #eef0f3;
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

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

.ai-hero-card {
  position: relative;
  width: min(520px, 100%);
  min-height: 82px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  overflow: hidden;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  animation: aiCardPulse 2.8s ease-in-out infinite;
}

.ai-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .22) 44%, transparent 58%);
  transform: translateX(-120%);
  animation: aiCardSweep 4.2s ease-in-out infinite;
}

.ai-hero-card > * {
  position: relative;
  z-index: 1;
}

.ai-pulse {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--asphalt);
  background: var(--yellow);
  border: 3px solid #ffffff;
  font-weight: 900;
  animation: aiBadgePulse 1.7s ease-in-out infinite;
}

.ai-hero-card strong,
.ai-hero-card small {
  display: block;
}

.ai-hero-card strong {
  font-size: 1.1rem;
}

.ai-hero-card small {
  margin-top: 3px;
  color: #e6ebf0;
  font-weight: 700;
  line-height: 1.35;
}

.ai-hero-card:hover,
.ai-hero-card:focus-visible {
  border-color: var(--yellow);
  outline: 3px solid rgba(247, 201, 72, .26);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 900;
  line-height: 1;
}

.btn-primary {
  color: var(--asphalt);
  background: var(--yellow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffd95b;
  outline: 3px solid rgba(247, 201, 72, .28);
}

.btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
}

.btn-light {
  color: var(--asphalt);
  border-color: var(--line);
  background: #ffffff;
}

.btn-light:hover,
.btn-light:focus-visible {
  border-color: var(--yellow);
  outline: 3px solid rgba(247, 201, 72, .22);
}

.btn-ai {
  color: #ffffff;
  border-color: #2364aa;
  background: #2364aa;
}

.btn-ai:hover,
.btn-ai:focus-visible {
  background: #174b83;
  outline: 3px solid rgba(35, 100, 170, .24);
}

.contact-grid .btn-secondary {
  color: var(--asphalt);
  border-color: var(--asphalt);
  background: var(--paper);
}

.trust-strip {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 54px 0 0;
  padding: 0;
}

.trust-strip div {
  min-height: 96px;
  padding: 18px;
  border-left: 5px solid var(--yellow);
  background: rgba(255, 255, 255, .1);
}

.trust-strip dt {
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 900;
}

.trust-strip dd {
  margin: 8px 0 0;
  color: #e1e4e8;
}

.page-hero {
  color: #ffffff;
  background-color: var(--asphalt);
  background-image: url("assets/road-sign-pattern.svg");
  background-size: 620px 420px;
  background-position: right top;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: 42px;
  align-items: end;
  padding: clamp(64px, 9vw, 104px) 0 48px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #dce2e8;
  font-weight: 700;
  font-size: .92rem;
}

.breadcrumbs a {
  color: var(--yellow);
}

.quick-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.quick-panel strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.quick-panel ul,
.info-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.hero-price-card {
  width: fit-content;
  max-width: 100%;
  display: grid;
  gap: 2px;
  margin: 24px 0 0;
  padding: 18px 22px;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  color: var(--asphalt);
  background: linear-gradient(135deg, #fff7c2 0%, #f7c948 100%);
  box-shadow: 0 22px 44px rgba(247, 201, 72, .28);
}

.hero-price-card-wide {
  width: min(100%, 620px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-price-card small {
  color: rgba(23, 25, 31, .72);
  font-size: .76rem;
  font-weight: 800;
}

.hero-price-card-wide small {
  grid-column: 1 / -1;
}

.hero-price-label {
  color: rgba(23, 25, 31, .76);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-price-amount {
  display: block;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: .95;
  color: var(--red);
  text-shadow: 0 3px 0 #ffffff;
}

.hero-price-pair {
  min-width: 0;
}

.animated-price {
  animation: priceBoom 2.4s ease-in-out infinite;
}

@keyframes priceBoom {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 22px 44px rgba(247, 201, 72, .28);
  }

  50% {
    transform: scale(1.035);
    box-shadow: 0 28px 58px rgba(247, 201, 72, .42);
  }
}

.moto-hero-grid {
  align-items: center;
}

.moto-visual {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
}

.moto-visual img {
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .34));
}

.a1-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(247, 201, 72, .36), transparent 30%),
    linear-gradient(135deg, #17191f 0%, #273141 64%, #11151c 100%);
}

.a1-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% 42%;
  height: 260px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 78px, transparent 78px 118px);
  transform: rotate(-8deg);
  opacity: .42;
}

.a1-quick-grid {
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.a1-quick-grid span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.a1-quick-grid strong {
  color: var(--yellow);
  font-size: clamp(1.28rem, 3vw, 1.9rem);
  line-height: 1;
}

.a1-quick-grid small {
  color: rgba(255, 255, 255, .74);
  font-weight: 800;
}

.a1-hero-visual {
  position: relative;
  min-height: 390px;
  background:
    radial-gradient(circle at 50% 52%, rgba(247, 201, 72, .24), transparent 42%),
    rgba(255, 255, 255, .08);
}

.a1-hero-visual img {
  animation: homeOfferImageFloat 3s ease-in-out infinite;
}

.a1-code-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: var(--asphalt);
  background: var(--yellow);
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .24);
  animation: homeOfferBadgeFlash 1.6s ease-in-out infinite;
}

.a1-overview {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.a1-overview .section-heading {
  padding-top: 0;
}

.a1-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.a1-fact-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(23, 25, 31, .08);
}

.a1-fact-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -40px auto;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(247, 201, 72, .28);
  border-radius: 50%;
}

.a1-fact-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--red);
  font-weight: 900;
}

.a1-fact-card h3 {
  margin-bottom: 10px;
}

.a1-fact-card p {
  margin: 0;
  color: var(--muted);
}

.a1-note-section {
  padding-top: 58px;
}

.a1-drive-section {
  background: #f6f8fb;
}

.a1-final-cta {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(23, 25, 31, .96), rgba(39, 49, 65, .96)),
    url("assets/road-sign-pattern.svg");
  background-size: auto, 520px 350px;
}

.a1-final-cta .cta-inner {
  min-height: 260px;
}

.a1-final-cta p {
  color: rgba(255, 255, 255, .82);
}

.taxi-visual {
  min-height: 300px;
  padding: 0;
  overflow: hidden;
}

.taxi-visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: none;
}

.old-license-visual {
  min-height: 330px;
  padding: 0;
  overflow: hidden;
}

.old-license-visual img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: none;
}

.foreign-license-visual {
  min-height: 300px;
  padding: 0;
  overflow: hidden;
}

.foreign-license-visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: none;
  image-rendering: auto;
}

.transfer-visual img {
  width: min(100%, 480px);
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .26));
}

.metekpaidefsi-visual {
  padding: 0;
  overflow: hidden;
}

.metekpaidefsi-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: none;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
}

.about-photo img {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.about-photo div {
  padding: 18px;
}

.about-photo strong,
.about-photo span {
  display: block;
}

.about-photo strong {
  font-size: 1.15rem;
}

.about-photo span {
  margin-top: 4px;
  color: #dce2e8;
}

.notice {
  background: var(--yellow);
}

.notice-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 0;
}

.notice strong {
  font-size: 1.08rem;
}

.notice p {
  margin: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 76px 0 34px;
}

.intro-grid article,
.service-card,
.review-grid figure,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(23, 25, 31, .02);
}

.intro-grid article {
  min-height: 260px;
  padding: 24px;
}

.intro-grid h2 {
  margin-top: 18px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.intro-grid p,
.service-card p,
.section-heading p,
.split-section p,
.training-grid p,
.cta-inner p,
.contact-grid p,
.detail-intro p,
.main-content p,
.info-card p,
.faq-grid p {
  color: var(--muted);
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, .85fr);
  gap: 44px;
  padding: 70px 0 38px;
  border-bottom: 1px solid var(--line);
}

.detail-intro p {
  margin: 0;
  font-size: 1.04rem;
}

.category-section {
  padding: 34px 0 72px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.category-card span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--asphalt);
  background: var(--yellow);
  border: 4px solid var(--asphalt);
  font-weight: 900;
}

.category-card h3 {
  margin-bottom: 10px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

.professional-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 34px 0 76px;
}

.professional-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(23, 25, 31, .02);
}

.professional-card:hover,
.professional-card:focus-visible {
  outline: 3px solid rgba(247, 201, 72, .36);
  border-color: rgba(247, 201, 72, .9);
}

.professional-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: var(--radius);
  background: #f1f3f5;
}

.professional-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--asphalt);
  background: var(--yellow);
  font-weight: 900;
  font-size: .88rem;
}

.professional-card h3 {
  margin-bottom: 10px;
}

.professional-card p {
  margin: 0;
  color: var(--muted);
}

.license-option-card {
  min-height: 230px;
}

.two-option-picker {
  grid-template-columns: repeat(2, 1fr);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .45fr);
  gap: 38px;
  align-items: start;
  padding: 68px 0 78px;
}

.main-content h2 {
  margin-bottom: 18px;
}

.instruction-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.instruction-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.instruction-list li::marker {
  color: var(--red);
  font-weight: 900;
}

.instruction-list a,
.main-content a,
.faq-grid a,
.inline-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.main-content a.btn,
.paravola-link-card a.btn {
  text-decoration: none;
}

.main-content a.btn-primary,
.main-content a.btn-light,
.paravola-link-card a.btn {
  color: var(--asphalt);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--paper);
}

.fee-table th,
.fee-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.fee-table th {
  color: var(--asphalt);
  background: var(--yellow);
  font-weight: 900;
}

.fee-table tr:last-child td {
  border-bottom: 0;
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 20px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--green);
}

.cta-note p {
  margin: 6px 0 0;
  color: #edf8f2;
}

.price-inclusion-note {
  display: block;
  margin-top: 8px;
  font-size: .95rem;
  font-weight: 900;
}

.paravola-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 2px solid rgba(247, 201, 72, .7);
  border-radius: var(--radius);
  background: #fff9dd;
}

.paravola-link-card strong {
  display: block;
  margin-bottom: 4px;
}

.paravola-link-card p {
  margin: 0;
  color: var(--muted);
}

.paravola-picker {
  position: relative;
  overflow: hidden;
  margin: 26px 0 22px;
  padding: 22px;
  border: 2px solid rgba(247, 201, 72, .82);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 201, 72, .2), rgba(255, 255, 255, .94) 46%),
    var(--paper);
  box-shadow: 0 18px 40px rgba(24, 31, 42, .08);
}

.paravola-picker::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 28px, var(--asphalt) 28px 42px);
}

.paravola-picker h3 {
  margin-bottom: 8px;
  color: var(--asphalt);
}

.paravola-picker > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.paravola-select-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  margin-top: 18px;
}

.paravola-select-row label {
  display: grid;
  gap: 8px;
  color: var(--asphalt);
  font-weight: 900;
}

.paravola-select-row select {
  width: 100%;
  min-height: 50px;
  padding: 0 46px 0 14px;
  border: 1px solid rgba(24, 31, 42, .2);
  border-radius: 8px;
  color: var(--asphalt);
  background:
    linear-gradient(45deg, transparent 50%, var(--asphalt) 50%) calc(100% - 22px) 22px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--asphalt) 50%, transparent 50%) calc(100% - 16px) 22px / 7px 7px no-repeat,
    #ffffff;
  font: inherit;
  font-weight: 700;
  appearance: none;
}

.paravola-select-row select:focus {
  border-color: var(--yellow);
  outline: 3px solid rgba(247, 201, 72, .28);
}

.paravola-select-row select:disabled {
  color: #7a828d;
  background-color: #eef1f4;
  cursor: not-allowed;
}

.paravola-result {
  display: grid;
  gap: 5px;
  min-height: 86px;
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed rgba(24, 31, 42, .24);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
}

.paravola-result > strong {
  color: var(--asphalt);
}

.paravola-result.has-result {
  display: block;
  border-style: solid;
  border-color: rgba(51, 122, 88, .22);
  background: #ffffff;
}

.paravola-result-card {
  overflow-x: auto;
}

.paravola-result-card h4 {
  margin-bottom: 6px;
  color: var(--asphalt);
}

.paravola-result-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.paravola-total {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 2px solid rgba(247, 201, 72, .72);
  border-radius: 8px;
  color: var(--asphalt);
  background: #fff7d1;
}

.paravola-total span {
  font-weight: 900;
}

.paravola-total strong {
  font-size: 1.35rem;
  line-height: 1;
}

.mini-fee-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .95rem;
}

.mini-fee-table th,
.mini-fee-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mini-fee-table th {
  color: var(--asphalt);
  background: #fff2b8;
  font-weight: 900;
}

.mini-fee-table tr:last-child td {
  border-bottom: 0;
}

.paravola-result-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.all-fees-title {
  margin: 30px 0 14px;
  color: var(--asphalt);
}

.side-content {
  display: grid;
  gap: 14px;
}

.info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.info-card h3 {
  margin-bottom: 14px;
}

.info-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin: 2px 0 14px;
  padding: 8px;
  border-radius: var(--radius);
  background: #f1f3f5;
}

.alert-card {
  border-color: rgba(215, 53, 42, .35);
  background: #fff8f6;
}

.alert-card p {
  margin-bottom: 0;
}

.transfer-gov-notice {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  padding: 18px;
  border: 2px solid rgba(35, 100, 170, .35);
  border-radius: var(--radius);
  background: #eef5ff;
  box-shadow: 0 12px 26px rgba(35, 100, 170, .12);
}

.transfer-gov-notice strong {
  color: var(--blue);
  font-size: 1.02rem;
}

.transfer-gov-notice span {
  color: var(--ink);
  font-weight: 800;
}

.cost-card {
  position: relative;
  border: 2px solid var(--yellow);
  background: #fff9dd;
  box-shadow: 0 16px 34px rgba(247, 201, 72, .22);
}

.cost-card h3 {
  color: var(--red);
}

.cost-card li {
  color: var(--asphalt);
  font-weight: 900;
}

.animated-highlight {
  animation: highlightPulse 2.6s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 34px rgba(247, 201, 72, .20);
  }

  50% {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(247, 201, 72, .36);
  }
}

.mini-sign {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 900;
}

.mini-sign.yellow {
  color: var(--asphalt);
  background: var(--yellow);
}

.mini-sign.green {
  background: var(--green);
}

.mini-sign.red {
  background: var(--red);
}

.section-heading {
  max-width: 770px;
  margin: 0 0 28px;
  padding-top: 62px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 76px;
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.service-card.featured {
  border-color: rgba(215, 53, 42, .45);
  background: #fff8f6;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--asphalt);
  background: var(--yellow);
  font-weight: 900;
}

.service-card p {
  margin: 12px 0 20px;
}

.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.offers-teaser {
  padding: 0 0 76px;
}

.offers-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 20px;
}

.offers-heading h2 {
  margin: 12px 0 8px;
}

.offers-heading p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.offers-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius);
  color: #ffffff;
  background-color: var(--asphalt);
  background-image: url("assets/road-sign-pattern.svg");
  background-size: 420px 280px;
  border: 1px solid rgba(247, 201, 72, .42);
  box-shadow: var(--shadow);
  animation: offerBandPulse 3.4s ease-in-out infinite;
}

.offers-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .16) 45%, transparent 58%);
  transform: translateX(-120%);
  animation: offerSweep 4.8s ease-in-out infinite;
}

.offers-banner > * {
  position: relative;
  z-index: 1;
}

.offers-banner h2 {
  margin: 10px 0 8px;
}

.offers-banner p {
  max-width: 760px;
  margin: 0;
  color: #e7edf4;
}

.offer-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--asphalt);
  background: var(--yellow);
  font-weight: 900;
  animation: offerBadgePulse 1.9s ease-in-out infinite;
}

.home-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.home-offer-card {
  position: relative;
  min-width: 0;
  min-height: 420px;
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  border: 1px solid rgba(23, 25, 31, .10);
  border-radius: var(--radius);
  color: var(--asphalt);
  text-decoration: none;
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(23, 25, 31, .10);
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  animation: homeOfferIn .7s ease both, homeOfferCardBeat 3.6s ease-in-out 1.1s infinite;
}

.home-offer-card:nth-child(2) {
  animation-delay: .08s;
}

.home-offer-card:nth-child(3) {
  animation-delay: .16s;
}

.home-offer-card:nth-child(4) {
  animation-delay: .24s;
}

.home-offer-card::before,
.home-offer-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-offer-card::before {
  inset: 0;
  z-index: 2;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .42) 45%, transparent 62%);
  transform: translateX(-130%);
  animation: homeOfferSweep 4.2s ease-in-out infinite;
}

.home-offer-card::after {
  inset: auto 16px 16px auto;
  width: 42px;
  height: 42px;
  z-index: 1;
  border-right: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
  opacity: .95;
  animation: homeOfferCorner 1.6s ease-in-out infinite;
}

.home-offer-card:hover,
.home-offer-card:focus-visible {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(215, 53, 42, .44);
  box-shadow: 0 26px 58px rgba(23, 25, 31, .18);
}

.home-offer-card.featured {
  border-color: rgba(247, 201, 72, .8);
  box-shadow: 0 24px 58px rgba(247, 201, 72, .20);
  animation: homeOfferIn .7s ease both, homeOfferPulse 2.2s ease-in-out .8s infinite;
}

.home-offer-media {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(247, 201, 72, .46), transparent 30%),
    linear-gradient(145deg, #eef3f7 0%, #ffffff 54%, #e7edf4 100%);
  border-bottom: 1px solid var(--line);
}

.home-offer-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 16px;
  filter: drop-shadow(0 18px 18px rgba(23, 25, 31, .26));
  transform-origin: center;
  animation: homeOfferImageFloat 2.8s ease-in-out infinite;
}

.home-offer-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  font-size: .82rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(215, 53, 42, .32);
  animation: homeOfferBadgeFlash 1.15s ease-in-out infinite;
}

.home-offer-price {
  position: absolute;
  right: 14px;
  top: 172px;
  z-index: 4;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 2px solid #ffffff;
  border-radius: var(--radius);
  color: var(--red);
  background: var(--yellow);
  font-size: clamp(1.28rem, 2.3vw, 1.95rem);
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .92);
  box-shadow: 0 16px 28px rgba(23, 25, 31, .22);
  animation: homeOfferPriceBoom 1.35s ease-in-out infinite;
}

.home-offer-copy {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
}

.home-offer-copy strong {
  min-height: 50px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.home-offer-copy small {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
  font-weight: 700;
}

.home-offer-copy span {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--asphalt);
  font-size: .9rem;
  font-weight: 900;
  transition: background .2s ease;
}

.home-offer-card:hover .home-offer-copy span,
.home-offer-card:focus-visible .home-offer-copy span {
  background: var(--red);
}

.training-band {
  color: #ffffff;
  background-color: var(--asphalt);
  background-image: url("assets/road-sign-pattern.svg");
  background-size: 520px 350px;
}

.training-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  padding: 78px 0;
}

.training-grid p {
  color: #dce2e8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 210px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
}

.steps span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--yellow);
  font-weight: 900;
}

.steps strong {
  display: block;
  font-size: 1.05rem;
}

.steps p {
  margin-bottom: 0;
}

.training-band .steps a {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.timeline-section {
  padding: 72px 0 78px;
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.timeline-item span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--asphalt);
  background: var(--yellow);
  font-weight: 900;
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.practical-program-section {
  padding-bottom: 84px;
}

.theory-program-section {
  padding: 72px 0 84px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 249, 252, .98));
}

.theory-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.theory-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}

.theory-card span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--asphalt);
  background: var(--yellow);
  font-weight: 900;
  font-size: .88rem;
}

.theory-card h3 {
  margin-bottom: 10px;
}

.theory-card p {
  color: var(--muted);
}

.theory-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.theory-card.accent {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--asphalt), #2364aa);
}

.theory-card.accent p {
  color: rgba(255, 255, 255, .84);
}

.theory-card.accent .btn {
  margin-top: 10px;
}

.theory-note {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
}

.book-note {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(35, 100, 170, .18);
  border-radius: var(--radius);
  background: #f6f9fd;
}

.book-note .btn-secondary {
  color: var(--asphalt);
  border-color: rgba(35, 100, 170, .28);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(35, 100, 170, .12);
}

.book-note .btn-secondary:hover,
.book-note .btn-secondary:focus-visible {
  color: var(--asphalt);
  border-color: var(--yellow);
  background: var(--yellow);
  outline: 3px solid rgba(247, 201, 72, .28);
}

.book-note p {
  margin: 0;
}

.books-hero-stack {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(35, 100, 170, .14), rgba(247, 201, 72, .18));
}

.books-hero-stack img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(16, 24, 40, .22));
}

.books-hero-stack img:nth-child(2) {
  transform: translateY(-26px);
}

.books-policy-section,
.books-info-section,
.books-section {
  padding: 72px 0;
}

.books-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.books-policy-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}

.books-policy-grid span,
.book-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--asphalt);
  background: var(--yellow);
  font-size: .82rem;
  font-weight: 900;
}

.books-policy-grid p,
.books-explain p {
  color: var(--muted);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.book-card {
  display: grid;
  grid-template-rows: 300px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 24, 40, .07);
}

.book-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  background: #f4f7fb;
}

.book-card-body {
  padding: 20px;
}

.book-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.book-meta strong {
  color: var(--red);
  white-space: nowrap;
}

.book-card h3 {
  margin-bottom: 10px;
}

.book-card p {
  color: var(--muted);
}

.book-availability {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  color: var(--asphalt) !important;
}

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

.lesson-card {
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.lesson-card span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--asphalt);
  background: var(--yellow);
  font-weight: 900;
  font-size: .88rem;
}

.lesson-card h3 {
  margin-bottom: 10px;
}

.lesson-card p {
  margin: 0;
  color: var(--muted);
}

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

.compact-grid .lesson-card {
  min-height: 210px;
}

.professional-detail {
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}

.vehicle-detail-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .68fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 24px;
}

.vehicle-detail-head.reverse {
  grid-template-columns: minmax(280px, .68fr) minmax(0, .95fr);
}

.vehicle-detail-head.reverse div {
  order: 2;
}

.vehicle-detail-head.reverse img {
  order: 1;
}

.vehicle-detail-head p {
  color: var(--muted);
}

.vehicle-detail-head img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
  padding: 16px;
  border-radius: var(--radius);
  background: #f1f3f5;
}

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

.offers-visual {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
}

.offers-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  padding: 16px;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .26));
}

.offer-grid-section {
  padding: 68px 0 78px;
}

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

.offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(23, 25, 31, .02);
}

.offer-card.featured-offer {
  animation: offerCardPulse 3.2s ease-in-out infinite;
}

.offer-card img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: contain;
  padding: 16px;
  background: #f1f3f5;
  border-bottom: 1px solid var(--line);
}

.offer-card-content {
  padding: 22px;
}

.offer-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  font-size: .86rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(215, 53, 42, .28);
  animation: offerBadgePulse 1.8s ease-in-out infinite;
}

.offer-price-overlay {
  position: absolute;
  right: 14px;
  top: 178px;
  z-index: 1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  color: var(--red);
  background: var(--yellow);
  border: 3px solid #ffffff;
  box-shadow: 0 14px 30px rgba(23, 25, 31, .24);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
  font-weight: 900;
  animation: offerPricePop 2.1s ease-in-out infinite;
}

.offer-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-left: 20px;
  color: var(--muted);
}

.offer-list li::marker {
  color: var(--red);
  font-weight: 900;
}

.offer-note {
  margin: 0;
  color: var(--asphalt);
  font-weight: 900;
}

.student-visual {
  padding: 0;
  overflow: hidden;
}

.student-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: none;
}

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 0;
}

.pill-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--asphalt);
  background: var(--paper);
  font-weight: 900;
}

.pill-nav a:hover,
.pill-nav a:focus-visible {
  border-color: var(--yellow);
  outline: 3px solid rgba(247, 201, 72, .24);
}

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

.study-card {
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.study-card img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: contain;
  padding: 10px;
  background: #f1f3f5;
  border-bottom: 1px solid var(--line);
}

.study-card div {
  padding: 18px;
}

.study-card h3 {
  margin-bottom: 8px;
}

.study-card p {
  margin: 0;
  color: var(--muted);
}

.question-bank {
  display: grid;
  gap: 14px;
}

.question-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.question-card h3,
.question-card h4 {
  margin-bottom: 10px;
}

.option-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.option-list li {
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--soft);
}

.option-list .correct {
  border-left: 6px solid var(--green);
  color: var(--asphalt);
  background: #eef8f2;
  font-weight: 900;
}

.qa-list {
  display: grid;
  gap: 10px;
}

.qa-list details {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.qa-list summary {
  cursor: pointer;
  font-weight: 900;
}

.qa-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.useful-hero-visual {
  padding: 26px;
  background: rgba(255, 255, 255, .08);
}

.useful-hero-visual img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .22));
}

.useful-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.useful-link-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.useful-link-card:hover,
.useful-link-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--yellow);
  outline: none;
  box-shadow: var(--shadow);
}

.useful-link-card img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: contain;
  padding: 14px;
  background: #f1f3f5;
  border-bottom: 1px solid var(--line);
}

.useful-link-card span,
.useful-link-card p {
  margin-inline: 18px;
}

.useful-link-card span {
  margin-top: 18px;
  color: var(--asphalt);
  font-weight: 900;
  line-height: 1.25;
}

.useful-link-card p {
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--muted);
}

.side-photo {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f1f3f5;
}

.alert-box {
  margin-bottom: 22px;
  border-color: rgba(215, 53, 42, .26);
  background: #fff4f2;
}

.alert-box p {
  margin: 0;
  color: var(--asphalt);
  font-weight: 800;
}

.doctor-directory,
.code-groups {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.doctor-directory details,
.code-groups details {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.doctor-directory summary,
.code-groups summary {
  cursor: pointer;
  color: var(--asphalt);
  font-weight: 900;
}

.doctor-directory ul,
.code-groups ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.useful-text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.useful-text-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.useful-text-grid h3 {
  margin-bottom: 8px;
}

.useful-text-grid p {
  margin: 0;
  color: var(--muted);
}

.license-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.license-category-card {
  display: block;
  min-height: 320px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  background: var(--paper);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

a.license-category-card:hover,
a.license-category-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--yellow);
  outline: none;
  box-shadow: var(--shadow);
}

.license-category-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: #f1f3f5;
}

.license-category-card h3 {
  margin-bottom: 8px;
}

.license-category-card p {
  margin: 0;
  color: var(--muted);
}

.license-detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.license-detail-nav a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, .08);
}

.license-detail-nav a:hover,
.license-detail-nav a:focus-visible {
  border-color: var(--yellow);
  color: var(--asphalt);
  outline: none;
  background: var(--yellow);
}

.license-detail-section {
  display: grid;
  grid-template-columns: minmax(260px, .34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 38px 0;
}

.license-detail-section.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .34fr);
}

.license-detail-media {
  position: sticky;
  top: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 34px rgba(24, 31, 42, .08);
}

.license-detail-media img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.license-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.license-fact-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.license-fact-card h3 {
  margin-bottom: 8px;
}

.license-fact-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.license-fact-card strong {
  color: var(--asphalt);
}

.code-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--asphalt);
}

.code-card strong {
  color: var(--yellow);
  font-size: 2.2rem;
  line-height: 1;
}

.code-card span {
  font-weight: 900;
}

.authorization-hero-visual {
  padding: 14px;
  background: rgba(255, 255, 255, .08);
}

.authorization-hero-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.authorization-steps {
  display: grid;
  gap: 14px;
}

.authorization-preview-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

.authorization-preview-card img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.authorization-preview-card span {
  font-size: 1.1rem;
  font-weight: 900;
}

.guide-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.guide-step > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--asphalt);
  background: var(--yellow);
  font-weight: 900;
}

.guide-step h3 {
  margin-bottom: 8px;
}

.guide-step p {
  margin: 0 0 10px;
  color: var(--muted);
}

.guide-step p:last-child {
  margin-bottom: 0;
}

.big-number {
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.pdf-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pdf-page-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.pdf-page-grid img {
  width: 100%;
  display: block;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.pdf-page-grid h3 {
  margin: 0;
  padding: 16px;
}

.training-band .steps a {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes offerBandPulse {
  0%,
  100% {
    box-shadow: var(--shadow);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 24px 54px rgba(247, 201, 72, .24);
    transform: translateY(-2px);
  }
}

@keyframes offerSweep {
  0%,
  42% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes offerBadgePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes offerCardPulse {
  0%,
  100% {
    border-color: var(--line);
    box-shadow: 0 1px 0 rgba(23, 25, 31, .02);
  }

  50% {
    border-color: rgba(247, 201, 72, .85);
    box-shadow: 0 18px 38px rgba(247, 201, 72, .16);
  }
}

@keyframes offerPricePop {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
  }

  50% {
    transform: rotate(1deg) scale(1.08);
  }
}

@keyframes homeOfferCardBeat {
  0%,
  100% {
    box-shadow: 0 14px 30px rgba(23, 25, 31, .10);
  }

  50% {
    box-shadow: 0 20px 44px rgba(215, 53, 42, .13);
  }
}

@keyframes homeOfferSweep {
  0%,
  40% {
    transform: translateX(-135%);
  }

  66%,
  100% {
    transform: translateX(135%);
  }
}

@keyframes homeOfferCorner {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: .65;
  }

  50% {
    transform: translate(4px, 4px);
    opacity: 1;
  }
}

@keyframes homeOfferImageFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-7px) scale(1.035);
  }
}

@keyframes homeOfferBadgeFlash {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(215, 53, 42, .36);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(215, 53, 42, 0);
  }
}

@keyframes homeOfferPriceBoom {
  0%,
  100% {
    transform: rotate(-3deg) scale(1);
  }

  48% {
    transform: rotate(2deg) scale(1.13);
  }
}

@keyframes homeOfferIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeOfferPulse {
  0%,
  100% {
    box-shadow: 0 22px 48px rgba(23, 25, 31, .24);
  }

  50% {
    box-shadow: 0 24px 58px rgba(247, 201, 72, .28);
  }
}

@keyframes aiCardPulse {
  0%,
  100% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, .32);
  }

  50% {
    transform: translateY(-3px);
    border-color: rgba(247, 201, 72, .88);
  }
}

@keyframes aiCardSweep {
  0%,
  45% {
    transform: translateX(-120%);
  }

  76%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes aiBadgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(247, 201, 72, .42);
  }

  50% {
    transform: scale(1.07);
    box-shadow: 0 0 0 9px rgba(247, 201, 72, 0);
  }
}

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

.case-section {
  padding-bottom: 78px;
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.case-card {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.case-card img {
  width: 100%;
  height: 160px;
  display: block;
  object-fit: contain;
  padding: 10px;
  background: #f1f3f5;
  border-bottom: 1px solid var(--line);
}

.case-card div {
  padding: 18px;
}

.case-card h3 {
  margin-bottom: 8px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  gap: 48px;
  align-items: center;
  padding: 84px 0;
}

.about-panel {
  display: grid;
  gap: 12px;
}

.about-panel div {
  min-height: 112px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--soft);
  border-left: 6px solid var(--green);
}

.about-panel strong,
.about-panel span {
  display: block;
}

.about-panel strong {
  font-size: 1.35rem;
}

.about-panel span {
  margin-top: 8px;
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 78px;
}

.review-grid figure {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 24px;
}

blockquote {
  margin: 0;
  color: #38404a;
  font-size: 1.02rem;
}

figcaption {
  margin-top: auto;
  padding-top: 22px;
  color: var(--red);
  font-weight: 900;
}

.faq-section {
  padding-bottom: 78px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-grid details {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-grid p {
  margin-bottom: 0;
}

.cta-band {
  background: var(--green);
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 0;
}

.cta-inner .eyebrow {
  color: var(--yellow);
}

.cta-inner p {
  margin-bottom: 0;
  color: #eaf4ef;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: min(100%, 340px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .68fr);
  gap: 46px;
  align-items: start;
  padding: 82px 0;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-card strong {
  margin-bottom: 6px;
  color: var(--asphalt);
  font-size: 1.25rem;
}

.contact-card span {
  color: var(--ink);
}

.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

.contact-section {
  margin-top: 70px;
  color: #ffffff;
  background-color: var(--asphalt);
  background-image: url("assets/road-sign-pattern.svg");
  background-size: 520px 350px;
  background-position: right top;
  border-top: 10px solid var(--yellow);
}

.contact-entry {
  padding: 70px 0 0;
}

.contact-entry .eyebrow {
  color: var(--yellow);
}

.contact-entry h2 {
  max-width: 760px;
  color: #ffffff;
}

.contact-entry p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: #dce2e8;
  font-size: 1.06rem;
}

.contact-section .contact-grid {
  padding-top: 42px;
}

.contact-section .contact-grid > div:first-child {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
}

.contact-map-panel {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(23, 25, 31, .02);
}

.map-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.map-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.map-pins {
  display: grid;
  gap: 10px;
}

.map-pins a {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 2px 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.map-pins a:hover,
.map-pins a:focus-visible {
  border-color: var(--yellow);
  outline: 3px solid rgba(247, 201, 72, .22);
}

.pin-dot {
  width: 12px;
  height: 12px;
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(247, 201, 72, .22);
}

.school-pin {
  background: var(--red);
}

.ministry-pin {
  background: var(--blue);
}

.map-pins strong {
  color: var(--asphalt);
  line-height: 1.25;
}

.map-pins small {
  color: var(--muted);
  line-height: 1.35;
}

.contact-map-panel iframe {
  width: 100%;
  height: min(560px, 68vh);
  min-height: 360px;
  display: block;
  border: 0;
}

.blog-hero {
  background:
    linear-gradient(90deg, rgba(12, 18, 29, .94) 0%, rgba(12, 18, 29, .78) 48%, rgba(12, 18, 29, .58) 100%),
    url("assets/blog/blog-hero-bsm.png") center / cover no-repeat;
  color: #ffffff;
}

.blog-hero .breadcrumbs,
.blog-hero .breadcrumbs a,
.blog-hero .eyebrow,
.blog-hero h1,
.blog-hero .hero-copy {
  color: #ffffff;
}

.blog-hero .eyebrow {
  color: var(--yellow);
}

.blog-hero .hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, .9);
}

.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.blog-category-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(35, 100, 170, .28);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  font-weight: 800;
}

.blog-category-nav a:hover,
.blog-category-nav a:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(35, 100, 170, .16);
}

.blog-stat-panel strong {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.blog-hero .blog-stat-panel {
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
}

.blog-category {
  padding-bottom: 72px;
}

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

.blog-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(23, 25, 31, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(35, 100, 170, .42);
  box-shadow: 0 22px 48px rgba(23, 25, 31, .14);
  outline: none;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: var(--soft);
}

.blog-card span {
  width: fit-content;
  margin: 16px 16px 0;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}

.blog-card h3 {
  margin: 12px 16px 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.blog-card p {
  margin: 0 16px 18px;
  color: var(--muted);
  font-size: .95rem;
}

.blog-preview {
  padding-bottom: 74px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7f2 100%);
}

.blog-preview-grid {
  margin-bottom: 26px;
}

.center-actions {
  display: flex;
  justify-content: center;
}

.article-hero-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.article-hero-media img {
  width: 100%;
  min-height: 280px;
  max-height: 440px;
  display: block;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 28px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 78px;
}

.article-content {
  max-width: 820px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 30px 0 12px;
  line-height: 1.2;
}

.article-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.article-content h3 {
  font-size: 1.35rem;
}

.article-content h4 {
  font-size: 1.08rem;
}

.article-content p,
.article-content li {
  color: #343b45;
  font-size: 1.03rem;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content li + li {
  margin-top: 7px;
}

.article-image {
  margin: 24px 0;
}

.article-image img {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--soft);
}

.article-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.sidebar-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(23, 25, 31, .08);
}

.sidebar-panel h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.article-mini-list {
  display: grid;
  gap: 10px;
}

.article-mini-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.article-mini-card:hover,
.article-mini-card:focus-visible {
  border-color: var(--yellow);
  outline: 3px solid rgba(247, 201, 72, .22);
}

.article-mini-card span {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}

.footer {
  color: #ffffff;
  background: var(--asphalt);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 50;
  max-width: 960px;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(23, 25, 31, .96);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.cookie-banner strong,
.cookie-panel strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.25;
}

.cookie-banner p,
.cookie-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
}

.cookie-banner a {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  outline: 3px solid rgba(247, 201, 72, .25);
}

.cookie-button-primary {
  color: var(--asphalt);
  border-color: var(--yellow);
  background: var(--yellow);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 25, 31, .62);
}

.cookie-panel {
  width: min(640px, 100%);
  padding: 22px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--asphalt);
  box-shadow: var(--shadow);
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.cookie-option span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
}

.cookie-option input {
  width: 22px;
  height: 22px;
  accent-color: var(--yellow);
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .nav {
    min-height: 68px;
  }

  .nav-button {
    width: 46px;
    height: 46px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }

  .nav-button span {
    display: block;
    height: 3px;
    border-radius: 4px;
    background: var(--ink);
  }

  .mobile-lang-switcher {
    display: inline-flex;
    margin-left: auto;
    margin-right: 10px;
  }

  .mobile-lang-switcher a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    color: var(--muted);
    text-decoration: none;
  }

  .mobile-lang-switcher a[aria-current="page"] {
    color: var(--asphalt);
    background: var(--yellow);
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links .lang-switcher {
    display: none;
  }

  .nav-links a {
    display: flex;
  }

  .nav-dropdown > button {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-submenu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 10px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-submenu a {
    padding: 9px 10px;
    color: #38404a;
  }

  .nav-toggle:checked ~ .nav-links {
    display: grid;
  }

  .intro-grid,
  .review-grid,
  .faq-grid,
  .lesson-grid,
  .theory-program-grid,
  .books-policy-grid,
  .book-grid,
  .professional-picker,
  .detail-cards,
  .case-card-grid,
  .offer-grid,
  .offers-banner,
  .offers-heading,
  .home-offer-grid,
  .a1-fact-grid,
  .license-category-grid,
  .license-fact-grid,
  .pdf-page-grid,
  .useful-link-grid,
  .blog-grid,
  .study-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .training-grid,
  .split-section,
  .contact-grid,
  .map-heading,
  .page-hero-grid,
  .detail-intro,
  .content-grid,
  .license-detail-section,
  .license-detail-section.reverse,
  .useful-text-grid,
  .vehicle-detail-head,
  .vehicle-detail-head.reverse,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .license-detail-media {
    position: static;
  }

  .article-sidebar {
    position: static;
  }

  .vehicle-detail-head.reverse div,
  .vehicle-detail-head.reverse img {
    order: initial;
  }

  .split-section,
  .contact-grid,
  .content-grid,
  .timeline-section {
    gap: 28px;
  }
}

@media (max-width: 700px) {
  :root {
    --wrap: min(100% - 28px, 1120px);
  }

  .topbar {
    justify-content: flex-start;
    font-size: .82rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 66px 0 30px;
  }

  .hero-actions,
  .contact-actions,
  .cta-note,
  .paravola-link-card,
  .cta-actions,
  .cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-strip,
  .notice-inner,
  .service-grid,
  .steps,
  .category-grid,
  .a1-quick-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 36px;
  }

  .intro-grid {
    padding-top: 48px;
  }

  .section-heading {
    padding-top: 44px;
  }

  .service-grid,
  .review-grid {
    padding-bottom: 52px;
  }

  .offers-teaser {
    padding-bottom: 52px;
  }

  .offers-banner {
    padding: 24px;
  }

  .offers-heading {
    align-items: start;
  }

  .home-offer-card {
    min-height: 168px;
  }

  .offer-grid-section {
    padding: 48px 0 54px;
  }

  .offer-card img {
    height: 180px;
  }

  .offer-price-overlay {
    top: 132px;
    right: 10px;
    min-height: 46px;
    padding: 0 12px;
  }

  .page-hero-grid {
    padding: 48px 0 34px;
  }

  .blog-category-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-category-nav a {
    justify-content: center;
  }

  .blog-category,
  .blog-preview,
  .article-layout {
    padding-bottom: 52px;
  }

  .article-hero-media img {
    min-height: 220px;
  }

  .detail-intro {
    padding: 46px 0 30px;
  }

  .guide-step {
    grid-template-columns: 1fr;
  }

  .authorization-preview-card {
    grid-template-columns: 1fr;
  }

  .content-grid {
    padding: 48px 0 54px;
  }

  .category-section {
    padding: 28px 0 52px;
  }

  .professional-picker {
    padding: 28px 0 52px;
  }

  .professional-card {
    min-height: auto;
  }

  .professional-card img {
    height: 160px;
  }

  .about-photo img {
    height: 320px;
  }

  .moto-visual {
    min-height: 220px;
  }

  .a1-hero-visual {
    min-height: 260px;
  }

  .a1-overview {
    padding: 52px 0 36px;
  }

  .hero-price-card {
    width: 100%;
  }

  .hero-price-card-wide {
    grid-template-columns: 1fr;
  }

  .timeline-section,
  .practical-program-section,
  .theory-program-section,
  .books-policy-section,
  .books-info-section,
  .books-section,
  .faq-section,
  .professional-detail,
  .case-section {
    padding: 56px 0 54px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .books-hero-stack {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    padding: 18px;
  }

  .books-hero-stack img {
    max-height: 240px;
  }

  .books-hero-stack img:nth-child(2) {
    transform: translateY(-14px);
  }

  .training-grid,
  .split-section,
  .contact-grid {
    padding: 56px 0;
  }

  .footer-inner,
  .footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    padding: 26px 0;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-button {
    flex: 1 1 100%;
  }

  .cookie-option {
    grid-template-columns: 1fr;
  }
}


/* Detailed driving licence code lists */
.detailed-code-groups details {
  scroll-margin-top: 110px;
}

.code-subgroup {
  margin-top: 18px;
}

.code-subgroup h3 {
  margin: 0 0 8px;
  color: var(--asphalt);
  font-size: 1rem;
}

.code-subgroup p,
.detailed-code-groups .note-text {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.detailed-code-groups li strong {
  color: var(--asphalt);
}
