:root {
    --bg: #f8f3ea;
    --surface: #fffdf9;
    --surface-strong: #fff7ef;
    --text: #16313e;
    --muted: #607787;
    --line: rgba(22, 49, 62, 0.1);
    --primary: #0e7490;
    --primary-deep: #0b576c;
    --accent: #f08c4b;
    --shadow: 0 18px 60px rgba(10, 40, 52, 0.12);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: min(1160px, calc(100vw - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Noto Sans KR", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(240, 140, 75, 0.16), transparent 28%),
        linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
    line-height: 1.6;
}

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

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

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(255, 253, 249, 0.8);
    border-bottom: 1px solid rgba(22, 49, 62, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: var(--shadow);
    font-weight: 700;
}

.brand__text {
    display: flex;
    flex-direction: column;
}

.brand__text small {
    color: var(--muted);
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav li.current-menu-item a,
.primary-nav a:hover,
.text-link:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.hero {
    position: relative;
    overflow: clip;
    padding: 32px 0 12px;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 33, 41, 0.68) 0%, rgba(16, 33, 41, 0.34) 45%, rgba(16, 33, 41, 0.16) 100%);
}

.hero__media img {
    width: 100%;
    height: 100%;
    min-height: 720px;
    object-fit: cover;
}

.hero__content {
    padding: 110px 0 80px;
    color: white;
}

.hero h1,
.section-heading h2,
.promo-banner h2,
.package-detail h1,
.about-grid h1,
.contact-card h1 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.8rem, 6vw, 5.3rem);
}

.section-eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero .section-eyebrow {
    color: #ffd7be;
}

.hero__lead {
    max-width: 620px;
    margin: 22px 0 0;
    font-size: 1.06rem;
}

.hero__actions,
.promo-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__actions {
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    background: #e07d3e;
}

.button--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: inherit;
}

.package-card .button--ghost {
    border-color: rgba(14, 116, 144, 0.18);
    color: var(--primary);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 620px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.hero__stats li,
.contact-card,
.contact-form-card,
.promo-banner,
.story-list article {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.hero__stats li {
    padding: 18px;
}

.hero__stats strong {
    display: block;
    font-size: 1.5rem;
}

.hero__stats span {
    color: rgba(255, 255, 255, 0.86);
}

.section {
    padding: 92px 0;
}

.section--warm {
    background: linear-gradient(180deg, rgba(255, 247, 239, 0.95), rgba(255, 250, 245, 0.95));
}

.section-heading,
.about-grid,
.contact-grid,
.package-detail,
.story-grid {
    display: grid;
    gap: 28px;
}

.section-heading,
.promo-banner {
    justify-content: space-between;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.package-card {
    overflow: hidden;
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.package-card__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.package-card__body {
    padding: 24px;
}

.package-card__eyebrow,
.package-detail__excerpt,
.lead,
.site-footer,
.prose,
.contact-list {
    color: var(--muted);
}

.package-card h3,
.story-list h3,
.contact-form-card h2 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.story-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
}

.story-list {
    display: grid;
    gap: 18px;
}

.story-list article,
.promo-banner,
.contact-card,
.contact-form-card {
    padding: 28px;
}

.promo-banner {
    background: linear-gradient(135deg, #173948, #0d6178);
    color: white;
}

.about-grid,
.contact-grid,
.package-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.about-grid__media img,
.package-detail__media img {
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.check-grid div {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.contact-card,
.contact-form-card {
    background: var(--surface);
    border-color: var(--line);
}

.contact-list {
    padding-left: 18px;
}

.demo-form {
    display: grid;
    gap: 14px;
}

.demo-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.demo-form input,
.demo-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font: inherit;
}

.prose {
    max-width: 760px;
}

.prose ul,
.prose ol {
    padding-left: 20px;
}

.site-footer {
    padding: 28px 0 54px;
    border-top: 1px solid var(--line);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.site-footer__title {
    margin: 0 0 10px;
    color: var(--text);
    font-weight: 700;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 960px) {
    .package-grid,
    .story-grid,
    .about-grid,
    .contact-grid,
    .package-detail,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 16px;
        right: 16px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(255, 253, 249, 0.98);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 72px 0;
    }

    .hero__content {
        padding: 88px 0 54px;
    }

    .hero__media img {
        min-height: 680px;
    }
}

