:root {
  --ink: #1c1a17;
  --muted: #6d665e;
  --paper: #fffdf8;
  --stone: #f2eee6;
  --terracotta: #a95738;
  --olive: #536441;
  --gold: #d6a24b;
  --line: rgba(28, 26, 23, 0.14);
  --shadow: 0 18px 45px rgba(28, 26, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.header-cta,
.primary-button,
.secondary-button,
.quick-search a,
.contact-form button,
.submit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 800;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 76px) 92px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.78), rgba(20, 16, 12, 0.34) 46%, rgba(20, 16, 12, 0.06)),
    linear-gradient(0deg, rgba(20, 16, 12, 0.34), rgba(20, 16, 12, 0)),
    url("assets/rome-hero.png") center / cover;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  max-width: 650px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(2.5rem, 5.8vw, 5.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  min-width: 132px;
  padding: 0 22px;
}

.primary-button {
  color: #fff;
  background: var(--terracotta);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.quick-search {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  width: min(1120px, calc(100% - 40px));
  margin: -44px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}

.quick-search label {
  display: grid;
  gap: 7px;
}

.quick-search span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

select,
input {
  min-height: 46px;
  padding: 0 13px;
}

.quick-search a,
.contact-form button,
.submit-link {
  align-self: end;
  border: 0;
  padding: 0 22px;
  color: #fff;
  background: var(--olive);
  cursor: pointer;
}

.section,
.about-section,
.service-band,
.contact-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.about-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.about-copy {
  display: grid;
  gap: 22px;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-points span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--olive);
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.16;
}

.package-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.package-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.package-image {
  min-height: 230px;
  background-size: cover;
  background-position: center;
}

.package-image.rome {
  background-image: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.14)), url("assets/rome-hero.png");
}

.package-image.trevi {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.12)), url("assets/trevi-fountain.png");
}

.package-image.vatican {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.12)), url("assets/st-peters-basilica.png");
}

.package-body {
  padding: 20px;
}

.package-body p {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-weight: 800;
}

.package-body h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.package-body span,
.service-list span,
.contact-section p,
footer span {
  color: var(--muted);
  line-height: 1.7;
}

.service-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list div {
  display: grid;
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-list div:last-child {
  border-bottom: 0;
}

.review-grid blockquote {
  margin: 0;
  min-height: 180px;
  padding: 24px;
  border-left: 4px solid var(--terracotta);
  border-radius: 6px;
  background: var(--stone);
  color: #39352f;
  line-height: 1.75;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding-top: 40px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

textarea {
  min-height: 130px;
  padding: 13px;
  resize: vertical;
}

.contact-form button,
.submit-link {
  width: 100%;
}

.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  font-weight: 800;
}

.instagram-link {
  color: #fff;
  background: #b33a74;
}

.kakao-link {
  color: #2f2414;
  background: #f6d84b;
}

footer {
  display: grid;
  gap: 6px;
  padding: 28px clamp(20px, 6vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--stone);
}

.detail-hero {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: end;
  padding: 130px clamp(20px, 6vw, 76px) 72px;
  color: #fff;
  overflow: hidden;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.76), rgba(20, 16, 12, 0.28)),
    linear-gradient(0deg, rgba(20, 16, 12, 0.62), rgba(20, 16, 12, 0.06)),
    var(--detail-image) center / cover;
}

.detail-hero-content {
  position: relative;
  max-width: 760px;
}

.detail-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.08;
}

.detail-hero p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 42px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.detail-main {
  display: grid;
  gap: 36px;
}

.detail-block {
  display: grid;
  gap: 16px;
}

.detail-block h2,
.booking-panel h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
}

.detail-block p,
.detail-list li {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-grid div,
.booking-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.info-grid div {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.info-grid strong {
  color: var(--terracotta);
}

.info-grid span {
  color: var(--muted);
}

.booking-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 24px;
  box-shadow: var(--shadow);
}

.booking-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.booking-actions {
  display: grid;
  gap: 10px;
}

.booking-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  font-weight: 800;
}

.booking-actions a:first-child {
  color: #2f2414;
  background: #f6d84b;
}

.booking-actions a:last-child {
  color: #fff;
  background: var(--terracotta);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .quick-search,
  .about-section,
  .package-grid,
  .review-grid,
  .service-band,
  .contact-section,
  .detail-layout,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
  }

  .quick-search a {
    align-self: stretch;
  }

  .hero {
    min-height: 86vh;
  }

  .section-heading {
    display: block;
  }

}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button,
  .social-links {
    width: 100%;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}
