/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #A3A3A3 #F2F2F2;
  scrollbar-width: thin;
  background-color: #fff;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  color: #202020;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  border: none;
  outline: none;
  font-family: inherit;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-weight: 500;
  color: #070707;
  line-height: 1.1;
}

h1 {
  font-size: clamp(36px, 4vw, 62px);
}

h2 {
  font-size: clamp(32px, 3.5vw, 40px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: clamp(25px, 2.7vw, 32px);
}

h4 {
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: clamp(23.4px, 2.3vw, 26px);
}

.p1 {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: clamp(21px, 2vw, 24px);
}

.p2 {
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: clamp(18px, 1.8vw, 20px);
}

.p3 {
  font-size: clamp(11px, 1vw, 12px);
  line-height: clamp(16px, 1.5vw, 18px);
}

.medium { font-weight: 500; }
.color-gray { color: #6a6a6a; }
.color-white { color: #fff; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 10px;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn .btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.4s ease;
}

.btn .btn-content img {
  width: auto;
  height: 20px;
  object-fit: contain;
}

.btn::before {
  content: "";
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
              border-radius 0s 0.45s,
              transform 0s 0.45s;
}

.btn:hover::before {
  opacity: 1;
  border-radius: 0;
  transform: translate(0);
  transition: border-radius 0.45s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-gold {
  background: gold;
}

.btn-gold .btn-content {
  color: #070707;
}

.btn-gold::before {
  background-color: #ffdd24;
}

.btn-dark {
  background: #070707;
}

.btn-dark .btn-content {
  color: #fff;
}

.btn-dark::before {
  background: #202020;
}

.btn-full {
  width: 100%;
}

/* ========== HEADER ========== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 20px 58px;
  height: 86px;
  gap: 20px;
  font-size: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.4s ease;
}

.head-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

header::before {
  content: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(75px);
  -webkit-backdrop-filter: blur(75px);
  transition: all 0.4s ease;
}

header.is-scrolled {
  background: transparent;
}

header.is-scrolled::before {
  content: "";
}

.logo-link {
  flex-shrink: 0;
}

.site-logo {
  height: 25px;
  width: auto;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #070707;
  font-weight: 400;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #070707;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-mobile-extras {
  display: none;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.lang-link {
  color: #070707;
  transition: color 0.3s;
  cursor: pointer;
}

.lang-link.active {
  color: gold;
}

.lang-link:hover {
  color: gold;
}

.head-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #070707;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.head-phone-link:hover {
  opacity: 0.7;
}

.head-phone-link img {
  width: 20px;
  height: 20px;
}

.icon-yellow {
  filter: brightness(0) saturate(100%) invert(86%) sepia(17%) saturate(6475%) hue-rotate(1deg) brightness(105%) contrast(106%);
}

.head-cta-btn {
  height: 46px;
  border-radius: 10px;
  width: fit-content;
}

.head-cta-btn .btn-content {
  font-size: 15px;
}

.head-phone-circle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: gold;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.head-phone-circle img {
  width: 20px;
  height: 20px;
}

.head-phone-circle:hover {
  background: #ffdd24;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #070707;
  transition: transform 0.4s ease;
}

.hamburger span:nth-child(1) { transform-origin: 0 0; }
.hamburger span:nth-child(3) { transform-origin: 0 100%; }

header.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  width: calc(100% + 1px);
}

header.nav-open .hamburger span:nth-child(2) {
  transform: scaleY(0);
}

header.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  width: calc(100% + 1px);
}

@media (max-width: 1280px) {
  header { padding-inline: 24px; }
}

@media (max-width: 1160px) {
  .hamburger { display: flex; }
  .head-cta-btn { display: none; }
  .head-phone-link { display: none; }
  .head-phone-circle { display: flex; }

  .head-nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 32px 16px 24px;
    border-top: 1px solid #F2F2F2;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    gap: 16px;
    overflow-y: auto;
    z-index: 99;
  }

  header.nav-open .head-nav {
    transform: translateX(0);
  }

  header.nav-open.is-scrolled {
    background: #fff;
  }

  .nav-link {
    font-size: 16px;
  }

  .nav-mobile-extras {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid #F2F2F2;
  }
}


@media (max-width: 768px) {
  header {
    height: 70px;
    padding: 22px 16px;
    gap: 0;
  }

  .head-nav {
    top: 70px;
    height: calc(100% - 70px);
  }

  .site-logo { height: 20px; }

  header.nav-open .head-phone-circle { display: none; }
}

/* ========== HERO SECTION ========== */
.hero-section {
  padding: 0;
}

.hero-bg {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  background: url('../assets/picture/bg_main.jpg') no-repeat center center / cover;
}

.hero-content {
  flex: 0 0 58.33%;
  width: 58.33%;
  padding: 80px 58px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 580px;
}

.hero-content h1 {
  color: #fff;
  max-width: 600px;
}

.hero-features {
  display: flex;
  gap: 16px;
  margin-top: 48px;
}

.hero-features li {
  display: flex;
  align-items: center;
  padding: 18px 16px;
  gap: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 252px;
}

.hero-icon-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: gold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon-circle img {
  width: 20px;
  height: 20px;
}

.hero-features li span {
  color: #fff;
  font-size: clamp(13px, 1.2vw, 14px);
  line-height: clamp(18px, 1.8vw, 20px);
}

.hero-form-wrap {
  flex: 0 0 41.67%;
  width: 41.67%;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px;
}

.form-header {
  margin-bottom: 8px;
}

.form-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-icon-circle img {
  width: 20px;
  height: 20px;
}

@media (min-resolution: 2dppx) {
  .hero-bg {
    background-image: url('../assets/picture/bg_main@2x.jpg');
  }
}

@media (max-width: 1280px) {
  .hero-content { padding: 60px 24px; }
  .hero-form-wrap { padding: 32px 24px; }
}

@media (max-width: 1025px) {
  .hero-features {
    flex-direction: column;
    margin-top: 20px;
    gap: 8px;
  }
  .hero-features li {
    max-width: 70%;
    padding: 14px 12px;
  }
  .form-card { padding: 20px; gap: 16px; }
}

@media (max-width: 768px) {
  .hero-bg {
    flex-direction: column;
    background: none;
  }
  .hero-content {
    flex: none;
    width: 100%;
    padding: 48px 16px;
    min-height: auto;
    background: url('../assets/picture/bg_main_mob.jpg') no-repeat top center / cover;
  }
  .hero-features li { max-width: 100%; }
  .hero-form-wrap {
    flex: none;
    width: 100%;
    padding: 48px 16px;
    background: #f5f5f5;
  }
  .form-card {
    box-shadow: 0 2px 12px rgba(7, 7, 7, 0.08);
  }
}

/* ========== FORM STYLES ========== */
form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-field label {
  font-weight: 400;
}

.form-field input {
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 15px;
  border-radius: 6px;
  color: #070707;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
  background: #f2f2f2;
}

.form-field input::placeholder {
  color: #6a6a6a;
  font-size: 16px;
}

.form-field input:focus,
.form-field input:hover {
  border-color: gold;
}

.form-field.is-invalid input {
  border-color: #e34d42;
}

.error-message {
  color: #e34d42;
  font-size: 13px;
  min-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-field.is-invalid .error-message {
  opacity: 1;
  transform: translateY(0);
}

.form-title {
  display: block;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: clamp(25px, 2.7vw, 32px);
  font-weight: 500;
  color: #070707;
  margin-bottom: 6px;
}

.form-subtitle {
  display: block;
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: clamp(23.4px, 2.3vw, 26px);
  font-weight: 500;
  color: #070707;
}

.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: -8px;
}

.agreement-lock {
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.5;
}

.icon-white {
  filter: brightness(0) invert(1);
}

@media (max-width: 1025px) {
  form { gap: 12px; }
}

/* ========== SECTIONS COMMON ========== */
section {
  padding: 80px 58px;
}

.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 1280px) {
  section { padding-inline: 24px; }
}

@media (max-width: 768px) {
  section { padding: 48px 16px; }
}

/* ========== ABOUT SECTION ========== */
.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.about-section {
  overflow: hidden;
}

.about-image {
  border-radius: 12px;
  overflow: visible;
  position: relative;
  background: url('../assets/picture/bg_section-about.jpg') no-repeat center top / cover;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  margin-top: -40px;
  margin-bottom: -40px;
}

@media (min-resolution: 2dppx) {
  .about-image {
    background-image: url('../assets/picture/bg_section-about@2x.jpg');
  }
}

.about-image-overlay {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-avatars {
  width: auto;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-desc {
  color: #6a6a6a;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F2F2F2;
}

.about-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: gold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle img {
  width: 20px;
  height: 20px;
}

.icon-circle.gold {
  background: gold;
}

@media (max-width: 1025px) {
  .about-image-overlay {
    margin: 12px;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: 2;
    min-height: 350px;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 12px;
    background-image: url('../assets/picture/bg_section-about_mob.jpg');
  }
  .about-text {
    order: 1;
  }
  .about-image-overlay {
    margin: 12px;
    padding: 10px;
  }
}

/* ========== PROCEDURE SECTION ========== */
.procedure-section {
  background: #f5f5f5;
}

.procedure-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.procedure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.procedure-steps {
  display: flex;
  flex-direction: column;
}

.procedure-btn {
  width: fit-content;
  height: 46px;
}

.procedure-btn .btn-content {
  font-size: 15px;
}

.procedure-image {
  border-radius: 12px;
  overflow: hidden;
  background: url('../assets/picture/bg_section-obtaining.jpg') no-repeat center center / cover;
  min-height: 100%;
}

@media (min-resolution: 2dppx) {
  .procedure-image {
    background-image: url('../assets/picture/bg_section-obtaining@2x.jpg');
  }
}

.step-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.step-item::before {
  content: "";
  width: 1px;
  position: absolute;
  top: 0;
  left: 28px;
  height: 100%;
  background-color: gold;
  transform: scaleY(0);
  transition: transform 0.4s linear;
  z-index: 0;
}

.step-item.last::before {
  content: none;
}

.step-item.animated::before {
  transform: scaleY(1);
}

.step-item.animated .step-circle {
  background: gold;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid gold;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.4s linear;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
}

.step-title {
  font-size: clamp(18px, 1.8vw, 20px);
  font-weight: 500;
  color: #070707;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .procedure-header {
    margin-bottom: 24px;
    text-align: left;
  }
  .procedure-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .procedure-image {
    order: -1;
    min-height: 300px;
    background-image: url('../assets/picture/bg_section-obtaining_mob.jpg');
  }
  .procedure-btn {
    width: 100%;
  }
  .step-item { gap: 12px; padding-bottom: 12px; }
  .step-item::before { left: 23px; }
  .step-circle { width: 46px; height: 46px; font-size: 18px; }
  .step-text { padding-top: 10px; }
}

/* ========== PRICING SECTION ========== */
.pricing-section {
  background: #fff;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border: 1px solid #F2F2F2;
  border-radius: 12px;
  padding: 32px;
  gap: 16px;
  position: relative;
}

.pricing-card.popular {
  background: gold;
  border-color: gold;
}

.pricing-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: gold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card-icon.white {
  background: #fff;
}

.pricing-card-icon img {
  width: 20px;
  height: 20px;
}

.pricing-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pricing-card .btn {
  margin-top: auto;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fefefe;
  font-size: clamp(11px, 1vw, 12px);
  color: #070707;
  font-weight: 500;
  align-self: flex-start;
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card-top h3 {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
}

.price {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 500;
  color: #070707;
  line-height: 1.1;
  margin: 8px 0;
}

.price span {
  font-size: 20px;
  font-weight: 400;
}

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

.deadline img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: auto;
  margin-bottom: 16px;
}

.pricing-card:not(.popular) .pricing-features {
  border-top-color: #e7e7e7;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 1100px) {
  .pricing-card { padding: 20px; }
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
}

/* ========== VISA TYPES SECTION ========== */
.types-section {
  background: #fff;
}

.types-mobile {
  display: none;
}

.types-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.type-card {
  background: #f5f5f5;
  border: 1px solid #F2F2F2;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: transform 0.4s ease;
}

.type-card:hover {
  transform: scale(1.02);
}

.type-card-image {
  width: 200px;
  min-height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.type-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.type-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.type-card-body h3 {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
}

.type-card-body .deadline {
  margin-top: auto;
  padding-top: 8px;
}

/* Vertical card for mobile swiper */
.type-card-vertical {
  flex-direction: column;
}

.type-card-vertical .type-card-image {
  width: 100%;
  min-height: 0;
  height: 200px;
}

.type-card-vertical .type-card-body {
  padding: 16px;
}

/* Carousel */
.types-carousel {
  position: relative;
  overflow: hidden;
  padding-bottom: 50px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 12px;
}

.carousel-slide {
  flex: 0 0 calc(87% - 6px);
  min-width: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  background: #e7e7e7;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.carousel-dot::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: border-color 0.4s ease;
}

.carousel-dot.active {
  background: gold;
}

.carousel-dot.active::before {
  border-color: gold;
}

@media (max-width: 768px) {
  .types-desktop {
    display: none;
  }
  .types-mobile {
    display: block;
    margin-top: 24px;
    padding-inline: 16px;
  }
  .types-section {
    padding-inline: 0;
  }
  .types-section h2 {
    padding-inline: 16px;
  }
}

/* ========== CONSULTATION SECTION ========== */
.consultation-section {
  padding: 0;
  background: #f5f5f5;
}

.consultation-top {
  padding: 126px 0 0;
  position: relative;
}

.consultation-top::before {
  content: "";
  background: url('../assets/picture/bg_consultant.png') no-repeat center bottom / contain;
  height: 100%;
  width: 490px;
  position: absolute;
  top: 0;
  right: 12%;
  z-index: 2;
}

.consultation-top .section-inner {
  padding: 80px 56px;
  background: gold url('../assets/picture/bg_book-consultation.png') no-repeat calc(100% - 80px) 50% / contain;
}

.consultation-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 769px) {
  .consultation-content h2 {
    white-space: nowrap;
  }
}

.consultation-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.consultation-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.consultation-check {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #070707;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-check img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(86%) sepia(17%) saturate(6475%) hue-rotate(1deg) brightness(105%) contrast(106%);
}

@media (min-resolution: 2dppx) {
  .consultation-top::before {
    background-image: url('../assets/picture/bg_consultant@2x.png');
  }
  .consultation-top .section-inner {
    background-image: url('../assets/picture/bg_book-consultation@2x.png');
  }
}

@media (max-width: 1280px) {
  .consultation-top::before { right: 5%; }
  .consultation-top .section-inner { padding-inline: 24px; }
}

@media (max-width: 1025px) {
  .consultation-top { padding-top: 0; }
  .consultation-top::before { width: 390px; }
}

@media (max-width: 768px) {
  .consultation-top::before { content: none; }
  .consultation-top .section-inner {
    padding: 48px 16px;
    background: gold url('../assets/picture/bg_book-consultation_mob.png') no-repeat bottom center / cover;
  }
  .consultation-content { max-width: 100%; }
}

/* ========== SAMPLE DOCUMENTS SECTION ========== */
.sample-section {
  background: #fff;
}

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 16px 48px;
  align-items: start;
}

.sample-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-column: 1;
  grid-row: 1;
}

.sample-labels-wrap {
  grid-column: 1;
  grid-row: 2;
}

.sample-image {
  grid-column: 2;
  grid-row: 1 / 3;
}

.sample-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.sample-label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(50% - 6px);
  cursor: pointer;
  transition: all 0.3s;
}

.label-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid gold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
  transition: background 0.3s;
}

.sample-label:hover .label-circle,
.sample-label.active .label-circle {
  background: gold;
}

.sample-image {
  border-radius: 12px;
  overflow: hidden;
  align-self: start;
}

.sample-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .sample-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }
  .sample-heading { grid-column: 1; grid-row: 1; }
  .sample-image { grid-column: 1; grid-row: 2; }
  .sample-labels-wrap { grid-column: 1; grid-row: 3; }
  .sample-label {
    width: calc(50% - 6px);
    gap: 8px;
  }
  .label-circle { width: 28px; height: 28px; font-size: 12px; }
}

/* ========== FAQ SECTION ========== */
.faq-section {
  background: #f5f5f5;
}

.faq-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 600px;
}

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

.accordion-item {
  background: transparent;
  border: 1px solid #E7E7E7;
  border-radius: 12px;
  padding: 16px;
  transition: background 0.4s ease;
}

.accordion-item.active {
  background: #fff;
}

.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.accordion-question {
  flex: 1;
}

.accordion-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #070707;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.accordion-toggle img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.4s ease;
}

.accordion-item.active .accordion-toggle {
  background: gold;
}

.accordion-item.active .accordion-toggle img {
  transform: rotate(180deg);
  filter: brightness(0);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.accordion-body > * {
  overflow: hidden;
}

.accordion-item.active .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-body > div > p {
  padding-top: 16px;
}

.accordion-body > div > ul {
  padding-top: 8px;
}

.faq-q {
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: clamp(23.4px, 2.3vw, 26px);
}

.faq-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
}

@media (max-width: 768px) {
  .accordion-toggle {
    width: 46px;
    height: 46px;
  }
  .accordion-body > div > p { padding-top: 8px; }
  .accordion-body > div > ul { padding-top: 4px; }
}

/* ========== BOOK CONSULTATION SECTION ========== */
.book-section {
  padding: 0;
  background: gold;
}

.book-inner {
  padding: 80px 56px;
  background: url('../assets/picture/bg_book-consultation.png') no-repeat center right / contain;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.book-inner::before {
  content: "";
  background: url('../assets/picture/bg_book-consultant.png') no-repeat center bottom / contain;
  height: 100%;
  width: 435px;
  position: absolute;
  top: 0;
  right: 12%;
  z-index: 2;
}

.book-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  position: relative;
  z-index: 3;
}

.book-contacts {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.book-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #070707;
  transition: opacity 0.3s;
}

.book-contact-item:hover {
  opacity: 0.7;
}

.book-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #070707;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.book-contact-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.book-form {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.book-form-row {
  display: flex;
  gap: 16px;
}

.book-form-row .form-field {
  flex: 1;
}

.book-form .form-field input {
  background: #fff;
}

@media (min-resolution: 2dppx) {
  .book-inner {
    background-image: url('../assets/picture/bg_book-consultation@2x.png');
  }
  .book-inner::before {
    background-image: url('../assets/picture/bg_book-consultant@2x.png');
  }
}

@media (max-width: 1280px) {
  .book-inner {
    padding-inline: 24px;
    background-size: cover;
    background-position: center;
  }
  .book-inner::before { right: 2%; }
}

@media (max-width: 768px) {
  .book-inner {
    padding: 48px 16px;
    background: none;
  }
  .book-inner::before { content: none; }
  .book-content { max-width: 100%; }
  .book-contacts { flex-direction: column; gap: 12px; }
  .book-form-row { flex-direction: column; gap: 12px; }
}

/* ========== FOOTER ========== */
footer {
  background: #070707;
  padding: 50px 58px 0;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/picture/bg_footer.png') no-repeat left top / contain;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 350px;
}

.footer-brand .site-logo {
  filter: none;
}

.footer-desc {
  color: #a3a3a3;
}

.footer-contacts {
  display: flex;
  gap: 48px;
}

.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact-label img {
  width: 20px;
  height: 20px;
}

.footer-label {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 20px;
}

.footer-link {
  color: #fff;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-copyright {
  margin-top: 46px;
  padding: 24px 0;
  border-top: 1px solid #a3a3a3;
}

.footer-copyright .p3 {
  color: #a3a3a3;
}

@media (min-resolution: 2dppx) {
  footer::before {
    background-image: url('../assets/picture/bg_footer@2x.png');
  }
}

@media (max-width: 1280px) {
  footer { padding-inline: 24px; }
}

@media (max-width: 768px) {
  footer {
    padding: 32px 16px 0;
  }
  footer::before {
    background: url('../assets/picture/bg_footer_mob.png') no-repeat left bottom / cover;
    filter: brightness(0) invert(1);
  }
  .footer-grid {
    flex-direction: column;
    gap: 24px;
  }
  .footer-contacts {
    flex-direction: column;
    gap: 20px;
  }
  .footer-copyright {
    margin-top: 20px;
    padding: 20px 0;
  }
}

/* ========== MODAL ========== */
dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  z-index: 200;
  display: none;
  justify-content: center;
  align-items: center;
}

dialog[open] {
  display: flex;
  animation: modalZoom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

dialog::backdrop {
  background: rgba(7, 7, 7, 0.35);
  animation: modalFade 0.4s ease;
}

@keyframes modalZoom {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-container {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 500px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  padding: 4px;
}

.modal-close img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(64%) sepia(9%) saturate(12%) hue-rotate(60deg) brightness(102%) contrast(85%);
}

.modal-form-view,
.modal-success-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: gold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-extra {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.success-extra a {
  color: gold;
  font-weight: 500;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .modal-container {
    width: calc(100% - 32px);
    max-width: 500px;
    padding: 48px 20px;
  }
  .modal-close {
    top: 19px;
    right: 19px;
  }
}

/* ========== MOBILE H2 CENTERING ========== */
@media (max-width: 768px) {
  h2 {
    text-align: center;
  }
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
@keyframes fadeInAndScale {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.reveal > * {
  opacity: 0;
}

.reveal.is-visible > * {
  animation: fadeInAndScale 0.5s ease-out forwards;
}

.reveal.is-visible > *:nth-child(1) { animation-delay: 0.1s; }
.reveal.is-visible > *:nth-child(2) { animation-delay: 0.2s; }
.reveal.is-visible > *:nth-child(3) { animation-delay: 0.3s; }
.reveal.is-visible > *:nth-child(4) { animation-delay: 0.35s; }
.reveal.is-visible > *:nth-child(5) { animation-delay: 0.4s; }
.reveal.is-visible > *:nth-child(6) { animation-delay: 0.45s; }
.reveal.is-visible > *:nth-child(7) { animation-delay: 0.5s; }
.reveal.is-visible > *:nth-child(8) { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal > * { opacity: 1; }
  .reveal.is-visible > * { animation: none; }
}
