@font-face {
    font-family: 'Pretendard';
    src: url('./fonts/Pretendard-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('./fonts/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('./fonts/Pretendard-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('./fonts/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

:root {
    --pw-bg: #ffffff;
    --pw-bg-soft: #f7f7f5;
    --pw-bg-card: #ffffff;
    --pw-ink: #171412;
    --pw-text: #171412;
    --pw-text-soft: #5e564e;
    --pw-line: rgba(23, 20, 18, 0.1);
    --pw-line-strong: rgba(23, 20, 18, 0.18);
    --pw-brick: #bf4029;
    --pw-brick-deep: #8e2b1b;
    --pw-cream: #f3eee8;
    --pw-shadow-soft: 0 18px 40px rgba(26, 17, 12, 0.08);
    --pw-shadow-card: 0 28px 60px rgba(26, 17, 12, 0.12);
    --pw-radius-lg: 32px;
    --pw-radius-md: 24px;
    --pw-radius-sm: 18px;
    --pw-max: min(1240px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    color: var(--pw-text);
    font-family: 'Pretendard', sans-serif;
    background: var(--pw-bg);
}

body,
button,
input,
select,
textarea {
    font-family: 'Pretendard', sans-serif;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

button,
input,
select,
textarea {
    margin: 0;
    font: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--pw-line);
    border-radius: 16px;
    background: #fff;
    color: var(--pw-text);
    padding: 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input,
select {
    min-height: 54px;
}

textarea {
    min-height: 168px;
    padding: 16px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 0;
    border-color: rgba(191, 64, 41, 0.5);
    box-shadow: 0 0 0 4px rgba(191, 64, 41, 0.08);
}

::placeholder {
    color: #9a8f85;
}

.sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.pw-shell {
    width: var(--pw-max);
    margin: 0 auto;
}

.pw-main {
    display: block;
    padding-bottom: 116px;
}

.pw-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(23, 20, 18, 0.08);
}

.pw-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
}

.pw-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pw-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--pw-brick), var(--pw-brick-deep));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    box-shadow: var(--pw-shadow-soft);
}

.pw-brand__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pw-brand__text strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.pw-brand__text small {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: var(--pw-text-soft);
}

.pw-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pw-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pw-text-soft);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pw-nav a:hover,
.pw-nav a:focus {
    color: var(--pw-text);
    background: rgba(23, 20, 18, 0.05);
}

.pw-nav__cta {
    color: #fff !important;
    background: linear-gradient(145deg, var(--pw-brick), var(--pw-brick-deep));
    box-shadow: var(--pw-shadow-soft);
}

.pw-nav__cta:hover,
.pw-nav__cta:focus {
    background: linear-gradient(145deg, var(--pw-brick), var(--pw-brick-deep)) !important;
    transform: translateY(-1px);
}

.pw-nav__admin {
    color: var(--pw-brick) !important;
}

.pw-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 14px;
    border: 1px solid var(--pw-line);
    background: #fff;
}

.pw-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--pw-text);
}

.pw-subhero {
    padding: 30px 0 18px;
}

.pw-subhero .pw-shell {
    padding: 28px 30px;
    border-radius: 26px;
    border: 1px solid var(--pw-line);
    background: linear-gradient(180deg, #fff 0%, #f7f4ef 100%);
    box-shadow: var(--pw-shadow-soft);
}

.pw-subhero__eyebrow,
.pw-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pw-brick);
}

.pw-subhero h1,
.pw-section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.pw-subhero p,
.pw-section-heading p {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--pw-text-soft);
}

.pw-section {
    position: relative;
    padding: 110px 0;
}

.pw-section-heading {
    display: grid;
    margin-bottom: 30px;
}

.pw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pw-button:hover,
.pw-button:focus {
    transform: translateY(-1px);
}

.pw-button--primary {
    color: #fff;
    background: linear-gradient(145deg, var(--pw-brick), var(--pw-brick-deep));
    box-shadow: var(--pw-shadow-soft);
}

.pw-button--line {
    color: var(--pw-text);
    border: 1px solid var(--pw-line-strong);
    background: rgba(255, 255, 255, 0.9);
}

.pw-field {
    display: grid;
    gap: 9px;
}

.pw-field span {
    font-size: 13px;
    font-weight: 700;
    color: var(--pw-text);
}

.pw-field--full {
    grid-column: 1 / -1;
}

.pw-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pw-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--pw-line);
    background: #fff;
}

.pw-choice input {
    width: 18px;
    min-height: 18px;
    padding: 0;
    box-shadow: none;
}

.pw-checkline {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--pw-line);
    background: #fff;
}

.pw-checkline input {
    width: 18px;
    min-height: 18px;
    padding: 0;
    box-shadow: none;
}

.pw-form__actions {
    display: flex;
    justify-content: flex-start;
    grid-column: 1 / -1;
}

.pw-footer {
    padding: 42px 0 140px;
    border-top: 1px solid var(--pw-line);
    background: #f7f4ef;
}

.pw-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
}

.pw-footer__brand {
    display: grid;
    gap: 6px;
}

.pw-footer__eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pw-brick);
}

.pw-footer__brand strong {
    font-size: 22px;
    line-height: 1.1;
}

.pw-footer__brand span,
.pw-footer__meta span,
.pw-footer__links a {
    font-size: 13px;
    line-height: 1.7;
    color: var(--pw-text-soft);
}

.pw-footer__meta,
.pw-footer__links {
    display: grid;
    gap: 4px;
}

.pw-footer__links {
    justify-items: end;
}

@media (max-width: 980px) {
    .pw-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .pw-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        display: none;
        width: min(320px, calc(100vw - 32px));
        padding: 14px;
        border-radius: 22px;
        border: 1px solid var(--pw-line);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--pw-shadow-card);
    }

    .pw-nav.is-open {
        display: grid;
    }

    .pw-nav a {
        justify-content: flex-start;
        padding: 0 14px;
        min-height: 48px;
        border-radius: 14px;
    }

    .pw-footer__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pw-footer__links {
        justify-items: start;
    }
}

@media (max-width: 768px) {
    .pw-main {
        padding-bottom: 186px;
    }

    .pw-section {
        padding: 86px 0;
    }

    .pw-subhero {
        padding-top: 22px;
    }

    .pw-header__inner {
        min-height: 0;
        padding: 14px 0;
    }

    .pw-brand__text strong {
        font-size: 16px;
    }

    .pw-subhero .pw-shell {
        padding: 22px 20px;
    }

    .pw-subhero h1,
    .pw-section-heading h2 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .pw-button,
    input,
    select {
        min-height: 50px;
    }

    .pw-footer {
        padding-bottom: 210px;
    }
}

@media (max-width: 540px) {
    .pw-shell {
        width: min(100% - 24px, var(--pw-max));
    }

    .pw-brand {
        gap: 10px;
    }

    .pw-brand__mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 13px;
    }

    .pw-brand__text strong {
        font-size: 15px;
    }

    .pw-brand__text small {
        font-size: 10px;
    }

    .pw-subhero p,
    .pw-section-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .pw-footer {
        padding-top: 34px;
    }
}
