:root {
  --kr-deep: #102f35;
  --kr-text: #17353b;
  --kr-muted: #63777d;
  --kr-line: rgba(24, 51, 58, 0.1);
  --kr-surface: #ffffff;
  --kr-sun: #ffb24a;
  --kr-coral: #f46d3d;
  --kr-sea: #008e9a;
  --kr-leaf: #198d63;
  --kr-sky: #2f80ed;
  --kr-soft-blue: #e9f7fb;
  --kr-soft-green: #ecf8f1;
  --kr-soft-sun: #fff6e6;
  --kr-shadow: 0 26px 70px rgba(21, 55, 62, 0.14);
  --kr-soft-shadow: 0 14px 36px rgba(21, 55, 62, 0.08);
  --kr-radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.kr-home {
  margin: 0;
  color: var(--kr-text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 6% 14%, rgba(47, 128, 237, 0.08) 0, transparent 28%),
    radial-gradient(circle at 92% 20%, rgba(255, 178, 74, 0.14) 0, transparent 24%),
    linear-gradient(180deg, #f5fbfc 0%, #fffdf7 36%, #f3faf5 100%);
  overflow-x: hidden;
}

.kr-home img {
  display: block;
  max-width: 100%;
}

.text-center {
  text-align: center;
}

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible,
.kr-hero-content.fade-up {
  opacity: 1;
  transform: translateY(0);
}

.kr-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.kr-carousel,
.kr-slide,
.kr-hero-overlay {
  position: absolute;
  inset: 0;
}

.kr-carousel {
  z-index: -3;
}

.kr-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s linear;
}

.kr-slide.active {
  opacity: 1;
  transform: scale(1);
}

.kr-hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 32, 38, 0.3) 0%, rgba(5, 32, 38, 0.16) 44%, rgba(5, 32, 38, 0.54) 100%),
    linear-gradient(116deg, rgba(3, 58, 64, 0.62) 0%, rgba(13, 115, 127, 0.14) 48%, rgba(244, 109, 61, 0.12) 100%);
}

.kr-topbar {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 5;
  width: min(1180px, calc(100% - 36px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 12px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(17, 54, 61, 0.32);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px) saturate(1.25);
}

.kr-brand,
.kr-nav a,
.kr-top-cta {
  color: #ffffff;
  text-decoration: none;
}

.kr-brand {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.kr-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.kr-nav a {
  font-size: 0.92rem;
  font-weight: 800;
  opacity: 0.92;
}

.kr-top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: #12343b;
  background: #ffffff;
  font-weight: 900;
  white-space: nowrap;
}

.kr-hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 96px auto 56px;
  text-align: center;
}

.kr-hero-subtitle {
  margin: 0 auto 16px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  color: #07313a;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.kr-hero-content h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(3.4rem, 7.6vw, 7rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
}

.kr-hero-content > p:not(.kr-hero-subtitle) {
  margin: 22px auto 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.7;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.kr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.kr-btn,
.kr-service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kr-btn:hover,
.kr-service-btn:hover,
.kr-top-cta:hover {
  transform: translateY(-2px);
}

.kr-btn-core {
  min-height: 50px;
  min-width: 156px;
  padding: 12px 30px;
  color: #1d2d33;
  background: linear-gradient(135deg, #ffd76d 0%, #ffac42 44%, #f36f45 100%);
  font-size: 0.98rem;
  box-shadow: 0 20px 42px rgba(243, 111, 69, 0.38);
}

.kr-btn-glass {
  min-height: 50px;
  min-width: 156px;
  padding: 12px 30px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.98rem;
  backdrop-filter: blur(15px);
}

.kr-btn-telegram {
  min-height: 50px;
  min-width: 156px;
  padding: 12px 30px;
  color: #ffffff;
  background: rgba(36, 155, 215, 0.9);
  font-size: 0.98rem;
  box-shadow: 0 14px 28px rgba(36, 155, 215, 0.22);
}

.kr-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.kr-scroll i {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: kr-bounce 1.6s ease-in-out infinite;
}

@keyframes kr-bounce {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(8px) rotate(45deg);
  }
}

.kr-container {
  width: min(1220px, calc(100% - 34px));
  margin: 0 auto;
  padding: 86px 0 92px;
}

.kr-section {
  margin-top: 92px;
}

.kr-section:first-child {
  margin-top: 0;
}

.kr-section-head {
  max-width: 820px;
  margin: 0 auto 48px;
}

.kr-section-head p {
  margin: 0;
  color: var(--kr-sea);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kr-section-head h2 {
  margin: 12px 0 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.kr-section-head span {
  display: block;
  margin-top: 14px;
  color: var(--kr-muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.75;
}

.kr-spots {
  display: grid;
  gap: 38px;
}

.kr-spot-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(24, 51, 58, 0.07);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--kr-shadow);
}

.kr-spot-card.reverse {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.08fr);
}

.kr-spot-card.reverse .kr-spot-img {
  order: 2;
}

.kr-spot-card.reverse .kr-spot-text {
  order: 1;
}

.kr-spot-img {
  overflow: hidden;
  border-radius: 24px;
  background: var(--kr-soft-blue);
}

.kr-spot-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.kr-spot-card:hover .kr-spot-img img {
  transform: scale(1.035);
}

.kr-spot-text {
  padding: 18px 22px;
}

.kr-spot-text strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--kr-sea), var(--kr-leaf));
  font-size: 1.18rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(13, 154, 168, 0.23);
}

.kr-spot-text h3 {
  margin: 22px 0 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.06;
}

.kr-spot-text h4 {
  margin: 10px 0 0;
  color: #c85c34;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kr-spot-text p {
  margin: 18px 0 0;
  color: var(--kr-muted);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.85;
}

.kr-info-board {
  position: relative;
  padding: 50px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 253, 251, 0.88)),
    radial-gradient(circle at 12% 20%, rgba(13, 154, 168, 0.09) 0, transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(255, 178, 74, 0.14) 0, transparent 30%);
  box-shadow: var(--kr-shadow);
}

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

.kr-modern-card {
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--kr-line);
  border-radius: var(--kr-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--kr-soft-shadow);
}

.kr-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.kr-card-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--kr-sea);
  font-weight: 900;
}

.kr-card-head h3,
.kr-modern-card h3,
.kr-dash-title {
  margin: 0;
  color: var(--kr-deep);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.3;
}

.kr-modern-card p {
  margin: 0;
  color: var(--kr-muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
}

.kr-modern-card p + p {
  margin-top: 10px;
}

.kr-modern-card strong {
  color: var(--kr-deep);
}

.kr-modern-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.kr-modern-card li {
  position: relative;
  padding-left: 18px;
  color: #4d6269;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.75;
}

.kr-modern-card li + li {
  margin-top: 7px;
}

.kr-modern-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kr-coral);
}

.kr-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.kr-pill-group span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #08707c;
  background: var(--kr-soft-blue);
  font-weight: 900;
}

.kr-text-link {
  display: inline-flex;
  margin-top: 15px;
  color: var(--kr-sky);
  font-weight: 900;
  text-decoration: none;
}

.kr-text-link:hover {
  text-decoration: underline;
}

.kr-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
}

.kr-dash-column {
  display: grid;
  gap: 22px;
}

.kr-photo-card {
  padding: 0;
}

.kr-photo-card > img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.kr-photo-card > div {
  padding: 26px;
}

.kr-timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.kr-timeline div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4fbfe, #fff9ee);
}

.kr-timeline span {
  color: var(--kr-muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.kr-timeline strong {
  color: var(--kr-deep);
  font-size: 1.06rem;
}

.kr-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.kr-tag-cloud span {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  color: #31515a;
  background: #f1f6f8;
  font-size: 0.94rem;
  font-weight: 900;
}

.kr-tag-cloud .important {
  color: #994818;
  background: #fff0df;
}

.kr-note-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.kr-note-list p {
  padding: 15px 16px;
  border-radius: 18px;
  background: var(--kr-soft-green);
}

.kr-table-wrap {
  overflow: auto;
  margin-top: 18px;
  border: 1px solid var(--kr-line);
  border-radius: 18px;
}

.kr-table-wrap table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.kr-table-wrap th,
.kr-table-wrap td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(24, 51, 58, 0.09);
}

.kr-table-wrap th {
  color: #12343b;
  background: #eaf8f9;
  font-weight: 900;
}

.kr-table-wrap td {
  color: #425c64;
  font-weight: 700;
}

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

.kr-table-wrap tbody tr:nth-child(even) td {
  background: #fbfefd;
}

.kr-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.kr-price-grid div {
  min-height: 118px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff8eb, #eefaf8);
}

.kr-price-grid span,
.kr-price-grid strong {
  display: block;
}

.kr-price-grid span {
  color: var(--kr-muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.kr-price-grid strong {
  margin-top: 12px;
  color: #b94f1f;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
}

.kr-pay-note {
  margin-top: 16px !important;
  padding: 13px 15px;
  border-radius: 16px;
  color: #8a421b !important;
  background: #fff2e4;
  font-weight: 900 !important;
}

.kr-deadline-card {
  background:
    linear-gradient(135deg, rgba(255, 246, 230, 0.96), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 90% 16%, rgba(243, 111, 69, 0.12), transparent 28%);
}

.kr-big-date {
  margin-top: 16px;
  padding: 20px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #0d9aa8, #16a069);
  box-shadow: 0 18px 34px rgba(13, 154, 168, 0.18);
}

.kr-big-date span,
.kr-big-date strong,
.kr-big-date em {
  display: block;
}

.kr-big-date span {
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0.86;
}

.kr-big-date strong {
  margin-top: 8px;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1.18;
}

.kr-big-date em {
  margin-top: 10px;
  font-style: normal;
  font-weight: 800;
  opacity: 0.9;
}

.kr-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.kr-mini-grid div {
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(24, 51, 58, 0.08);
}

.kr-mini-grid h4 {
  margin: 0 0 8px;
  color: var(--kr-deep);
  font-size: 1rem;
  font-weight: 900;
}

.kr-mini-grid p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.kr-extra-note {
  margin-top: 16px !important;
}

.kr-bottom-cta {
  position: relative;
  min-height: 430px;
  display: grid;
  align-content: center;
  justify-items: start;
  overflow: hidden;
  padding: 44px;
  border-radius: 34px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(6, 38, 45, 0.78) 0%, rgba(6, 38, 45, 0.42) 52%, rgba(6, 38, 45, 0.18) 100%),
    url("../images/korea/attractions/haedong-yonggungsa.jpg?v=20260505-1") center/cover;
  box-shadow: var(--kr-shadow);
}

.kr-bottom-cta h2 {
  max-width: 780px;
  margin: 0 0 24px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1.05;
}

.kr-service-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.kr-service-btn {
  min-height: 50px;
  min-width: 156px;
  padding: 12px 30px;
  font-size: 0.98rem;
  color: var(--kr-deep);
  background: rgba(255, 255, 255, 0.9);
}

.kr-service-btn.tg-contact {
  color: #ffffff;
  background: #249bd7;
}

@media (max-width: 1120px) {
  .kr-nav {
    display: none;
  }

  .kr-modern-grid,
  .kr-dashboard,
  .kr-price-grid,
  .kr-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kr-spot-card,
  .kr-spot-card.reverse {
    grid-template-columns: 1fr;
  }

  .kr-spot-card.reverse .kr-spot-img,
  .kr-spot-card.reverse .kr-spot-text {
    order: initial;
  }

  .kr-spot-img img {
    height: 420px;
  }
}

@media (max-width: 720px) {
  body.kr-home {
    background:
      linear-gradient(180deg, #f5fbfe 0%, #fffdf8 48%, #f6fbf7 100%);
  }

  .kr-hero {
    min-height: 780px;
  }

  .kr-topbar {
    top: 12px;
    width: min(100% - 20px, 420px);
    padding: 10px;
  }

  .kr-brand {
    font-size: 0.86rem;
  }

  .kr-top-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .kr-hero-content {
    width: min(100% - 22px, 540px);
    margin-top: 86px;
  }

  .kr-hero-content h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .kr-hero-actions,
  .kr-service-zone {
    flex-direction: column;
    align-items: stretch;
  }

  .kr-btn,
  .kr-service-btn {
    width: 100%;
  }

  .kr-modern-grid,
  .kr-dashboard,
  .kr-price-grid,
  .kr-mini-grid,
  .kr-modern-grid {
    grid-template-columns: 1fr;
  }

  .kr-container {
    width: min(100% - 22px, 560px);
    padding-top: 46px;
  }

  .kr-section {
    margin-top: 54px;
  }

  .kr-section-head {
    margin-bottom: 28px;
  }

  .kr-section-head h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .kr-spot-card,
  .kr-info-board {
    padding: 14px;
    border-radius: 24px;
  }

  .kr-spot-img {
    border-radius: 20px;
  }

  .kr-spot-img img {
    height: 280px;
    min-height: 280px;
  }

  .kr-spot-text {
    padding: 6px 6px 12px;
  }

  .kr-spot-text strong {
    width: 52px;
    height: 52px;
    font-size: 1.08rem;
  }

  .kr-modern-card {
    padding: 20px;
  }

  .kr-photo-card {
    padding: 0;
  }

  .kr-photo-card > img {
    height: 240px;
  }

  .kr-photo-card > div {
    padding: 20px;
  }

  .kr-timeline div {
    display: grid;
    gap: 5px;
  }

  .kr-bottom-cta {
    min-height: 390px;
    padding: 24px;
    justify-items: stretch;
  }

  .kr-bottom-cta h2 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }
}
