/* KoreaWay — static HTML/CSS version. Visual parity with the React build. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #003478 transparent;
  /* Both html AND body must clip horizontal overflow: iOS Safari and mobile
     WebViews ignore overflow-x on body alone */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #F0F4FF;
  color: #0D1B3E;
  overflow-x: hidden;
  overflow-x: clip;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #003478; border-radius: 3px; }

svg { flex-shrink: 0; }

/* ─── Keyframes ─────────────────────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* ─── Scroll-reveal states ──────────────────────────────────────────────────── */
.hidden-init {
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hidden-init.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hidden-left {
  opacity: 0;
  transform: translateX(-56px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hidden-left.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hidden-right {
  opacity: 0;
  transform: translateX(56px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hidden-right.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hidden-scale {
  opacity: 0;
  transform: scale(0.84);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hidden-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays (match the React version's i*0.1s inline delays) */
.steps-grid .step-item:nth-child(2) { transition-delay: 0.1s; }
.steps-grid .step-item:nth-child(3) { transition-delay: 0.2s; }
.steps-grid .step-item:nth-child(4) { transition-delay: 0.3s; }
.steps-grid .step-item:nth-child(5) { transition-delay: 0.4s; }
.steps-grid .step-item:nth-child(6) { transition-delay: 0.5s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.1s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.2s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.3s; }
.why-grid .why-card:nth-child(5) { transition-delay: 0.4s; }
.why-grid .why-card:nth-child(6) { transition-delay: 0.5s; }
.reviews-grid .testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.reviews-grid .testimonial-card:nth-child(3) { transition-delay: 0.2s; }
.reviews-grid .testimonial-card:nth-child(4) { transition-delay: 0.3s; }
.reviews-grid .testimonial-card:nth-child(5) { transition-delay: 0.4s; }
.reviews-grid .testimonial-card:nth-child(6) { transition-delay: 0.5s; }
.gallery-grid .gallery-img:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .gallery-img:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid .gallery-img:nth-child(4) { transition-delay: 0.3s; }
.gallery-grid .gallery-img:nth-child(5) { transition-delay: 0.4s; }
.gallery-grid .gallery-img:nth-child(6) { transition-delay: 0.5s; }
.gallery-grid .gallery-img:nth-child(7) { transition-delay: 0.6s; }
.gallery-grid .gallery-img:nth-child(8) { transition-delay: 0.7s; }

/* Hero reveal cascade: delays apply only while visible so the reset is instant */
.hero .h-badge.visible { transition-delay: 0s; }
.hero .hero-title.visible { transition-delay: 0.08s; }
.hero .hero-sub.visible { transition-delay: 0.16s; }
.hero .hero-cta.visible { transition-delay: 0.24s; }
.hero .hero-links.visible { transition-delay: 0.32s; }
.hero .hero-visual.visible { transition-delay: 0.15s; }

/* ─── Shared bits ───────────────────────────────────────────────────────────── */
.section { padding: 56px 16px; }
.section-inner { max-width: 72rem; margin: 0 auto; }
.bg-white { background: #ffffff; }

/* ─── City "window" sections ─────────────────────────────────────────────────
   A blue band that reveals a fixed Seoul photo behind it: the city stays put
   while the section scrolls over it, like a hole cut into the blue. The tint
   scrolls with the section (always covers it) while the photo is fixed to the
   viewport — that difference is what creates the parallax "window" effect. */
.section-window {
  position: relative;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(0, 34, 85, 0.82) 0%, rgba(0, 52, 120, 0.74) 100%),
    url('https://images.unsplash.com/photo-1546874177-9e664107314e?w=1920&h=1280&fit=crop&auto=format');
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  background-attachment: scroll, fixed;
}

.section-window .section-title { color: #fff; }

.partners-sub {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

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

.partner-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  color: #fff;
}

.partner-mono {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.partner-mono.blue { background: linear-gradient(135deg, #1a4d94, #003478); }
.partner-mono.red { background: linear-gradient(135deg, #e03545, #CD2E3A); }

.partner-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 4px; }
.partner-city { font-size: 12px; color: rgba(255, 255, 255, 0.65); }

.partners-grid .partner-card:nth-child(2) { transition-delay: 0.1s; }
.partners-grid .partner-card:nth-child(3) { transition-delay: 0.2s; }
.partners-grid .partner-card:nth-child(4) { transition-delay: 0.3s; }
.partners-grid .partner-card:nth-child(5) { transition-delay: 0.4s; }
.partners-grid .partner-card:nth-child(6) { transition-delay: 0.5s; }

/* ─── Single-partner spotlight ─────────────────────────────────────────────── */
.partner-solo {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 290px) 1fr;
  gap: 40px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 26px;
  padding: 40px;
  color: #fff;
  text-align: left;
}

.partner-solo-logo {
  width: 88px; height: 88px; border-radius: 22px; margin-bottom: 20px;
  background: #fff; color: #003478;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -0.02em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.partner-solo-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(29, 166, 83, 0.16); border: 1px solid rgba(29, 166, 83, 0.4);
  border-radius: 100px; padding: 5px 12px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; color: #7ee2a8;
}
.partner-solo-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 25px; line-height: 1.1; margin-bottom: 8px; }
.partner-solo-tag { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.62); margin-bottom: 20px; }
.partner-solo-loc { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.82); margin-bottom: 22px; }
.partner-solo-loc svg { color: #ff6b78; flex: 0 0 auto; }
.partner-solo-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: #fff; color: #003478; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 100px; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-solo-link:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }

.partner-solo-body {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.partner-solo-desc { font-size: 15.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.86); margin-bottom: 26px; }
.partner-solo-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pstep {
  display: flex; align-items: center; gap: 13px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px; padding: 14px 16px;
}
.pstep-ic {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.13); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.pstep-t { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.25; }

@media (max-width: 767px) {
  .partner-solo { grid-template-columns: 1fr; gap: 26px; padding: 26px; border-radius: 22px; }
  .partner-solo-logo { width: 72px; height: 72px; font-size: 26px; border-radius: 18px; }
  .partner-solo-body { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 26px; }
  .partner-solo-steps { grid-template-columns: 1fr; }
}

/* ─── Partner track record (years of experience / success rate) ────────────── */
.partner-stats {
  max-width: 940px;
  margin: 18px auto 0;
  display: grid;
  /* two up while each tile keeps room for its label, one up on very narrow phones */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.pstat {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 22px 26px;
  color: #fff;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.pstat:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.32); }

/* soft corner glow — blue on the first tile, red on the second, matching the flag palette */
.pstat::after {
  content: "";
  position: absolute; top: -46px; right: -46px;
  width: 150px; height: 150px; border-radius: 50%;
  pointer-events: none;
}
.pstat.blue::after { background: radial-gradient(circle, rgba(120, 176, 255, 0.28) 0%, transparent 70%); }
.pstat.red::after { background: radial-gradient(circle, rgba(255, 107, 120, 0.3) 0%, transparent 70%); }

.pstat-ic {
  width: 54px; height: 54px; border-radius: 16px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.pstat.blue .pstat-ic { color: #9cc4ff; }
.pstat.red .pstat-ic { color: #ff8f99; }

.pstat-body { min-width: 0; }
.pstat-num {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(28px, 4vw, 38px); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pstat-label {
  margin-top: 7px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 600px) {
  .partner-stats { gap: 12px; margin-top: 14px; }
  .pstat { gap: 13px; padding: 18px 16px; border-radius: 18px; }
  .pstat-ic { width: 44px; height: 44px; border-radius: 13px; }
  .pstat-ic svg { width: 22px; height: 22px; }
  .pstat-num { font-size: clamp(24px, 7vw, 32px); }
  .pstat-label { font-size: 12px; margin-top: 5px; }
}

/* ─── Partner document card + PDF lightbox ─────────────────────────────────── */
.partner-doc {
  max-width: 940px; width: 100%; margin: 18px auto 0;
  display: flex; align-items: center; gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 20px; padding: 16px 20px;
  color: #fff; font-family: inherit; text-align: left; cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.partner-doc:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.32); }
.partner-doc-cover {
  width: 94px; height: 66px; flex: 0 0 auto; object-fit: cover; object-position: top;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.partner-doc-info { flex: 1 1 auto; min-width: 0; }
.partner-doc-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.partner-doc-meta { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); }
.partner-doc-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #003478; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13.5px;
  padding: 10px 18px; border-radius: 100px;
}

.pdf-lb { position: fixed; inset: 0; z-index: 3000; display: none; }
.pdf-lb.open { display: block; }
.pdf-lb-backdrop { position: absolute; inset: 0; background: rgba(6, 16, 38, 0.92); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.pdf-lb-dialog { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 62px 72px 78px; }
.pdf-lb-stage { max-width: 1120px; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.pdf-lb-img { max-width: 100%; max-height: calc(100vh - 156px); border-radius: 6px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); }
.pdf-lb-close, .pdf-lb-nav {
  position: absolute; border: none; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: center;
  transition: background 0.18s ease;
}
.pdf-lb-close:hover, .pdf-lb-nav:hover { background: rgba(255, 255, 255, 0.28); }
.pdf-lb-close { top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%; }
.pdf-lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; }
.pdf-lb-nav.prev { left: 18px; } .pdf-lb-nav.next { right: 18px; }
.pdf-lb-bar { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; }
.pdf-lb-counter { color: rgba(255, 255, 255, 0.85); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pdf-lb-dl { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, 0.14); padding: 8px 16px; border-radius: 100px; transition: background 0.18s ease; }
.pdf-lb-dl:hover { background: rgba(255, 255, 255, 0.28); }

/* mode toggle (top-left) */
.pdf-lb-modes { position: absolute; top: 18px; left: 20px; display: flex; gap: 4px; background: rgba(255, 255, 255, 0.12); border-radius: 100px; padding: 4px; z-index: 2; }
.pdf-lb-modes button { width: 38px; height: 34px; border: none; border-radius: 100px; background: transparent; color: rgba(255, 255, 255, 0.7); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.18s ease, color 0.18s ease; }
.pdf-lb-modes button:hover { color: #fff; }
.pdf-lb-modes button.active { background: #fff; color: #003478; }

/* continuous-scroll view */
.pdf-lb-scroll { display: none; }
.pdf-lb.mode-scroll .pdf-lb-stage { display: none; }
.pdf-lb.mode-scroll .pdf-lb-nav { display: none; }
.pdf-lb.mode-scroll .pdf-lb-scroll {
  display: block; position: absolute; inset: 60px 0 58px; overflow-y: auto;
  -webkit-overflow-scrolling: touch; padding: 6px 16px 10px; overscroll-behavior: contain;
}
.pdf-lb-page { display: block; width: min(1000px, 96%); margin: 14px auto; border-radius: 6px; background: #fff; box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45); }

@media (max-width: 600px) {
  .partner-doc { gap: 14px; padding: 14px; }
  .partner-doc-cta span { display: none; }
  .partner-doc-cta { padding: 10px; }
  .pdf-lb-dialog { padding: 54px 6px 72px; }
  .pdf-lb-nav { width: 42px; height: 42px; }
  .pdf-lb-nav.prev { left: 6px; } .pdf-lb-nav.next { right: 6px; }
  .pdf-lb-img { max-height: calc(100vh - 128px); }
}

@media (min-width: 640px) {
  .section { padding: 80px 24px; }
}
@media (min-width: 1024px) {
  .section { padding-left: 32px; padding-right: 32px; }
}

.card-hover {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease,
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 48px rgba(0, 52, 120, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #003478, #1a4d94);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a4d94, #003478);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::after { opacity: 1; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 52, 120, 0.35);
}

.btn-primary:active,
.btn-red:active,
.btn-outline:active {
  transform: translateY(0) scale(0.96);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-inner { display: inline-flex; align-items: center; gap: 8px; }

.btn-red {
  background: linear-gradient(135deg, #CD2E3A, #e03545);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(205, 46, 58, 0.4);
}

.btn-outline {
  background: transparent;
  color: #003478;
  padding: 13px 27px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 2px solid #003478;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
}

.btn-outline:hover {
  background: #003478;
  color: white;
  transform: translateY(-2px);
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #0D1B3E;
  line-height: 1.15;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 52, 120, 0.08);
  color: #003478;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge.center { justify-content: center; }
.badge.light { background: rgba(255, 255, 255, 0.12); color: white; }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head.tight { margin-bottom: 48px; }
.sec-head.tighter { margin-bottom: 40px; }
.sec-head .badge { margin-bottom: 16px; }

.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.mb-32 { margin-bottom: 32px; }
.mb-36 { margin-bottom: 36px; }
.mt-32 { margin-top: 32px; }

.hide-desktop { display: none; }

/* ─── Navbar ────────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 52, 120, 0.08);
  border-bottom: 1px solid rgba(0, 52, 120, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 36px; width: auto; display: block; }
.logo-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 16px; color: #003478; line-height: 1.1; }
.logo-sub { font-size: 10px; color: #5A6A8A; font-weight: 600; letter-spacing: 0.06em; }

.nav-links { display: flex; gap: 24px; flex: 1; justify-content: center; }

.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: #0D1B3E;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: 'Nunito', sans-serif;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #003478;
  transition: width 0.25s ease;
}

.nav-link:hover { color: #003478; }
.nav-link:hover::after { width: 100%; }

.lang-row { display: flex; gap: 4px; align-items: center; }

.lang-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  background: transparent;
  font-family: 'Nunito', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang-btn.active { background: #003478; color: white; border-color: #003478; }
.lang-btn:not(.active) { color: #5A6A8A; border-color: #D0D8E8; }
.lang-btn:not(.active):hover { border-color: #003478; color: #003478; }

.flag { border-radius: 2.5px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12); display: block; }

.burger { margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.burger-lines { width: 24px; display: flex; flex-direction: column; gap: 5px; }
.burger-line { height: 2px; background: #003478; border-radius: 2px; transition: all 0.3s; }
.burger.open .burger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open .burger-line:nth-child(2) { opacity: 0; }
.burger.open .burger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  background: white;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(0, 52, 120, 0.08);
  box-shadow: 0 8px 24px rgba(0, 52, 120, 0.1);
  border-radius: 0 0 20px 20px;
  animation: menuIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open { display: block; }

.mm-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0, 52, 120, 0.06);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #0D1B3E;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
}

.mm-langs { display: flex; gap: 6px; margin-top: 16px; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 52, 120, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(205, 46, 58, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 52, 120, 0.06) 0%, transparent 50%),
    #F0F4FF;
}

.hero-circle-1 {
  position: absolute; top: 15%; right: 8%; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 52, 120, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-circle-2 {
  position: absolute; bottom: 10%; left: 5%; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 46, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Faint city backdrop — a translucent Seoul photo behind the hero. The photo is
   fixed to the viewport (background-attachment: fixed), so it stays put while
   the hero scrolls over it — same city as the Partners section for continuity. */
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1546874177-9e664107314e?w=1920&h=1280&fit=crop&auto=format");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.16;
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  color: #0D1B3E;
  line-height: 1.1;
  margin-bottom: 24px;
  white-space: pre-line;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: #5A6A8A;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-links { display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap; }

.hero-link { display: flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: 14px; }
.hero-link.tg { color: #003478; }
.hero-link.wa { color: #25D366; }

.hero-visual { position: relative; }

.hero-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 32px 80px rgba(0, 52, 120, 0.18); }
.hero-photo img { width: 100%; height: 420px; object-fit: cover; display: block; }
.hero-photo-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 34, 85, 0.5) 0%, transparent 60%); }
.hero-photo-cap { position: absolute; bottom: 24px; left: 24px; color: white; }
.cap-kr { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; }
.cap-en { font-size: 13px; opacity: 0.8; }

/* ─── About ─────────────────────────────────────────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
}

.split-grid.start { align-items: start; }

.about-photo { position: relative; border-radius: 24px; overflow: hidden; }
.about-img { width: 100%; height: 400px; object-fit: cover; display: block; }
.about-grad { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 52, 120, 0.3) 0%, transparent 60%); }

.about-text { color: #5A6A8A; line-height: 1.8; font-size: 16px; margin-bottom: 28px; }

/* The About points reuse the FAQ accordion (.faq-item); a top rule closes the
   list off so the first row reads as part of a set, not a stray divider. */
.points-acc { border-top: 1px solid rgba(0, 52, 120, 0.1); }

/* ─── About: leadership / team band ─────────────────────────────────────────── */
.about-team {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(0, 52, 120, 0.08);
}
.about-team-head { text-align: center; margin-bottom: 36px; }
.about-team-head .badge { margin-bottom: 14px; }
.about-team-title {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(22px, 3vw, 34px); color: #0D1B3E; line-height: 1.2;
}

.about-team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px;
}
.about-team-grid .about-team-card:nth-child(2) { transition-delay: 0.1s; }
.about-team-grid .about-team-card:nth-child(3) { transition-delay: 0.2s; }

.about-team-card {
  position: relative; background: #fff; border-radius: 20px; padding: 30px 26px;
  border: 1px solid rgba(0, 52, 120, 0.07);
  box-shadow: 0 6px 26px rgba(0, 52, 120, 0.07);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
.about-team-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #003478;
}
.about-team-card.red::before { background: #CD2E3A; }
.about-team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 52, 120, 0.14); }

.about-team-ic {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: rgba(0, 52, 120, 0.08); color: #003478;
}
.about-team-card.red .about-team-ic { background: rgba(205, 46, 58, 0.08); color: #CD2E3A; }
.about-team-ic .flag { border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }

.about-team-card h4 {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 19px;
  color: #0D1B3E; margin-bottom: 10px; line-height: 1.25;
}
.about-team-card p { font-size: 14.5px; color: #5A6A8A; line-height: 1.75; }

/* ─── Services ──────────────────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.svc-card { background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 4px 24px rgba(0, 52, 120, 0.08); }
.svc-head { padding: 32px 28px; position: relative; }
.svc-head.blue { background: linear-gradient(135deg, #003478, #1a4d94); }
.svc-head.red { background: linear-gradient(135deg, #CD2E3A, #e03545); }
.svc-icon { margin-bottom: 14px; }
.svc-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 26px; color: white; margin-bottom: 4px; }
.svc-sub { color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.svc-chip {
  position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, 0.15);
  border-radius: 100px; padding: 4px 12px; font-size: 12px; color: white; font-weight: 700;
}
.svc-body { padding: 28px; }
.svc-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0, 52, 120, 0.06); }
.svc-item:last-of-type { border-bottom: none; }
.svc-alt .svc-item { border-bottom-color: rgba(205, 46, 58, 0.08); }
.svc-alt .svc-item:last-of-type { border-bottom: none; }
.svc-check {
  width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 52, 120, 0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-alt .svc-check { background: rgba(205, 46, 58, 0.08); }
.svc-item span { color: #0D1B3E; font-weight: 600; font-size: 14px; }
.svc-btn { width: 100%; margin-top: 20px; justify-content: center; }

/* ─── Steps ─────────────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }

.step-item { text-align: center; position: relative; }

.step-connector {
  position: absolute; top: 28px; left: calc(50% + 32px); right: calc(-50% + 32px);
  height: 2px; background: linear-gradient(90deg, #003478, #CD2E3A); z-index: 0;
}

.step-circle {
  width: 56px; height: 56px; border-radius: 50%; color: white;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; position: relative; z-index: 1;
}
.step-circle.blue { background: #003478; box-shadow: 0 4px 20px rgba(0, 52, 120, 0.3); }
.step-circle.red { background: #CD2E3A; box-shadow: 0 4px 20px rgba(205, 46, 58, 0.3); }

.step-item h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; color: #0D1B3E; margin-bottom: 6px; }
.step-item p { font-size: 12px; color: #5A6A8A; line-height: 1.5; }

/* ─── Why us ────────────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.why-card {
  background: white; border-radius: 20px; padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 52, 120, 0.06);
  display: flex; gap: 16px; align-items: flex-start;
}

.why-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-icon.blue { background: rgba(0, 52, 120, 0.08); color: #003478; }
.why-icon.red { background: rgba(205, 46, 58, 0.08); color: #CD2E3A; }

.why-card h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; color: #0D1B3E; margin-bottom: 6px; }
.why-card p { font-size: 13px; color: #5A6A8A; line-height: 1.6; }

/* ─── Reviews ───────────────────────────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0, 52, 120, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 52, 120, 0.14);
}

.tst-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.tst-person { display: flex; gap: 12px; align-items: center; }
.tst-ava {
  width: 44px; height: 44px; border-radius: 50%; color: white;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tst-ava.blue { background: #003478; }
.tst-ava.red { background: #CD2E3A; }
.tst-name { font-weight: 700; font-size: 14px; color: #0D1B3E; }
.tst-city { font-size: 12px; color: #5A6A8A; }
.tst-chip { padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.tst-chip.blue { background: rgba(0, 52, 120, 0.08); color: #003478; }
.tst-chip.red { background: rgba(205, 46, 58, 0.08); color: #CD2E3A; }
.tst-quote { margin-bottom: 8px; color: #003478; opacity: 0.2; }
.tst-text { color: #0D1B3E; font-size: 14px; line-height: 1.7; }
.tst-stars { display: flex; gap: 3px; margin-top: 16px; color: #F59E0B; }

/* ─── Gallery ───────────────────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 200px 200px; gap: 12px; }

.gallery-img { overflow: hidden; border-radius: 16px; position: relative; background: #D0D8E8; }
.gallery-img.big { grid-column: span 2; grid-row: span 2; }

.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-img:hover img { transform: scale(1.06); }

.gallery-img .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 34, 85, 0.7) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s ease;
  display: flex; align-items: flex-end; padding: 16px;
}

.gallery-img:hover .overlay { opacity: 1; }
.gallery-img .overlay span { color: white; font-weight: 700; font-size: 13px; }

/* ─── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-note { color: #5A6A8A; line-height: 1.7; margin-bottom: 32px; }

.faq-item { border-bottom: 1px solid rgba(0, 52, 120, 0.1); }

.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-family: 'Nunito', sans-serif;
}

.faq-q > span { font-weight: 700; font-size: 15px; color: #0D1B3E; }

.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 52, 120, 0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.3s; color: #003478; font-size: 16px; font-weight: 700;
}

.faq-item.open .faq-toggle { background: #003478; color: white; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 380px; }
.faq-answer p { color: #5A6A8A; font-size: 14px; line-height: 1.7; padding-bottom: 18px; }

/* ─── Contact ───────────────────────────────────────────────────────────────── */
.contact-sub { color: #5A6A8A; line-height: 1.7; margin-bottom: 36px; }

.contact-links { display: flex; flex-direction: column; gap: 16px; }

.contact-link {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 12px 16px; border-radius: 12px; background: rgba(0, 52, 120, 0.04);
  transition: background 0.2s;
}

.contact-link:hover { background: rgba(0, 52, 120, 0.08); }

.contact-ic {
  width: 36px; height: 36px; border-radius: 10px; background: white;
  box-shadow: 0 2px 8px rgba(0, 52, 120, 0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.contact-label { font-weight: 600; color: #0D1B3E; font-size: 14px; }

.form-card {
  background: white; border-radius: 24px; padding: 36px;
  box-shadow: 0 8px 40px rgba(0, 52, 120, 0.1);
  border: 1px solid rgba(0, 52, 120, 0.06);
}

.lead-form { display: flex; flex-direction: column; gap: 16px; }

.form-label { display: block; font-weight: 700; font-size: 13px; color: #0D1B3E; margin-bottom: 6px; }

.form-input {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid rgba(0, 52, 120, 0.12);
  font-size: 14px; color: #0D1B3E; outline: none;
  transition: border-color 0.2s; background: #F8FAFF;
  font-family: 'Nunito', sans-serif;
}

.form-input:focus { border-color: #003478; }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; }

.form-submit { justify-content: center; padding: 15px; }

.form-success { text-align: center; padding: 40px 0; display: none; }
.form-success.show { display: block; }
.form-success-ic { margin-bottom: 16px; display: flex; justify-content: center; }
.form-success h3 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; color: #003478; margin-bottom: 8px; }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer { background: #0D1B3E; color: white; padding: 48px 24px 32px; }

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }

.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-badge { display: inline-flex; align-items: center; justify-content: center; background: white; border-radius: 10px; padding: 4px 6px; }
.footer-logo-badge img { height: 32px; width: auto; display: block; }
.footer-brand { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px; color: white; }
.footer-brand-sub { font-size: 10px; color: rgba(255, 255, 255, 0.5); font-weight: 600; letter-spacing: 0.06em; }
.footer-desc { color: rgba(255, 255, 255, 0.6); font-size: 13px; line-height: 1.7; }

.footer-h {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px;
  color: rgba(255, 255, 255, 0.5); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-link {
  background: none; border: none; color: rgba(255, 255, 255, 0.7); font-size: 14px;
  cursor: pointer; font-weight: 500; font-family: 'Nunito', sans-serif;
  text-decoration: none; display: inline-block; margin-bottom: 8px;
}

.footer-contact { display: flex; gap: 8px; margin-bottom: 8px; align-items: flex-start; }
.footer-contact svg { margin-top: 2px; }
.footer-contact span { color: rgba(255, 255, 255, 0.7); font-size: 13px; }

.footer-langs { display: flex; flex-wrap: wrap; gap: 6px; }

.footer-lang {
  padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  font-family: 'Nunito', sans-serif;
  display: inline-flex; align-items: center; gap: 6px;
}

.footer-lang.active { background: #003478; border-color: #1a4d94; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

.footer-copy { color: rgba(255, 255, 255, 0.4); font-size: 13px; }
.footer-socials { display: flex; gap: 16px; }

.footer-soc {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: background 0.2s; color: rgba(255, 255, 255, 0.85);
}

.footer-soc:hover { background: rgba(255, 255, 255, 0.12); }

/* ─── Floating buttons ──────────────────────────────────────────────────────── */
.fab-stack { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }

.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
}

.fab.tg { background: #0088cc; box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4); }
.fab.tg:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0, 136, 204, 0.5); }
.fab.wa { background: #25D366; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
.fab.wa:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }

.to-top {
  position: fixed; bottom: 24px; left: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: #003478; color: white; border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 52, 120, 0.3); z-index: 90; transition: transform 0.2s;
}

.to-top.show { display: flex; }
.to-top:hover { transform: scale(1.1); }

/* ─── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .hide-desktop { display: flex !important; }
  .step-connector { display: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; grid-template-rows: auto !important; }
  .gallery-grid .gallery-img { grid-column: span 1 !important; grid-row: span 1 !important; height: 160px !important; }

  /* Hero: content flows as a single centred column */
  .hero { flex-direction: column; justify-content: center; }
  .hero-grid { padding: 28px 20px 40px !important; gap: 36px !important; }
  .hero-cta a { flex: 1 1 100%; width: 100%; justify-content: center; }

  /* About: shorter photo, tighter gaps in two-column sections */
  .about-img { height: 260px !important; }
  .split-grid { gap: 36px !important; }

  /* Smaller horizontal reveal shifts on mobile so hidden sections never
     stretch the page beyond the screen edge */
  .hidden-left { transform: translateX(-24px) scale(0.99); }
  .hidden-right { transform: translateX(24px) scale(0.99); }

  /* Steps: vertical timeline with the number circle on the left */
  .steps-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .step-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
    text-align: left !important;
    padding-bottom: 26px;
  }
  .step-item .step-circle { grid-row: 1 / span 2; grid-column: 1; margin: 0 !important; }
  .step-item h4 { grid-column: 2; margin-top: 6px; font-size: 16px !important; }
  .step-item p { grid-column: 2; font-size: 13px !important; }
  .step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 62px;
    bottom: 4px;
    width: 2px;
    border-radius: 1px;
    background: linear-gradient(180deg, rgba(0, 52, 120, 0.3), rgba(205, 46, 58, 0.3));
  }

  /* Reviews: swipeable snap carousel instead of a long column */
  .reviews-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px !important;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid .testimonial-card { min-width: 84%; scroll-snap-align: center; }

  /* Gallery: labels always visible — touch screens have no hover */
  .gallery-img .overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 34, 85, 0.65) 0%, transparent 45%);
  }

  /* Navbar: skip backdrop blur on mobile — it is repainted every scrolled
     frame under the fixed header and causes jank on weaker GPUs */
  .site-nav.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.97) !important;
  }

  /* Floating buttons: smaller, tucked into the corners */
  .fab-stack { bottom: 16px !important; right: 16px !important; gap: 10px !important; }
  .fab { width: 46px !important; height: 46px !important; }
  .fab svg { width: 21px; height: 21px; }
  .to-top { bottom: 16px !important; left: 16px !important; width: 40px !important; height: 40px !important; }

  /* Keep the footer's last row clear of the floating corner buttons */
  .site-footer { padding-bottom: 96px !important; }

  /* City backgrounds: background-attachment:fixed is ignored / janky on mobile
     browsers (iOS especially) — let the photos scroll normally instead. */
  .section-window { background-attachment: scroll, scroll; }
  .hero-grid-bg { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hidden-init, .hidden-left, .hidden-right, .hidden-scale {
    opacity: 1;
    transform: none;
  }
  /* Parallax can trigger motion discomfort — pin the photos in place */
  .section-window { background-attachment: scroll, scroll; }
  .hero-grid-bg { background-attachment: scroll; }
}
