:root {
  color-scheme: light;
  --royal: #1743bd;
  --royal-dark: #12358f;
  --navy: #142444;
  --body: #48556d;
  --gold: #c3953e;
  --gold-light: #f3d48a;
  --sky: #f0f5ff;
  --line: #d9e2f0;
  --white: #fff;
  --font: "Aptos", "Segoe UI", Arial, sans-serif;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.16; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a97720; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
section[id] { scroll-margin-top: 1.5rem; }

.shell { width: min(100% - 6rem, 76rem); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; inset: 0.8rem auto auto 1rem; z-index: 4;
  padding: 0.65rem 1rem; color: var(--white); background: var(--royal);
}

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 5.25rem; display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem; align-items: center;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem; width: fit-content;
  text-decoration: none; color: var(--navy); font-size: 0.95rem; font-weight: 720; line-height: 1.25;
}
.brand img { width: 2.75rem; height: 2.75rem; object-fit: contain; flex: none; }
.brand-second { display: block; }
.header-inner nav { display: flex; align-items: center; gap: 1.75rem; }
.header-inner nav a {
  padding-block: 0.65rem; color: var(--body); text-decoration: none; font-weight: 650; font-size: 0.94rem;
}
.header-inner nav a:hover { color: var(--royal); text-decoration: underline; text-underline-offset: 0.3rem; }
.header-action { justify-self: end; }
.header-action span { margin-inline-start: -0.15rem; }

.button {
  min-height: 2.9rem; display: inline-flex; justify-content: center; align-items: center; gap: 0.4rem;
  padding: 0.59rem 1.1rem; text-align: center; text-decoration: none; line-height: 1.25;
  border: 1px solid transparent; border-radius: 0.48rem; font-weight: 700; font-size: 0.94rem;
  transition: background 150ms ease, border-color 150ms ease;
}
.button-primary { background: var(--royal); color: var(--white); border-color: var(--royal); }
.button-primary:hover { background: var(--royal-dark); border-color: var(--royal-dark); }
.button-outline { background: var(--white); color: var(--royal-dark); border-color: #b9c9e6; }
.button-outline:hover { background: #e8effc; border-color: #7897d4; }
.button-gold { background: var(--gold-light); color: #252234; border-color: var(--gold-light); }
.button-gold:hover { background: #ffe6a8; border-color: #ffe6a8; }

.hero { background: linear-gradient(115deg, #f6f8fe, #edf3ff 73%); border-bottom: 1px solid #e7edf8; }
.hero-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 5vw, 4.75rem);
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: flex; align-items: center; gap: 0.6rem; color: var(--royal-dark);
  font-size: 0.875rem; font-weight: 760; letter-spacing: 0.035em;
}
.eyebrow span { background: var(--gold); width: 1.6rem; height: 2px; flex: none; }
.hero h1 {
  color: var(--navy); margin-top: 1rem;
  font-size: clamp(2.8rem, 5.1vw, 4.65rem); letter-spacing: -0.052em; line-height: 1.03; font-weight: 750;
}
.hero h1 em { display: block; color: var(--royal); font-style: normal; }
.hero h1 + p { margin-top: 1.25rem; max-width: 31rem; font-size: clamp(1rem, 1.45vw, 1.2rem); color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.7rem; }
.hero .hero-meta {
  display: flex; align-items: center; gap: 0.65rem; margin-top: 1.25rem;
  font-size: 0.875rem; font-weight: 600; color: var(--body);
}
.hero-meta span { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero-visual { position: relative; isolation: isolate; }
.hero-visual::after {
  content: ""; position: absolute; inset: auto -0.56rem -0.56rem auto; width: 45%; height: 55%;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); border-radius: 0 0 1rem 0; z-index: -1;
}
.hero-visual img {
  width: 100%; height: auto; aspect-ratio: 1.3; object-fit: cover; object-position: 58% center;
  border-radius: 0.72rem; background: #dbe6f4;
  box-shadow: 0 18px 36px #1424441c;
}

.catalog-section, .packages-section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; }
.section-heading h2, .banner-inner h2 {
  font-size: clamp(2rem, 3.1vw, 3.05rem); letter-spacing: -0.042em; font-weight: 750; 
}
.section-heading p { margin-top: 0.42rem; color: var(--body); }
.search {
  display: flex; align-items: center; gap: 0.7rem; width: min(100%, 18.5rem);
  border: 1px solid #c8d5e8; border-radius: 0.48rem; padding-inline: 0.9rem 0.25rem;
  background: #fff; min-height: 2.92rem;
}
.search:focus-within { outline: 2px solid var(--royal); outline-offset: 2px; }
.search input {
  min-width: 0; width: 100%; padding: 0.53rem 0.4rem 0.53rem 0;
  border: 0; outline: none; background: transparent; color: var(--navy);
}
.search input::placeholder { color: #626e81; }
.search-icon {
  width: 0.8rem; height: 0.8rem; position: relative;
  border: 1.7px solid #45618e; border-radius: 50%; flex: none; margin-inline-end: 0.18rem;
}
.search-icon::after {
  content: ""; width: 0.36rem; height: 1.7px; background: #45618e;
  position: absolute; left: 0.57rem; top: 0.62rem; transform: rotate(45deg); transform-origin: left center;
}
.filters { display: flex; flex-wrap: wrap; gap: 0.52rem; margin-top: 1.55rem; }
.filter {
  min-height: 2.6rem; padding: 0.4rem 0.82rem; border-radius: 100px; border: 1px solid var(--line);
  color: #314768; background: var(--white); font-size: 0.875rem; font-weight: 700;
}
.filter:hover { border-color: #8eabdd; background: var(--sky); }
.filter[aria-pressed="true"] { border-color: var(--royal); background: var(--royal); color: var(--white); }
.results-bar { display: flex; align-items: center; gap: 1rem; margin-block: 1rem 0.7rem; min-height: 2rem; }
.results-bar p { color: var(--body); font-size: 0.875rem; font-weight: 650; }
.text-button {
  min-height: 2.25rem; padding: 0.2rem 0; text-align: left; border: 0; background: none;
  color: var(--royal-dark); font-size: 0.94rem; font-weight: 750;
  text-decoration: underline; text-underline-offset: 0.26rem; text-decoration-color: #95addf;
}
.text-button:hover { color: var(--royal); text-decoration-color: currentColor; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card {
  display: flex; flex-direction: column; align-items: flex-start; min-height: 14rem;
  border: 1px solid var(--line); border-radius: 0.73rem; padding: 1.35rem 1.35rem 1.15rem;
  background: var(--white); box-shadow: 0 5px 18px #1b365208;
}
.card:hover { border-color: #9ab3df; box-shadow: 0 10px 26px #1b365212; }
.card-category {
  display: flex; align-items: center; gap: 0.45rem;
  color: var(--royal-dark); font-size: 0.875rem; font-weight: 720;
}
.card-category span { width: 0.5rem; height: 2px; background: var(--gold); flex: none; }
.card h3 { margin-top: 0.62rem; font-size: clamp(1.17rem, 1.9vw, 1.42rem); letter-spacing: -0.024em; }
.card-summary { margin-top: 0.5rem; margin-bottom: 0.85rem; color: var(--body); }
.card-action {
  min-height: 2.36rem; margin-top: auto; padding: 0.36rem 0.64rem; border: 1px solid transparent;
  border-radius: 0.35rem; color: var(--royal-dark); background: #eef3ff; font-size: 0.875rem; font-weight: 750;
}
.card-action:hover { border-color: #a5b9e3; background: #e6edfd; }
.empty {
  grid-column: 1 / -1; padding: 2rem; border: 1px dashed #bbcae2;
  border-radius: 0.7rem; background: #f6f8fd;
}
.empty p { margin: 0.5rem 0 0.95rem; color: var(--body); }

.finder-banner { background: var(--royal-dark); color: var(--white); }
.banner-inner {
  padding-block: clamp(2rem, 4vw, 3.1rem); display: flex;
  align-items: center; justify-content: space-between; gap: 1.3rem 2rem;
  border-top: 3px solid var(--gold);
}
.banner-inner p { margin-top: 0.55rem; color: #e1eaff; }
.banner-inner .button { flex: none; }
.packages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.package-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.2rem; border: 1px solid var(--line); border-radius: 0.65rem; background: #f6f8fd;
}
.package-card .package-code { color: var(--royal-dark); font-size: 0.875rem; font-weight: 750; letter-spacing: 0.04em; }
.package-card h3 { margin-top: 0.4rem; font-size: 1.14rem; line-height: 1.22; }
.package-card p { color: var(--body); }
.package-card h3 + p { margin-block: 0.45rem 0.6rem; }
.package-card button { margin-top: auto; }
.site-footer { border-top: 1px solid var(--line); background: #f5f7fc; }
.footer-inner { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-inner p { color: var(--body); font-size: 0.9rem; }

.dialog {
  width: min(calc(100% - 2rem), 43rem);
  max-height: calc(100dvh - 2rem);
  padding: 0; color: var(--navy); background: var(--white); border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 30px 95px #0b194747;
  overscroll-behavior: contain;
}
.dialog::backdrop { background: #10264c76; }
.dialog-inner { position: relative; padding: clamp(1.25rem, 4.8vw, 2.35rem); }
.dialog .eyebrow { padding-inline-end: 2.25rem; }
.close {
  position: absolute; top: 0.8rem; right: 0.8rem; display: grid; place-items: center;
  width: 2.65rem; height: 2.65rem; padding: 0; border-radius: 50%; border: 1px solid var(--line);
  background: #f3f6fc; color: var(--navy); font-size: 1.75rem; line-height: 1;
}
.close:hover { background: #e8effb; }
.dialog h2 { font-size: clamp(1.65rem, 4.3vw, 2.4rem); letter-spacing: -0.03em; margin-block: 0.52rem; }
.dialog h3 { font-size: 1.15rem; margin-block: 1.05rem 0.38rem; }
.dialog p:not(.eyebrow, .step-label, .recommendation-label) { color: var(--body); }
.detail-intro { font-size: 1.08rem; }
.dialog .duration { display: inline-flex; border-radius: 0.35rem; background: #f1f5ff; padding: 0.3rem 0.6rem; margin-top: 0.65rem; font-weight: 700; }
.scope-list { padding-inline-start: 1.25rem; margin: 0.42rem 0 1rem; color: var(--body); }
.scope-list li + li { margin-top: 0.28rem; }
.scope-list li::marker { color: var(--royal); }
.detail-delivery {
  padding: 0.8rem 0.95rem; background: var(--sky); border-left: 3px solid var(--gold);
  border-radius: 0 0.4rem 0.4rem 0;
}
.detail-delivery h3 { margin-top: 0; }
.related { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  padding: 0.43rem 0.64rem; min-height: 2.4rem; border: 1px solid var(--line); border-radius: 0.38rem;
  text-align: left; color: var(--royal-dark); background: #f5f8ff; font-size: 0.875rem; font-weight: 700;
}
.tag:hover { background: #e7efff; border-color: #8eabd9; }
.detail-back { margin-top: 0.9rem; }

.finder-dialog { width: min(calc(100% - 2rem), 45rem); }
.step-label { margin-top: 0.92rem; font-size: 0.875rem; color: var(--body); font-weight: 700; }
.finder-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 0.95rem; }
.choice {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.62rem;
  border: 1px solid #cdd8e9; border-radius: 0.43rem; color: var(--navy); font-size: 0.94rem; line-height: 1.28;
  cursor: pointer;
}
.choice:hover { background: var(--sky); }
.choice:has(:checked) { border-color: var(--royal); background: #eef3ff; box-shadow: inset 0 0 0 1px var(--royal); }
.choice input { width: 1.02rem; height: 1.02rem; margin: 0; flex: none; accent-color: var(--royal); }
.finder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 1rem; }
#finder-feedback:not(.visually-hidden) { margin-top: 0.55rem; font-weight: 700; color: #9b2523; }
.recommendation { padding: 1rem; background: var(--sky); border-left: 3px solid var(--gold); border-radius: 0 0.38rem 0.38rem 0; margin-top: 0.7rem; }
.recommendation-label { color: var(--royal-dark); font-size: 0.875rem; font-weight: 750; }
.recommendation h3 { font-size: 1.45rem; margin-top: 0.28rem; }
.recommendation h4 { margin-block: 0.65rem 0.25rem; font-size: 1rem; }
.recommendation .button { margin-top: 0.75rem; }
.complement { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.75rem; margin-top: 0.6rem; color: var(--body); }

@media (max-width: 65rem) {
  .shell { width: calc(100% - 4rem); }
  .header-inner { gap: 1rem; }
  .hero h1 { font-size: clamp(2.75rem, 5.9vw, 4rem); }
  .hero-layout { gap: 2rem; }
}
@media (max-width: 48rem) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 4.5rem; }
  .header-inner nav { display: none; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 2.6rem; gap: 1.65rem; }
  .hero-visual img { aspect-ratio: 1.72; object-position: 55% 43%; }
  .cards, .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 32rem) {
  .shell { width: calc(100% - 2rem); }
  .brand { gap: 0.45rem; font-size: 0.88rem; }
  .brand img { width: 2.4rem; height: 2.4rem; }
  .header-action { padding: 0.44rem 0.55rem; font-size: 0.82rem; min-height: 2.65rem; }
  .hero-layout { padding-block: 2rem 2.45rem; }
  .hero h1 { font-size: clamp(2.15rem, 10.5vw, 3.35rem); }
  .hero h1 + p { margin-top: 0.85rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-actions .button { padding-inline: 0.75rem; }
  .hero-visual { margin-inline-end: 0.45rem; }
  .search { width: 100%; }
  .cards, .packages, .finder-choices { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .banner-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { padding-block: 1.1rem; gap: 0.45rem; }
}
@media (max-width: 24rem) {
  .header-action span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
