/* =========================================
   Paytech Vina – Vanilla CSS
   ========================================= */
:root {
  --color-primary: #117ce9;
  --color-primary-dark: #0052e0;
  --color-primary-light: #7dbbfb;
  --color-text: #171717;
  --color-muted: #686c70;
  --color-bg-soft: #f9fafb;
  --color-bg-grey: #f5f7fa;
  --color-border: #e5e7eb;
  --bp-sm: 768px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--color-text);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* hidden 속성 호환성 — SVG 등에서도 항상 숨김 보장 */
[hidden] { display: none !important; }

/* Utility */
.container {
  width: 90%;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .container-md { width: 1092px; max-width: 90%; }
  .container-lg { width: 1290px; max-width: 90%; }
}

/* Reveal animations (replacement for framer-motion) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  user-select: none;
  font-size: 14px;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.25);
}
.btn-primary:hover { background: var(--color-primary-dark); }

/* =========================================
   Header
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-80px);
  opacity: 0;
  animation: header-in 0.5s ease-out 0.05s forwards;
}
@keyframes header-in {
  to { transform: translateY(0); opacity: 1; }
}
.header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .header-inner { max-width: 85%; }
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.logo-img { width: 222px; height: 23px; object-fit: contain; }

/* Desktop nav */
.nav-desktop {
  display: none !important;
  align-items: center;
  gap: 50px;
}
@media (min-width: 640px) {
  .nav-desktop { display: flex !important; }
}
.nav-link {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav-cta {
  width: 114px;
  height: 40px;
}

/* Lang dropdown */
.lang-dropdown { position: relative; margin-left: 8px; }
@media (min-width: 768px) {
  .lang-dropdown { margin-left: 50px; }
}
.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: background 0.2s ease;
}
.lang-btn:hover { background: rgba(255,255,255,0.1); }
.lang-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  width: 112px;
  padding: 13px;
  background: #fff;
  border-radius: 8px;
  z-index: 100;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.32px;
}
.lang-menu button.is-active {
  background: var(--color-primary);
  color: #fff;
}

/* Mobile right side */
.nav-mobile-right {
  display: flex !important;
  align-items: center;
  gap: 4px;
}
@media (min-width: 640px) {
  .nav-mobile-right { display: none !important; }
}
.hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile panel */
.mobile-panel {
  background: #111827;
  border-top: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.25rem;
}
.mobile-panel[hidden] { display: none; }
.mobile-link {
  width: 100%;
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-link:hover { background: rgba(255,255,255,0.1); }
.mobile-cta-wrap {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-cta {
  width: 100%;
  border-radius: 12px;
  height: 32px;
}

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { align-items: center; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 6rem 1.25rem 4rem;
}
@media (min-width: 768px) {
  .hero-inner {
    max-width: 85%;
    padding: 6rem 1.5rem 5rem;
    margin: 0 auto;
  }
}
.hero-content { max-width: 36rem; }

.hero-badge {
  margin-bottom: 1rem;
  height: 40px;
  padding: 0 18px;
  border: 1.5px solid #686c70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  font-size: 0.7rem;
}
@media (min-width: 768px) {
  .hero-badge { height: 50px; font-size: 1rem; margin-bottom: 1.5rem; }
}
body[data-lang="ko"] .hero-badge { font-size: 0.85rem; }
@media (min-width: 768px) { body[data-lang="ko"] .hero-badge { font-size: 1rem; } }

.hero-headline {
  margin: 1.5rem 0 1.25rem;
  font-size: 1.875rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}
@media (min-width: 768px) {
  .hero-headline {
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 2.4375rem;
  }
}

.hero-subtext {
  margin-top: 1.25rem;
  color: #dfdede;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .hero-subtext {
    margin-top: 2.4375rem;
    font-size: 16px;
  }
}
.hero-pay-list { margin: 0 0 0.25rem; }
.hero-subtext p { margin: 0; }

.hero-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 210px;
  height: 50px;
  margin-top: 20px;
  padding: 0;
  border: 2px solid var(--color-primary);
  border-radius: 9999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hero-download-btn:hover {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.hero-download-btn:active {
  transform: translateY(0);
}
.hero-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 1;
  background: url("../images/download-btn.png") center / contain no-repeat;
}
@media (min-width: 768px) {
  .hero-download-btn {
    width: 231px;
    height: 50px;
    margin-top: 30px;
    background: transparent;
    font-size: 16px;
  }

  .hero-download-btn:hover {
    background: transparent;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}
@media (min-width: 768px) {
  .hero-scroll { display: flex; }
}
.bounce { animation: bounce 1.5s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =========================================
   Sections (general)
   ========================================= */
.section {
  display: flex;
  justify-content: center;
}
.section-heading {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.76px;
  line-height: 1.25;
  color: #000;
  margin: 0;
}
@media (min-width: 768px) {
  .section-heading {
    font-size: 38px;
    line-height: 45px;
  }
}
.section-subheading {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-muted);
  margin: 1rem 0 0;
}
@media (min-width: 768px) {
  .section-subheading {
    font-size: 22px;
    line-height: 26px;
  }
}
.section-tag {
  font-weight: 700;
  letter-spacing: -0.36px;
  color: var(--color-primary);
}
.tag-mobile { font-size: 18px; line-height: 21px; margin: 0 0 12px; }
.tag-desktop {
  display: none;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -0.44px;
}
@media (min-width: 768px) {
  .tag-mobile { display: none; }
  .tag-desktop { display: block; }
}

/* =========================================
   Why
   ========================================= */
.why { background: var(--color-bg-soft); align-items: center; }
.why .container { padding: 80px 0; }
@media (min-width: 768px) {
  .why .container { padding: 131px 0; }
}
.why-head { width: 100%; margin-bottom: 28px; }
@media (min-width: 768px) {
  .why-head { margin-bottom: 55px; }
}
.why-head-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .why-head-row { margin-bottom: 20px; } }
.why-subheading { margin-right: 88px; }

.why-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (min-width: 768px) {
  .why-grid { display: grid; }
}
.why-scroller {
  display: block;
  margin: 0 -1rem;
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.why-scroller::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .why-scroller { display: none; }
}
.why-scroller-track {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  width: max-content;
}
.why-card-wrap { flex: 0 0 160px; scroll-snap-align: start; }

.why-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-soft);
  overflow: hidden;
  transition: transform 0.2s ease;
}
.why-card:hover { transform: translateY(-4px); }
.why-card-img-wrap {
  overflow: hidden;
  border-radius: 10px;
}
@media (min-width: 768px) {
  .why-card-img-wrap { border-radius: 12px; }
}
.why-card-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease;
}
@media (min-width: 768px) {
  .why-card-img {
    width: 100%;
    height: 191px;
    border-radius: 12px;
  }
}
.why-card:hover .why-card-img { transform: scale(1.05); }
.why-card-title {
  margin: 12px 0 8px;
  font-weight: 700;
  font-size: 13px;
  color: #000;
  line-height: 16px;
}
@media (min-width: 768px) {
  .why-card-title { margin-top: 18px; font-size: 16px; line-height: 1.25; }
}
.why-card-desc {
  margin: 0;
  white-space: pre-line;
  max-width: 141px;
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .why-card-desc { font-size: 16px; max-width: 330px; line-height: 1.25; }
}

/* =========================================
   How it works
   ========================================= */
.how { background: #fff; }
.how .container {
  padding: 63px 0 49px;
}
@media (min-width: 768px) {
  .how .container { padding: 109px 0; }
}
.how-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.how-subheading {
  margin-bottom: 30px;
  max-width: 263px;
}
@media (min-width: 768px) {
  .how-subheading { margin-top: 20px; margin-bottom: 50px; max-width: none; }
}
.how-tabs {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .how-tabs { margin-bottom: 88px; }
}
.how-tab {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.4px;
  color: var(--color-primary-light);
  margin: 0;
  cursor: pointer;
  user-select: none;
}
.how-tab-active {
  color: var(--color-primary);
}
@media (min-width: 768px) { .how-tab { font-size: 20px; } }
.how-tab + .how-tab {
  margin-left: 16px;
  font-weight: 500;
  color: var(--color-primary-light);
}
.how-tab-dot {
  width: 4px; height: 4px;
  border-radius: 9999px;
  background: var(--color-primary);
  margin: 0 17px 0 18px;
}

.how-steps-desktop {
  display: none;
}
@media (min-width: 768px) {
  .how-steps-desktop {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 23px;
  }
}
.how-steps-mobile {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media (min-width: 768px) { .how-steps-mobile { display: none; } }

.how-step-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
}
.how-steps-mobile .how-step-wrap {
  flex-direction: column;
}
.how-step {
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.2s ease;
}
.how-step:hover { transform: translateY(-4px); }
.how-step img {
  display: block;
  transition: transform 0.5s ease;
  width: 100%;
}
@media (min-width: 768px) {
  .how-step img { width: 282px; height: 400px; }
}
.how-step:hover img { transform: scale(1.05); }
.how-step-arrow {
  color: #d1d5db;
  font-size: 1.5rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .how-step-arrow { font-size: 1.75rem; }
}

.how-settle {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
@media (min-width: 768px) {
  .how-settle { margin-top: 64px; gap: 12px; }
}
.how-settle img { width: 42px; height: 43px; }
.how-settle-text {
  margin: 0 0 0 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: -0.68px;
  color: #000;
  text-align: center;
}
@media (min-width: 768px) {
  .how-settle-text { font-size: 34px; line-height: 40px; }
}
.settle-desktop { display: none; }
.settle-mobile { display: inline; }
@media (min-width: 768px) {
  .settle-desktop { display: inline; }
  .settle-mobile { display: none; }
}
.how-settle-desc {
  margin-top: 20px;
  font-size: 14px;
  line-height: 26px;
  color: var(--color-muted);
  text-align: center;
}
@media (min-width: 768px) {
  .how-settle-desc { margin-top: 11px; font-size: 22px; }
}

/* =========================================
   Payments
   ========================================= */
.payments { background: #fff; }
.payments .container {
  padding: 90px 0 140px;
}
@media (min-width: 768px) {
  .payments .container { padding: 0 0 90px; }
}
.payments-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.payments-subheading { font-size: 14px; line-height: 16px; }
@media (min-width: 768px) {
  .payments-subheading { font-size: 22px; line-height: 26px; }
}

.payments-row-desktop {
  display: none;
}
@media (min-width: 768px) {
  .payments-row-desktop {
    display: flex;
    flex-direction: row;
    gap: 11px;
    margin-top: 73px;
  }
}
.payments-row-mobile {
  margin: 40px -1rem 0;
  padding: 0 1rem 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.payments-row-mobile::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .payments-row-mobile { display: none; } }
.payments-row-track { display: flex; gap: 12px; width: max-content; }

.payment-card {
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.2s ease;
}
.payment-card:hover { transform: translateY(-4px); }
.payment-card img {
  width: 120px;
  height: 140px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
@media (min-width: 768px) {
  .payment-card img { width: 180px; height: 225px; }
}
.payment-card:hover img { transform: scale(1.05); }

/* =========================================
   Dashboard
   ========================================= */
.dashboard { background: var(--color-bg-grey); }
.dashboard .container {
  padding: 84px 0 42px;
}
@media (min-width: 768px) {
  .dashboard .container { padding: 175px 0 273px; }
}
.dashboard-grid {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
  }
}
.dashboard-text {
  display: flex;
  flex-direction: column;
}
.dashboard-badge {
  font-weight: 700;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: -0.44px;
  color: var(--color-primary);
}
@media (min-width: 768px) {
  .dashboard-badge { font-size: 22px; line-height: 26px; }
}

.dashboard-slides { position: relative; }
.dashboard-slide {
  display: none;
  flex-direction: column;
  animation: slide-in 0.4s ease-out;
}
.dashboard-slide.is-active { display: flex; }
@keyframes slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.dashboard-title {
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  color: #0a0f1e;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .dashboard-title {
    margin-top: 30px;
    font-size: 42px;
    letter-spacing: -0.42px;
    color: #000;
    gap: 10px;
  }
  .dashboard-title span { line-height: 50px; }
}

.dashboard-image-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: visible;
}
.dashboard-image-mobile img {
  display: block;
  object-fit: contain;
}
.dashboard-mobile-img {
  width: 255px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .dashboard-image-mobile { display: none; }
}

.dashboard-mini {
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  color: #000;
  margin: 0 0 9px;
}
@media (min-width: 768px) {
  .dashboard-mini {
    margin-top: 60px;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
  }
}
.dashboard-desc {
  font-size: 18px;
  line-height: 24px;
  white-space: pre-line;
  margin: 0 0 24px;
  color: #000;
}
@media (min-width: 768px) {
  .dashboard-desc {
    width: 500px;
    max-width: 100%;
    margin-top: 14px;
    font-size: 22px;
    line-height: 29px;
  }
}
.dashboard-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.8px solid var(--color-primary);
  border-radius: 9999px;
  background: #fff;
  color: #111827;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  width: fit-content;
  padding: 11px 24px;
}
@media (min-width: 768px) {
  .dashboard-cta {
    width: 266px;
    height: 50px;
    margin-top: 30px;
    margin-bottom: 85px;
    border-width: 2px;
    font-size: 16px;
    font-weight: 500;
    justify-content: center;
  }
}

.dashboard-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 40px;
}
.dashboard-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.dashboard-dot.is-active {
  width: 24px;
  background: #1a6bff;
}

.dashboard-image-desktop {
  display: none;
  position: relative;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .dashboard-image-desktop { display: block; }
}
.dashboard-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dashboard-img.is-active { opacity: 1; }

/* =========================================
   Contact
   ========================================= */
.contact { background: #fff; }
.contact .container {
  padding: 82px 0 136px;
}
@media (min-width: 768px) {
  .contact .container { padding: 172px 0 136px; }
}
.contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .contact-head { padding: 0 99px; }
}
.contact-head h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.76px;
  color: #000;
  max-width: 65%;
  margin: 0 0 12px;
}
@media (min-width: 768px) {
  .contact-head h2 {
    font-size: 38px;
    line-height: 45px;
    margin-bottom: 20px;
    max-width: none;
  }
}
body[data-lang="ko"] .contact-head h2 { max-width: 50%; }
@media (min-width: 768px) {
  body[data-lang="ko"] .contact-head h2 { max-width: none; }
}

.contact-sub-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .contact-sub-row { padding: 0 99px; }
}
.contact-subheading {
  font-size: 14px;
  line-height: 26px;
  color: var(--color-muted);
  max-width: 80%;
}
@media (min-width: 768px) {
  .contact-subheading { font-size: 22px; max-width: none; text-align: left; }
}
body[data-lang="ko"] .contact-subheading { max-width: 200px; }
@media (min-width: 768px) {
  body[data-lang="ko"] .contact-subheading { max-width: none; }
}

.contact-cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .contact-cards {
    margin-top: 107px;
    grid-template-columns: 1fr 1fr;
  }
}
.contact-card {
  height: 200px;
  padding: 22px 30px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
@media (min-width: 768px) {
  .contact-card { padding: 30px 30px 32px; border-radius: 16px; }
}
.contact-card:hover { transform: scale(1.02); }
.contact-card-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
@media (min-width: 768px) {
  .contact-card-row { flex-direction: row; }
}
.contact-card-label {
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.14px;
  color: #fff;
  margin: 0 0 20px;
}
@media (min-width: 768px) {
  .contact-card-label { margin-bottom: 23px; }
}
.contact-card-desc {
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -0.2px;
  color: #fff;
  white-space: pre-line;
  margin: 0;
}
@media (min-width: 768px) { .contact-card-desc { font-size: 20px; } }
.contact-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 164px;
  height: 46px;
  margin-top: 20px;
  border-radius: 28px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
@media (min-width: 768px) { .contact-card-cta { margin-top: 50px; } }

.faq-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.faq-modal[hidden] {
  display: none !important;
}
.faq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.faq-modal-panel {
  position: relative;
  z-index: 1;
  width: min(742px, 100%);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}
.faq-modal-head {
  height: 152px;
  padding: 53px 40px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.faq-modal-head h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #222;
}
.faq-modal-close {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.faq-modal-close span {
  position: absolute;
  left: 6px;
  top: 21px;
  width: 34px;
  height: 4px;
  border-radius: 9999px;
  background: #111;
}
.faq-modal-close span:first-child {
  transform: rotate(45deg);
}
.faq-modal-close span:last-child {
  transform: rotate(-45deg);
}
.faq-list {
  max-height: 606px;
  overflow-y: auto;
}
.faq-item {
  border-top: 1px solid #e5e5e5;
}
.faq-question {
  width: 100%;
  min-height: 100px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: #222;
}
.faq-q-mark {
  flex-shrink: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.faq-question-text {
  flex: 1;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.faq-arrow {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-arrow::before,
.faq-arrow::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 13px;
  height: 3px;
  border-radius: 9999px;
  background: #222;
  transition: transform 0.2s ease;
}
.faq-arrow::before {
  left: -1.5px;
  transform: rotate(45deg);
}
.faq-arrow::after {
  right: -1.5px;
  transform: rotate(-45deg);
}
.faq-item.is-open .faq-arrow::before {
  transform: rotate(-45deg);
}
.faq-item.is-open .faq-arrow::after {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 31px 40px 36px;
  background: #f5f5f5;
  border-top: 1px solid #ededed;
}
.faq-item.is-open .faq-answer {
  display: block;
}
.faq-answer p {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
  color: #777;
  letter-spacing: -0.3px;
}

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.consult-modal[hidden] {
  display: none !important;
}
.consult-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.consult-modal-panel {
  position: relative;
  z-index: 1;
  width: min(800px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: 16px;
  background: #fff;
  padding: 36px 48px 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}
.consult-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}
.consult-modal-head h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: #222;
  letter-spacing: -0.6px;
}
.consult-modal-close {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.consult-modal-close span {
  position: absolute;
  left: 4px;
  top: 17px;
  width: 30px;
  height: 3px;
  border-radius: 9999px;
  background: #111;
}
.consult-modal-close span:first-child {
  transform: rotate(45deg);
}
.consult-modal-close span:last-child {
  transform: rotate(-45deg);
}
.consult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.consult-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.consult-field span {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.3px;
}
.consult-field input,
.consult-field select,
.consult-field textarea {
  width: 100%;
  border: 1px solid #d9dde3;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.consult-field input,
.consult-field select {
  height: 70px;
  padding: 0 20px;
}
.consult-field textarea {
  min-height: 140px;
  padding: 20px;
  resize: vertical;
}
.consult-field input::placeholder,
.consult-field textarea::placeholder {
  color: #9aa1aa;
}
.consult-field select {
  appearance: none;
  color: #8c939d;
  background:
          linear-gradient(45deg, transparent 50%, #cfd6df 50%) calc(100% - 25px) 31px / 9px 9px no-repeat,
          linear-gradient(135deg, #cfd6df 50%, transparent 50%) calc(100% - 16px) 31px / 9px 9px no-repeat,
          #fff;
}
.consult-field input:focus,
.consult-field select:focus,
.consult-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(17, 124, 233, 0.12);
}
.consult-field-full {
  margin-top: 20px;
}
.consult-submit {
  width: 100%;
  height: 100px;
  margin-top: 30px;
  border: 0;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.8px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.consult-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.consult-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.consult-privacy {
  margin: 15px 0 0;
  text-align: center;
  color: #8a8f98;
  font-size: 14px;
  line-height: 1.5;
}
.consult-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 300;
  transform: translate(-50%, 20px);
  padding: 18px 26px;
  border-radius: 9999px;
  background: rgba(17, 124, 233, 0.96);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  box-shadow: 0 16px 45px rgba(17, 124, 233, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.consult-toast[hidden] {
  display: none !important;
}
.consult-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 767px) {
  .consult-modal {
    padding: 14px;
  }
  .consult-modal-panel {
    max-height: calc(100vh - 300px);
    padding: 26px 20px 24px;
    border-radius: 18px;
  }
  .consult-modal-head {
    margin-bottom: 24px;
  }
  .consult-modal-head h3 {
    font-size: 24px;
  }
  .consult-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .consult-field span {
    font-size: 14px;
  }
  .consult-field input,
  .consult-field select {
    height: 56px;
    padding: 0 16px;
    font-size: 14px;
  }
  .consult-field textarea {
    min-height: 120px;
    padding: 16px;
    font-size: 14px;
  }
  .consult-submit {
    height: 64px;
    margin-top: 22px;
    border-radius: 8px;
    font-size: 22px;
  }
  .consult-privacy {
    font-size: 12px;
  }
  .consult-toast {
    width: calc(100% - 32px);
    bottom: 24px;
    text-align: center;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .faq-modal {
    padding: 14px;
  }
  .faq-modal-panel {
    width: 100%;
    border-radius: 18px;
  }
  .faq-modal-head {
    height: auto;
    padding: 28px 24px 24px;
    align-items: center;
  }
  .faq-modal-head h3 {
    font-size: 26px;
    letter-spacing: -0.6px;
  }
  .faq-modal-close {
    width: 36px;
    height: 36px;
  }
  .faq-modal-close span {
    left: 5px;
    top: 17px;
    width: 28px;
    height: 3px;
  }
  .faq-list {
    max-height: 474px;
  }
  .faq-question {
    min-height: 78px;
    padding: 0 24px;
    gap: 12px;
  }
  .faq-q-mark {
    font-size: 24px;
  }
  .faq-question-text {
    font-size: 18px;
  }
  .faq-answer {
    padding: 22px 24px 26px;
  }
  .faq-answer p {
    font-size: 15px;
    line-height: 1.55;
  }
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  width: 90%;
  margin: 0 auto;
  padding: 36px 0 76px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .footer-inner {
    width: 1290px;
    max-width: 90%;
    padding: 56px 0 52px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
.footer-left { display: flex; flex-direction: column; }
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img { width: 178px; height: 29px; object-fit: contain; }
.footer-biz, .footer-addr {
  margin: 0;
  font-size: 12px;
  line-height: 17px;
  color: var(--color-muted);
}
.footer-biz { margin-top: 31px; }
.footer-copy {
  margin-top: 12px;
  font-size: 15px;
  line-height: 18px;
  color: var(--color-muted);
}

.affiliate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 0 18px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.13px;
  gap: 8px;
}
.affiliate-btn-mobile {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
}
.affiliate-btn-desktop { display: none; }
@media (min-width: 768px) {
  .affiliate-btn-mobile { display: none; }
  .affiliate-btn-desktop {
    display: inline-flex;
    width: 138px;
    padding: 0;
  }
}

/* =========================================
   Compatibility classes leaking from i18n
   strings (e.g. payments.heading uses
   <br class="sm:hidden" /> for mobile-only
   line breaks).
   ========================================= */
@media (min-width: 768px) {
  .sm\:hidden { display: none !important; }
}
