:root {
  --green-dark: #064e3b;
  --green-primary: #087443;
  --green-soft: #eaf5ee;
  --gold: #d8a321;
  --white: #ffffff;
  --gray-soft: #f5f7f6;
  --text-dark: #1f2937;
  --border-radius: 16px;
  --shadow-soft: 0 12px 35px rgba(6, 78, 59, 0.12);
  --shadow-card: 0 10px 30px rgba(31, 41, 55, 0.08);
  --max-width: 1180px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(216, 163, 33, 0.45);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section--light {
  background: var(--gray-soft);
}

.section--accent {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  color: var(--green-dark);
}

.brand__text small {
  color: var(--green-primary);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--green-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green-primary));
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link--login {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--green-primary);
  color: var(--white);
}

.nav-link--login:hover,
.nav-link--login:focus-visible {
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.nav-link--login::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green-soft);
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-dark);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.62) 0%, rgba(6, 78, 59, 0.38) 44%, rgba(6, 78, 59, 0.12) 100%),
    url('../images/hero.png') center/cover no-repeat;
}

.hero__overlay {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 92vh;
}

.hero__content {
  padding: 5rem 0;
  max-width: 720px;
  color: var(--white);
  margin-left: 6%;
  margin-right: auto;
  text-align: left;
}

.eyebrow,
.section-label {
  display: inline-block;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateX(-28px);
  animation: heroTextIn 0.75s ease forwards;
}

.hero__title-line:nth-child(2) {
  animation-delay: 0.18s;
}

.hero__title-line:nth-child(3) {
  animation-delay: 0.36s;
}

.hero__title-line--accent {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(216, 163, 33, 0.3);
  animation: heroTextIn 0.75s ease 0.18s forwards, heroAccentGlow 2.8s ease-in-out 1.1s infinite;
}

.hero__description {
  font-size: 1.06rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn--gold {
  background: var(--gold);
  color: var(--green-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

@keyframes heroTextIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroAccentGlow {
  0%,
  100% {
    text-shadow: 0 0 12px rgba(216, 163, 33, 0.2);
  }

  50% {
    text-shadow: 0 0 26px rgba(216, 163, 33, 0.5);
  }
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading h2,
.info-banner h2,
.contact-info h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  margin: 0 0 0.6rem;
}

.section-heading p,
.contact-info p,
.footer-column p,
.about-card p,
.step-card p,
.document-card p,
.faq-answer p {
  color: rgba(31, 41, 55, 0.82);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
  position: relative;
  align-items: stretch;
}

.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.step-card::after {
  content: '→';
  position: absolute;
  right: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(8, 116, 67, 0.45);
  font-weight: 700;
  font-size: 1.25rem;
}

.step-card:last-child::after {
  display: none;
}

.step-card:hover,
.step-card:focus-within,
.step-card.active {
  transform: translateY(-4px);
  background: var(--green-soft);
  box-shadow: 0 18px 40px rgba(6, 78, 59, 0.16);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  background: rgba(216, 163, 33, 0.16);
  color: var(--green-primary);
}

.step-card h3,
.document-card h3,
.about-card h3,
.footer-column h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.procedure-infographic {
  position: relative;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f6 100%);
  border: 1px solid rgba(6, 78, 59, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.procedure-infographic[hidden] {
  display: none;
}

.procedure-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.procedure-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(8, 82, 165, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.procedure-tab i {
  color: var(--gold);
}

.procedure-tab:hover,
.procedure-tab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(8, 116, 67, 0.36);
  outline: 0;
  box-shadow: 0 16px 32px rgba(31, 41, 55, 0.12);
}

.procedure-tab.is-active {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
}

.procedure-tab.is-active i {
  color: var(--gold-light);
}

.procedure-infographic--slf {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.94)),
    radial-gradient(circle at top left, rgba(11, 102, 191, 0.12), transparent 34%);
  border-color: rgba(11, 102, 191, 0.16);
}

.procedure-infographic::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -20%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(18deg) translateX(-130%);
  pointer-events: none;
}

.procedure-infographic.is-visible::before {
  animation: procedureSweep 1.8s ease 0.3s both;
}

.procedure-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  padding: 1.1rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #083b7a, #0752a5);
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
}

.procedure-title--slf {
  background: linear-gradient(135deg, #0d3470, #0b66bf);
}

.procedure-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.24) 45%, transparent 70%);
  transform: translateX(-100%);
  animation: titleShimmer 4.2s ease-in-out infinite;
}

.procedure-title__icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.55rem;
  animation: iconFloat 3.8s ease-in-out infinite;
}

.procedure-title span,
.procedure-title strong {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1.15;
}

.procedure-title span {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.35rem, 3.3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.procedure-title strong {
  margin-top: 0.4rem;
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
}

.procedure-title p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0.55rem auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  text-transform: none;
}

.slf-hero-visual {
  overflow: hidden;
  max-height: 280px;
  border: 1px solid rgba(11, 102, 191, 0.16);
  border-radius: 16px;
  background: #f7fbff;
}

.slf-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: top center;
}

.procedure-stage {
  --stage-color: var(--green-primary);
  --stage-soft: var(--green-soft);
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--stage-color), transparent 68%);
  border-radius: 16px;
  background: color-mix(in srgb, var(--stage-soft), #ffffff 38%);
  opacity: 0;
  transform: translateY(18px);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.procedure-infographic.is-visible .procedure-stage,
.procedure-infographic.is-visible .procedure-duration {
  animation: stageIn 0.7s ease both;
}

.procedure-infographic.is-visible .procedure-stage:nth-of-type(1) {
  animation-delay: 0.08s;
}

.procedure-infographic.is-visible .procedure-stage:nth-of-type(2) {
  animation-delay: 0.2s;
}

.procedure-infographic.is-visible .procedure-stage:nth-of-type(3) {
  animation-delay: 0.32s;
}

.procedure-infographic.is-visible .procedure-stage:nth-of-type(4) {
  animation-delay: 0.44s;
}

.procedure-infographic.is-visible .procedure-duration {
  animation-delay: 0.56s;
}

.procedure-stage:hover {
  border-color: color-mix(in srgb, var(--stage-color), transparent 38%);
  box-shadow: 0 18px 36px rgba(31, 41, 55, 0.1);
  transform: translateY(-3px);
}

.procedure-stage--green {
  --stage-color: #0f9f5f;
  --stage-soft: #e8f7ee;
}

.procedure-stage--blue {
  --stage-color: #0b66bf;
  --stage-soft: #eaf4ff;
}

.procedure-stage--gold {
  --stage-color: #e9a100;
  --stage-soft: #fff5d8;
}

.procedure-stage--purple {
  --stage-color: #6c4cc2;
  --stage-soft: #f1ecff;
}

.procedure-stage__label {
  position: relative;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--stage-color), color-mix(in srgb, var(--stage-color), #072f29 34%));
  color: var(--white);
  text-align: center;
}

.procedure-stage__label span {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--stage-color);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.procedure-stage__label strong {
  max-width: 11rem;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.procedure-stage__label > i {
  font-size: 2.45rem;
  opacity: 0.92;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
}

.procedure-flow {
  display: grid;
  align-items: stretch;
  gap: 0.9rem;
}

.procedure-flow--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.procedure-flow--verify {
  grid-template-columns: 1fr 1.25fr 1fr;
}

.procedure-flow--certificate {
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
}

.procedure-step,
.check-card,
.result-card {
  position: relative;
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--stage-color), transparent 68%);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.procedure-step:hover,
.check-card:hover,
.result-card:hover,
.duration-item:hover {
  transform: translateY(-4px);
}

.procedure-step:hover,
.check-card:hover,
.result-card:hover {
  border-color: color-mix(in srgb, var(--stage-color), transparent 38%);
  box-shadow: 0 16px 30px rgba(31, 41, 55, 0.12);
}

.procedure-step:not(:last-child)::after,
.procedure-checks::after {
  content: '\f061';
  position: absolute;
  top: 50%;
  right: -1.05rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--stage-color);
  color: var(--white);
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transform: translateY(-50%);
  animation: arrowPulse 1.7s ease-in-out infinite;
}

.procedure-flow--two .procedure-step:first-child::after {
  right: -1.05rem;
}

.procedure-flow--two .procedure-step:last-child::after,
.procedure-flow--verify > .procedure-step:nth-of-type(3)::after {
  display: none;
}

.procedure-step__number {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--stage-color);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--stage-color), transparent 58%);
  animation: numberPulse 2.6s ease-in-out infinite;
}

.procedure-step > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0.35rem 0 0.8rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--stage-color), transparent 86%);
  color: var(--stage-color);
  font-size: 1.6rem;
  transition: transform var(--transition), background var(--transition);
}

.procedure-step:hover > i {
  background: color-mix(in srgb, var(--stage-color), transparent 78%);
  transform: scale(1.06) rotate(-3deg);
}

.procedure-step h3,
.procedure-duration h3 {
  margin: 0 0 0.45rem;
  color: #0f1d3d;
  font-size: 1rem;
  line-height: 1.35;
}

.procedure-step p,
.check-card p,
.result-card p,
.duration-item p,
.procedure-note {
  margin: 0;
  color: rgba(31, 41, 55, 0.86);
  font-size: 0.92rem;
  line-height: 1.55;
}

.procedure-checks {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.check-card,
.result-card {
  text-align: center;
}

.check-card i,
.result-card i {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.75rem;
  animation: iconPop 2.8s ease-in-out infinite;
}

.check-card strong,
.result-card strong,
.duration-item strong {
  display: block;
  color: #0f1d3d;
  line-height: 1.3;
}

.check-card--success,
.result-card--success {
  border-color: rgba(22, 163, 74, 0.42);
  background: #f0fdf4;
}

.check-card--success i,
.result-card--success i {
  color: #16a34a;
}

.check-card--danger,
.result-card--danger {
  border-color: rgba(220, 38, 38, 0.38);
  background: #fff1f2;
}

.check-card--danger i,
.result-card--danger i {
  color: #dc2626;
}

.result-card--warning {
  border-color: rgba(245, 158, 11, 0.45);
  background: #fffbeb;
}

.result-card--warning i {
  color: #f59e0b;
}

.procedure-result-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.procedure-step--issued {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--stage-soft), #ffffff 22%));
}

.slf-certificate-card {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(108, 76, 194, 0.28);
  border-radius: 14px;
  background: linear-gradient(145deg, #faf7ff, #ffffff);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.08);
}

.slf-certificate-card__paper {
  position: relative;
  width: min(150px, 58%);
  aspect-ratio: 0.76;
  padding: 1.2rem 1rem;
  border: 8px solid rgba(108, 76, 194, 0.24);
  border-radius: 14px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 18px 36px rgba(108, 76, 194, 0.14);
}

.slf-certificate-card__paper strong {
  display: block;
  margin-bottom: 0.8rem;
  color: #15803d;
  font-size: 1.6rem;
}

.slf-certificate-card__paper span {
  display: block;
  height: 5px;
  margin: 0.45rem auto;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.18);
}

.slf-certificate-card__paper span:nth-of-type(1) {
  width: 82%;
}

.slf-certificate-card__paper span:nth-of-type(2) {
  width: 72%;
}

.slf-certificate-card__paper span:nth-of-type(3) {
  width: 58%;
}

.slf-certificate-card__paper i {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #52ad39;
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.25);
}

.slf-certificate-card > i {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  color: rgba(11, 102, 191, 0.12);
  font-size: 5rem;
}

.procedure-duration {
  opacity: 0;
  transform: translateY(18px);
  overflow: hidden;
  border: 1px solid rgba(8, 82, 165, 0.22);
  border-radius: 16px;
  background: var(--white);
}

.procedure-duration h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, #083b7a, #0752a5);
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.duration-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.duration-track--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.duration-item {
  position: relative;
  min-width: 0;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}

.duration-item:hover {
  background: #f8fbff;
}

.duration-item:not(:last-child) {
  border-right: 1px solid rgba(8, 82, 165, 0.18);
}

.duration-item span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 0 0 0 rgba(8, 116, 67, 0.28);
  animation: numberPulse 2.8s ease-in-out infinite;
}

.duration-item:nth-child(2) span {
  background: #0b66bf;
}

.duration-item:nth-child(3) span {
  background: #0f9f9f;
}

.duration-item:nth-child(4) span {
  background: #f59e0b;
}

.duration-item:nth-child(5) span {
  background: #6c4cc2;
}

.duration-item i {
  display: block;
  margin-bottom: 0.65rem;
  color: #0b66bf;
  font-size: 2rem;
  transition: transform var(--transition);
}

.duration-item:hover i {
  transform: translateY(-3px) scale(1.06);
}

.procedure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(8, 82, 165, 0.12);
  background: #f8fbff;
  text-align: center;
}

.procedure-note i {
  color: var(--gold);
  animation: iconGlow 2.2s ease-in-out infinite;
}

.slf-cost {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 1.35rem;
  border-top: 1px solid rgba(8, 82, 165, 0.12);
  background: linear-gradient(90deg, #ffffff, #f3fbf5);
}

.slf-cost h3 {
  display: inline-flex;
  margin: 0 0 0.45rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #083b7a, #0752a5);
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.slf-cost strong {
  display: block;
  color: #15803d;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.slf-cost p {
  margin: 0.35rem 0 0;
  color: rgba(31, 41, 55, 0.84);
}

.slf-cost__amount {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 7px solid rgba(82, 173, 57, 0.72);
  border-radius: 50%;
  color: #15803d;
  background: #ffffff;
  box-shadow: inset 0 0 0 6px rgba(82, 173, 57, 0.08);
}

.slf-cost__amount span {
  font-weight: 800;
}

.slf-cost__amount strong {
  font-size: 2.4rem;
}

.slf-cost > i {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #52ad39, #15803d);
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 16px 28px rgba(21, 128, 61, 0.18);
}

@keyframes procedureSweep {
  to {
    transform: rotate(18deg) translateX(340%);
  }
}

@keyframes titleShimmer {
  0%,
  42% {
    transform: translateX(-100%);
  }

  70%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes stageIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

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

@keyframes arrowPulse {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(4px);
  }
}

@keyframes numberPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, currentColor, transparent 72%);
  }

  50% {
    box-shadow: 0 0 0 8px transparent;
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

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

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

@keyframes iconGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(216, 163, 33, 0));
  }

  50% {
    filter: drop-shadow(0 0 8px rgba(216, 163, 33, 0.55));
  }
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.document-card,
.about-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.document-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.document-card h3 {
  min-height: 4.5rem;
  line-height: 1.35;
}

.document-card p {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 0.35rem;
  width: 100%;
  margin: 0 0 0.35rem;
}

.document-card p:last-of-type {
  margin-bottom: 1rem;
}

.document-card:hover,
.document-card:focus-within,
.about-card:hover,
.about-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31, 41, 55, 0.14);
}

.file-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.file-icon--pdf {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.file-icon--word {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  background: var(--green-primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.download-btn:hover,
.download-btn:focus-visible {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  text-align: left;
  color: var(--green-dark);
}

.faq-question i {
  transition: transform var(--transition);
}

.faq-item.is-open .faq-question i {
  transform: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.3rem;
}

.faq-item.is-open .faq-answer {
  padding: 0 1.3rem 1.2rem;
  max-height: 240px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(6, 78, 59, 0.82));
  color: var(--white);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  transform: translateY(0);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.about-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.info-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2.2rem;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 41, 55, 0.15);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: var(--gray-soft);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--green-primary);
  background: var(--white);
}

.form-message {
  min-height: 1.25rem;
  margin: 0;
  color: var(--green-primary);
  font-weight: 600;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 1.5rem;
}

.brand--footer {
  margin-bottom: 1rem;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text small {
  color: var(--white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.map-placeholder iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100% - 2rem, var(--max-width));
  margin: 2rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-dark);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  z-index: 900;
}

.back-to-top.is-visible {
  display: inline-flex;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5rem;
  transform: translateX(-50%) translateY(16px);
  background: var(--green-dark);
  color: var(--white);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 950;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 78, 59, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1100;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  font-size: 1.6rem;
}

.lightbox__content {
  max-width: 900px;
  width: 100%;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1rem;
  text-align: center;
}

.lightbox__content img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox__content p {
  margin: 0.8rem 0 0;
  font-weight: 600;
  color: var(--green-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card::after {
    display: none;
  }

  .procedure-stage {
    grid-template-columns: 1fr;
  }

  .procedure-stage__label {
    min-height: 140px;
  }

  .procedure-flow--three,
  .procedure-flow--verify,
  .procedure-flow--certificate,
  .duration-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .procedure-result-grid {
    grid-template-columns: 1fr;
  }

  .procedure-step:not(:last-child)::after,
  .procedure-checks::after {
    display: none;
  }

  .duration-item:nth-child(2n) {
    border-right: 0;
  }

  .slf-cost {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .slf-cost > i {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem 1.2rem;
    box-shadow: var(--shadow-soft);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link--login {
    margin-top: 0.4rem;
  }

  .hero {
    min-height: 100vh;
  }

  .hero__overlay {
    min-height: 100vh;
  }

  .hero__content {
    padding: 4rem 0;
    max-width: 620px;
  }

  .hero__highlights {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline,
  .procedure-flow--three,
  .procedure-flow--two,
  .procedure-flow--verify,
  .procedure-flow--certificate,
  .procedure-checks,
  .duration-track,
  .document-grid,
  .about-grid,
  .gallery-grid,
  .contact-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .document-card h3 {
    min-height: auto;
  }

  .procedure-tabs {
    flex-wrap: wrap;
  }

  .procedure-tab {
    flex: 1 1 210px;
  }

  .info-banner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .procedure-title {
    flex-direction: column;
    padding: 1rem;
  }

  .procedure-stage__label span {
    position: static;
  }

  .duration-item,
  .duration-item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 82, 165, 0.14);
  }

  .duration-item:last-child {
    border-bottom: 0;
  }

  .procedure-note {
    align-items: flex-start;
    text-align: left;
  }

  .slf-cost {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4.25rem 0;
  }

  .nav-bar {
    min-height: 72px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .info-banner {
    padding: 1.4rem;
  }

  .contact-form {
    padding: 1.1rem;
  }

  .procedure-tab {
    width: 100%;
  }

  .slf-hero-visual {
    max-height: 190px;
  }

  .slf-hero-visual img {
    max-height: 190px;
  }

  .slf-cost__amount {
    width: 112px;
    height: 112px;
  }
}

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

  .procedure-stage,
  .procedure-duration {
    opacity: 1;
    transform: none;
  }
}
