/* 분양 전단지 톤 (아스트라 gpt-6-astra 지시서 2026-10-05 기반) — style.css 뒤에 로드, body.flyer 범위 덮어쓰기 */
body.flyer {
  --navy: #071426;
  --navy2: #132c45;
  --navy-deep: #030b15;

  --wine: #940c20;
  --wine2: #570714;
  --wine-hi: #c31d36;

  --gold: #e8bb57;
  --gold2: #a56a1c;
  --gold-l: #fff2be;

  --fg: #17202c;
  --sub: #505660;
  --line: #dfd7c7;
  --bg2: #fffdf8;

  --container: 1280px;
  --section-py: 64px;

  --foil: linear-gradient(
    180deg,
    #fff9df 0%,
    #ffeaa2 15%,
    #edbd59 36%,
    #fff2bf 47%,
    #cf942c 52%,
    #efc363 72%,
    #a96c18 100%
  );

  --foil-edge: linear-gradient(
    135deg,
    #fff4bf 0%,
    #d6a03b 24%,
    #90601e 45%,
    #ffe9a0 63%,
    #bc8127 82%,
    #fff0b4 100%
  );

  --ribbon-fill: linear-gradient(
    100deg,
    #570714 0%,
    #9f0b21 18%,
    #c31d36 48%,
    #940c20 78%,
    #570714 100%
  );
}

.flyer .sec-tit,
.flyer .sv-tit,
.flyer .blk,
.flyer .cta-t {
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -.045em;
}

.flyer .sec-en {
  font-size: 12px;
  letter-spacing: .12em;
}

.foil-word {
  display: inline-grid;
  position: relative;
  isolation: isolate;
  vertical-align: top;
  white-space: nowrap;

  filter: drop-shadow(0 5px 3px rgb(0 0 0 / 60%));
}

.foil-word > span {
  grid-area: 1 / 1;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.foil-depth {
  z-index: 0;
  color: #986019;
  transform: translate(2px, 3px);
  user-select: none;

  text-shadow:
    0 1px 0 #e9bb65,
    0 2px 0 #b17a2a,
    0 3px 0 #875016,
    0 4px 0 #5d330a,
    1px 5px 0 #321c09;
}

.foil-face {
  position: relative;
  z-index: 1;
  color: #f1c96d;
  text-shadow: none;

  filter: drop-shadow(0 -1px 0 rgb(255 249 213 / 85%));
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .foil-face {
    background-image: var(--foil);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

@media (max-width: 767px) {
  .foil-depth {
    transform: translate(1px, 2px);
    text-shadow:
      0 1px 0 #dca64b,
      0 2px 0 #97601b,
      0 3px 0 #542d09;
  }

  .foil-word {
    filter: drop-shadow(0 3px 2px rgb(0 0 0 / 60%));
  }
}

@media (forced-colors: active) {
  .foil-depth {
    display: none;
  }

  .foil-word,
  .foil-face {
    filter: none;
  }

  .foil-face {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

.foil-frame {
  position: relative;
  isolation: isolate;
  min-width: 0;
  border: 2px solid transparent;
  border-radius: 10px;

  background:
    linear-gradient(145deg, #132c45 0%, #071426 48%, #030b15 100%)
      padding-box,
    var(--foil-edge) border-box;

  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 8%),
    0 5px 12px rgb(0 0 0 / 28%);
}

.foil-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(232 187 87 / 65%);
  border-radius: 5px;
  pointer-events: none;
}

.ribbon {
  position: relative;
  isolation: isolate;
  padding: 0 20px;
  color: #fff;
  filter: drop-shadow(0 5px 4px rgb(0 0 0 / 45%));
}

.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 12px;
  bottom: -9px;
  width: 60px;
  background: linear-gradient(180deg, #b7182e, #570714);
}

.ribbon::before {
  left: 0;
  clip-path: polygon(
    0 0, 100% 0, 100% 100%, 0 100%, 20% 50%
  );
}

.ribbon::after {
  right: 0;
  clip-path: polygon(
    0 0, 100% 0, 80% 50%, 100% 100%, 0 100%
  );
}

.ribbon-face {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 .25em;

  min-height: 64px;
  padding: 10px 20px;
  border-top: 1px solid #ffe8a6;
  border-bottom: 2px solid #c08b31;
  background: var(--ribbon-fill);

  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);

  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.04em;
  text-shadow: 0 2px 1px #510511;
}

.ribbon-face b {
  color: #ffe491;
  font-weight: 900;
}

.stamp {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 168px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border: 1px solid #fff0bd;
  border-radius: 50%;
  background: var(--foil-edge);

  color: #ffe49b;
  text-align: center;
  box-shadow:
    0 0 0 3px rgb(3 11 21 / 85%),
    0 8px 18px rgb(0 0 0 / 45%);
}

.stamp::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7px;
  border: 1px solid #edc570;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 25%, #18334b, #030b15 78%);
  box-shadow: inset 0 0 0 4px #071426;
}

.stamp-stars {
  font-size: 15px;
  letter-spacing: .15em;
}

.stamp-copy small,
.stamp-copy strong {
  display: block;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.stamp-copy small {
  font-size: 25px;
}

.stamp-copy strong {
  margin-top: 4px;
  font-size: 36px;
}

.stamp-foot {
  font-size: 12px;
}

.flare {
  position: absolute;
  display: block;
  width: 56px;
  aspect-ratio: 1;
  pointer-events: none;

  background: radial-gradient(
    circle,
    #fffef6 0 3%,
    #fff0b8 5%,
    rgb(255 211 113 / 48%) 15%,
    rgb(255 211 113 / 12%) 35%,
    transparent 67%
  );
}

.flare::before,
.flare::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff5ce;
}

.flare::before {
  clip-path: polygon(
    50% 0, 54% 44%, 100% 50%, 54% 56%,
    50% 100%, 46% 56%, 0 50%, 46% 44%
  );
}

.flare::after {
  transform: rotate(45deg) scale(.55);
  opacity: .65;
  clip-path: polygon(
    50% 0, 54% 44%, 100% 50%, 54% 56%,
    50% 100%, 46% 56%, 0 50%, 46% 44%
  );
}

.flyer .hd-in {
  height: 80px;
}

.flyer .hd-logo img {
  width: 138px;
}

.flyer .hd-name {
  font-size: 19px;
  font-weight: 800;
}

.flyer .hd-tel {
  height: 64px;
  padding: 4px 20px;
  border: 1px solid #c57461;
  border-radius: 6px;
  background: var(--ribbon-fill);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%);
}

.flyer .hd-tel small {
  font-size: 12px;
  opacity: 1;
}

.flyer .hd-tel b {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.flyer .gnb {
  border-bottom: 1px solid #be913e;
}

.flyer .gnb a {
  height: 48px;
  line-height: 48px;
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 960px) {
  .flyer .hd-in {
    height: 60px;
    padding: 0 10px;
    gap: 8px;
  }

  .flyer .hd-logo img {
    width: 94px;
  }

  .flyer .hd-tel {
    height: 42px;
    padding: 0 10px;
  }

  .flyer .hd-tel b {
    font-size: 25px;
  }

  .flyer .hd-menu {
    width: 40px;
    height: 48px;
    padding: 0 9px;
    flex-shrink: 0;
  }

  .flyer .gnb a {
    font-size: 16px;
  }
}

@media (max-width: 359px) {
  .flyer .hd-logo img {
    width: 82px;
  }

  .flyer .hd-tel b {
    font-size: 22px;
  }
}

.sale-hero {
  color: #fff;
  background: var(--navy-deep);
  border-bottom: 2px solid #b78632;
}

.sale-poster {
  position: relative;
  isolation: isolate;
  display: grid;

  grid-template-columns: minmax(0, 1fr) 252px;
  grid-template-rows: minmax(176px, auto) minmax(110px, auto) auto auto;
  grid-template-areas:
    "copy   stamp"
    "copy   gift"
    "ribbon gift"
    "terms  gift";

  gap: 14px 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  overflow: hidden;
}

.sale-scene {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 26%;
}

.sale-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 44%;
}

.sale-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #030b15 0%,
      rgb(3 11 21 / 82%) 13%,
      rgb(3 11 21 / 12%) 43%,
      transparent 72%
    ),
    linear-gradient(
      0deg,
      rgb(3 11 21 / 92%) 0%,
      transparent 42%
    );
}

.sale-scene figcaption {
  position: absolute;
  z-index: 1;
  right: 288px;
  bottom: 164px;
  padding: 3px 6px;
  background: rgb(3 11 21 / 65%);
  color: #fff;
  font-size: 10px;
}

.sale-copy {
  grid-area: copy;
  align-self: start;
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.sale-name {
  margin: 0 0 15px 8px;
  color: #ffe5a0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.04em;
  text-shadow: 0 2px 3px #000;
}

.sale-title {
  font-family: var(--font);
  font-size: clamp(88px, 8.2vw, 112px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.065em;
  transform: skewX(-4deg);
  transform-origin: left center;
}

.sale-title .foil-word {
  display: grid;
  width: max-content;
}

.sale-ribbon {
  grid-area: ribbon;
  align-self: center;
  width: min(100%, 620px);
  margin: 3px 0 13px;
  transform: rotate(-3deg);
}

.sale-stamp {
  grid-area: stamp;
  justify-self: center;
  align-self: start;
}

.sale-terms {
  grid-area: terms;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.sale-terms > li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 126px;
  padding: 16px 12px;
}

.sale-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  fill: none;
  stroke: #f4d586;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.term-label,
.term-value {
  display: block;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.term-label {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.term-value {
  margin-top: 5px;
  color: #ffe29a;
  font-size: 34px;
  font-weight: 900;
}

.sale-gift {
  grid-area: gift;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 16px 16px;
  text-align: center;
}

.sale-gift h2 {
  line-height: 1.05;
  letter-spacing: -.045em;
}

.sale-gift h2 small {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.sale-gift h2 strong {
  display: block;
  margin-top: 8px;
  color: #ffe29a;
  font-size: 36px;
  font-weight: 900;
}

.sale-gift-img {
  width: 100%;
  height: 164px;
  object-fit: contain;
  filter: drop-shadow(0 8px 7px rgb(0 0 0 / 45%));
}

.sale-gift-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #d3a448;
  background: var(--ribbon-fill);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.sale-flare-1 {
  z-index: 2;
  left: 12px;
  top: 58px;
}

.sale-flare-2 {
  z-index: 2;
  left: 425px;
  top: 260px;
  width: 42px;
}

.sale-flare-3 {
  z-index: 2;
  right: 50px;
  top: 30px;
  width: 44px;
}

.sale-call {
  border-top: 2px solid #e9c16d;
  background: var(--ribbon-fill);
}

.sale-call-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  min-height: 108px;
  margin: 0 auto;
  padding: 14px 24px;
}

.sale-call-copy {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.sale-call-copy small {
  display: block;
  margin-bottom: 5px;
  color: #ffe4ac;
  font-size: 14px;
  font-weight: 700;
}

.sale-call-copy strong {
  color: #ffe592;
}

.sale-call-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.sale-call-phone > small {
  font-size: 14px;
  font-weight: 700;
}

.sale-call-phone > span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sale-call-phone svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sale-call-phone b {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}

/* 1100px 미만에서는 광고판을 세로 구성으로 전환 */
@media (max-width: 1099px) {
  .sale-poster {
    max-width: 760px;
    padding: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas:
      "copy  copy"
      "scene scene"
      "terms terms"
      "gift  gift";
    gap: 12px;
  }

  .sale-copy {
    max-width: none;
    padding: 8px 0;
    text-align: center;
  }

  .sale-name {
    margin: 0 0 10px;
    font-size: 26px;
  }

  .sale-title {
    display: flex;
    justify-content: center;
    gap: .12em;
    font-size: clamp(44px, 7vw, 68px);
    line-height: 1.08;
    transform: none;
  }

  .sale-title .foil-word {
    display: inline-grid;
  }

  .sale-scene {
    grid-area: scene;
    position: relative;
    z-index: 0;
    inset: auto;
    width: 100%;
    aspect-ratio: 1.8;
    overflow: hidden;
    border: 1px solid #bd903e;
  }

  .sale-scene img {
    object-position: 50% 43%;
  }

  .sale-scene::after {
    background: linear-gradient(
      0deg,
      rgb(3 11 21 / 65%),
      transparent 36%
    );
  }

  .sale-scene figcaption {
    top: 6px;
    left: 6px;
    right: auto;
    bottom: auto;
    max-width: calc(100% - 12px);
    font-size: 10px;
  }

  .sale-stamp {
    grid-area: scene;
    z-index: 2;
    justify-self: end;
    align-self: end;
    width: 126px;
    margin: 0 12px 82px 0;
  }

  .sale-stamp .stamp-copy small {
    font-size: 20px;
  }

  .sale-stamp .stamp-copy strong {
    font-size: 27px;
  }

  .sale-ribbon {
    grid-area: scene;
    z-index: 3;
    align-self: end;
    justify-self: center;
    width: calc(100% - 16px);
    max-width: 620px;
    margin: 0 0 18px;
    transform: none;
  }

  .sale-terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sale-gift {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    grid-template-areas:
      "photo title"
      "photo action";
    gap: 10px 16px;
    min-height: 180px;
    padding: 16px;
  }

  .sale-gift h2 {
    grid-area: title;
    align-self: end;
  }

  .sale-gift-img {
    grid-area: photo;
    height: 148px;
  }

  .sale-gift-link {
    grid-area: action;
    align-self: start;
  }

  .sale-flare-1 {
    top: 35px;
    left: 5px;
    width: 36px;
  }

  .sale-flare-2 {
    top: 62px;
    left: auto;
    right: 4px;
    width: 30px;
  }

  .sale-flare-3 {
    display: none;
  }

  .sale-call-copy {
    font-size: 25px;
  }

  .sale-call-phone b {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .sale-poster {
    padding: 10px;
    gap: 10px;
  }

  .sale-copy {
    padding: 10px 0 6px;
  }

  .sale-name {
    font-size: clamp(18px, 5.6vw, 22px);
  }

  .sale-title {
    gap: .1em;
    font-size: clamp(34px, 11.3vw, 46px);
    letter-spacing: -.065em;
  }

  .sale-scene {
    aspect-ratio: 1.45;
  }

  .sale-stamp {
    width: 100px;
    gap: 4px;
    margin: 0 10px 76px 0;
  }

  .sale-stamp::before {
    inset: 5px;
  }

  .sale-stamp .stamp-stars {
    font-size: 9px;
  }

  .sale-stamp .stamp-copy small {
    font-size: 16px;
  }

  .sale-stamp .stamp-copy strong {
    font-size: 23px;
    margin-top: 2px;
  }

  .sale-stamp .stamp-foot {
    font-size: 8px;
  }

  .sale-ribbon {
    padding: 0 10px;
    margin-bottom: 16px;
  }

  .sale-ribbon .ribbon-face {
    min-height: 50px;
    padding: 8px 9px;
    font-size: clamp(17px, 5.4vw, 22px);
    gap: 0 .18em;
  }

  .sale-ribbon::before,
  .sale-ribbon::after {
    width: 36px;
    top: 10px;
    bottom: -7px;
  }

  .sale-terms {
    gap: 8px;
  }

  .sale-terms > li {
    min-height: 104px;
    gap: 8px;
    padding: 13px 10px;
  }

  .sale-icon {
    width: 30px;
    height: 30px;
  }

  .term-label {
    font-size: 22px;
  }

  .term-value {
    font-size: 29px;
    margin-top: 3px;
  }

  .sale-gift {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 152px;
    gap: 8px 10px;
    padding: 14px;
  }

  .sale-gift-img {
    height: 120px;
  }

  .sale-gift h2 small {
    font-size: 20px;
  }

  .sale-gift h2 strong {
    font-size: clamp(25px, 7.6vw, 30px);
    margin-top: 5px;
  }

  .sale-gift-link {
    min-height: 44px;
    font-size: 13px;
    padding: 6px;
  }

  .sale-call-in {
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px 16px;
    text-align: center;
  }

  .sale-call-copy {
    font-size: 22px;
  }

  .sale-call-copy small {
    display: none;
  }

  .sale-call-phone > small {
    font-size: 12px;
  }

  .sale-call-phone > span {
    gap: 8px;
  }

  .sale-call-phone svg {
    width: 32px;
    height: 32px;
  }

  .sale-call-phone b {
    font-size: clamp(36px, 12vw, 50px);
  }
}

@media (max-width: 359px) {
  .sale-gift {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 12px;
  }

  .sale-gift h2 strong {
    font-size: 25px;
  }

  .sale-terms > li {
    padding-inline: 8px;
    gap: 6px;
  }

  .term-value {
    font-size: 26px;
  }
}

.flyer .quick-section {
  padding: 40px 0;
  background: #fffdf8;
}

.flyer .quick-section .sec-tit {
  font-size: 34px;
}

.flyer .quick-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.flyer .quick-grid a {
  border: 1px solid #b9944f;
  background: var(--navy);
}

.flyer .quick-grid img {
  aspect-ratio: 4 / 3;
  opacity: 1;
}

.flyer .quick-grid span {
  position: static;
  min-height: 48px;
  padding: 10px;
  border-top: 1px solid #dbba76;
  background: var(--wine);
}

.flyer .quick-grid b {
  font-size: 18px;
  font-weight: 900;
}

.flyer .quick-grid i {
  font-size: 11px;
}

@media (max-width: 1099px) {
  .flyer .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .flyer .quick-section {
    padding: 28px 0;
  }

  .flyer .quick-section .wrap {
    padding: 0 12px;
  }

  .flyer .quick-section .sec-tit {
    font-size: 26px;
  }

  .flyer .quick-grid {
    gap: 8px;
    margin-top: 16px;
  }

  .flyer .quick-grid span {
    justify-content: center;
    min-height: 44px;
    padding: 8px 4px;
  }

  .flyer .quick-grid b {
    font-size: 15px;
  }

  .flyer .quick-grid i {
    display: none;
  }
}

.flyer .event {
  padding: 56px 0;
  background:
    radial-gradient(ellipse at 20% 45%, #19344e, transparent 58%),
    var(--navy-deep);
  border-top: 1px solid #b58a3c;
  border-bottom: 1px solid #b58a3c;
}

.flyer .event-in {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 36px;
  padding: 32px;
}

.flyer .event-img img {
  max-height: 340px;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 15px 14px rgb(0 0 0 / 40%));
}

.flyer .event .sec-tit {
  font-size: 44px;
  line-height: 1.12;
}

.flyer .event .sec-tit b {
  display: block;
  margin-top: 8px;
  color: #ffe29a;
  font-size: 52px;
}

.flyer .event-desc {
  margin-top: 16px;
  font-size: 17px;
}

.flyer .event-spec {
  margin-top: 22px;
}

.flyer .event-spec li {
  padding: 12px 6px;
  font-size: 14px;
}

.flyer .event-cta {
  margin-top: 20px;
}

.flyer .event-cta .btn {
  min-height: 52px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .flyer .event {
    padding: 32px 0;
  }

  .flyer .event-in {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 18px;
  }

  .flyer .event-img {
    order: 0;
    width: 100%;
  }

  .flyer .event-img img {
    max-height: 220px;
  }

  .flyer .event .sec-tit {
    font-size: 28px;
  }

  .flyer .event .sec-tit b {
    font-size: 36px;
  }

  .flyer .event-desc {
    font-size: 16px;
  }
}

.flyer .mloc-map {
  border: 1px solid #bc984f;
}

.flyer .mstat {
  margin-top: 24px;
  border: 1px solid #bc984f;
  background: var(--navy);
}

.flyer .mstat li {
  padding: 22px 10px;
  border-color: rgb(232 187 87 / 30%);
}

.flyer .mstat b {
  color: #ffe29a;
  font-size: 40px;
  font-weight: 900;
}

.flyer .mstat span {
  color: #fff;
}

@media (max-width: 767px) {
  .flyer .mstat b {
    font-size: 32px;
  }

  .flyer .mstat li:nth-child(n+3) {
    border-top-color: rgb(232 187 87 / 30%);
  }
}

.flyer .rf {
  border: 1px solid #c8a76a;
  border-top: 4px solid var(--wine);
  box-shadow: 0 8px 24px rgb(30 22 10 / 6%);
}

.flyer .rf input:not([type="checkbox"]),
.flyer .rf select {
  height: 52px;
}

.flyer .rf .btn {
  height: 60px;
  border: 1px solid #d8b16b;
  background: var(--ribbon-fill);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

@media (max-width: 960px) {
  .flyer {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .flyer .mbar {
    grid-template-columns: 1.65fr 1fr;
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 2px solid #e6be69;
    background: var(--navy-deep);
  }

  .flyer .mbar-tel {
    flex-direction: column;
    gap: 2px;
    background: var(--ribbon-fill);
  }

  .flyer .mbar-tel small {
    font-size: 11px;
    line-height: 1;
  }

  .flyer .mbar-tel b {
    font-size: 25px;
    line-height: 1.1;
    font-weight: 900;
    white-space: nowrap;
  }

  .flyer .mbar-rsv {
    background: #efcc80;
    color: #071426;
    font-size: 20px;
    font-weight: 900;
  }

  /* 하단바 공간은 body에서 확보 */
  .flyer .ft {
    padding-bottom: 36px;
  }
}

.flyer .sv {
  height: 220px;
  border-bottom: 3px solid #b78936;
  background: var(--navy-deep);
}

.flyer .sv-bg {
  opacity: .28;
}

.flyer .sv::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgb(232 187 87 / 50%);
  pointer-events: none;
}

.flyer .sv-en {
  font-size: 12px;
  color: #f0d292;
  letter-spacing: .16em;
}

.flyer .sv-tit {
  margin-top: 8px;
  font-size: 52px;
  line-height: 1.15;
}

.flyer .sv-path {
  margin-top: 10px;
  font-size: 13px;
  color: #fff;
}

@media (max-width: 767px) {
  .flyer .sv {
    height: 150px;
  }

  .flyer .sv::after {
    inset: 8px;
  }

  .flyer .sv-tit {
    font-size: 34px;
  }

  .flyer .sv-en {
    font-size: 10px;
  }

  .flyer .sv-path {
    font-size: 12px;
  }
}

.flyer .qm {
  background: #fffdf8;
  border-bottom: 1px solid #ddd3bf;
}

.flyer .qm-in {
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 10px;
}

.flyer .qm a {
  border: 1px solid #c1a163;
}

.flyer .qm img {
  aspect-ratio: 2.4 / 1;
  opacity: .9;
}

.flyer .qm span {
  position: static;
  min-height: 40px;
  padding: 8px 4px;
  background: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.flyer .qm a[aria-current="page"] {
  outline: 2px solid var(--wine);
  outline-offset: 0;
}

.flyer .qm a[aria-current="page"] img {
  opacity: 1;
}

.flyer .qm a[aria-current="page"] span {
  background: var(--wine);
  color: #fff;
}

@media (max-width: 767px) {
  .flyer .qm-in {
    gap: 8px;
    padding: 12px;
  }

  .flyer .qm span {
    min-height: 40px;
    font-size: 14px;
  }
}

.flyer .blk {
  margin-top: 48px;
  padding: 0 0 12px 16px;
  border-bottom: 2px solid var(--navy);
  font-size: 30px;
  line-height: 1.25;
  color: var(--navy);
}

.flyer .blk::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 15px;
  width: 6px;
  background: var(--wine);
}

.flyer .blk::after {
  left: 0;
  bottom: -2px;
  width: 100px;
  height: 2px;
  background: #c5973e;
}

.flyer .blk-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #505660;
}

.flyer .pg-img {
  margin-top: 22px;
  border: 1px solid #ddd6c7;
  background: #fff;
  box-shadow: none;
}

@media (max-width: 767px) {
  .flyer .blk {
    font-size: 24px;
    margin-top: 36px;
    padding-left: 14px;
  }

  .flyer .blk-lead {
    font-size: 15px;
  }
}

.flyer .cta {
  background: var(--ribbon-fill);
  border-top: 2px solid #e3bd6d;
  border-bottom: 1px solid #be8c32;
  color: #fff;
}

.flyer .cta-bg {
  display: none;
}

.flyer .cta-in {
  padding: 28px 40px;
  gap: 24px;
}

.flyer .cta-k {
  font-size: 14px;
  color: #ffe3a5;
}

.flyer .cta-t {
  margin-top: 6px;
  font-size: 30px;
  line-height: 1.2;
}

.flyer .cta-t b {
  color: #ffe398;
}

.flyer .cta-act {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.flyer .cta-tel {
  padding: 0;
  background: none;
}

.flyer .cta-tel small {
  font-size: 13px;
  opacity: 1;
}

.flyer .cta-tel b {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.flyer .cta .btn {
  height: 52px;
  border: 1px solid #e7c67e;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1099px) {
  .flyer .cta-in {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .flyer .cta-act {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .flyer .cta-in {
    padding: 24px 16px;
    gap: 16px;
  }

  .flyer .cta-t {
    font-size: 24px;
  }

  .flyer .cta-act {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .flyer .cta-tel {
    align-items: center;
  }

  .flyer .cta-tel b {
    font-size: clamp(36px, 12vw, 48px);
  }
}

/* 메인 이벤트 섹션은 고객 지정 전단(39022) 원본을 그대로 노출 — 지시서의 제품 사진 축소 대신 */
.flyer .event-img img{max-height:none;max-width:400px;margin:0 auto;filter:none;box-shadow:0 18px 40px rgb(0 0 0 / 45%)}
@media (max-width:767px){.flyer .event-img img{max-height:none;max-width:100%}}
.flyer .sale-gift-link:hover,.flyer .cta .btn:hover{filter:brightness(1.12)}
.flyer .sale-scene figcaption{font-size:11px}
/* 조감도가 1440 이상에서도 끝까지 차도록: 광고판 폭은 풀폭, 내용만 1280 정렬 */
.sale-poster{max-width:none;padding-left:max(24px,calc((100% - 1232px) / 2));padding-right:max(24px,calc((100% - 1232px) / 2))}
@media (max-width:1099px){.sale-poster{max-width:760px;padding:14px}}
@media (max-width:767px){.sale-poster{padding:10px}}

/* ───────── 모션 (animate 스킬 기준: transform/opacity/clip-path, 강한 ease-out, 1회성) ───────── */
:root{--ease-out:cubic-bezier(0.23,1,0.32,1);--ease-in-out:cubic-bezier(0.77,0,0.175,1)}

/* 히어로 입장 — 첫 화면 1회 연출: 헤드라인 → 리본 → 도장 → 조건카드 → 사은품 → 반짝 */
@keyframes hs-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes hs-scene{from{opacity:.4;transform:scale(1.06)}to{opacity:1;transform:none}}
@keyframes hs-wipe{from{clip-path:inset(-30px 100% -30px -30px)}to{clip-path:inset(-30px -30px -30px -30px)}}
@keyframes hs-stamp{0%{opacity:0;transform:scale(1.35) rotate(-14deg)}60%{opacity:1;transform:scale(.96) rotate(2deg)}100%{opacity:1;transform:none}}
@keyframes hs-slide{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes hs-twinkle{0%{opacity:0;transform:scale(.4) rotate(-30deg)}50%{opacity:1;transform:scale(1.1) rotate(0)}100%{opacity:.9;transform:scale(1) rotate(0)}}
@keyframes hs-shine{from{background-position:160% 0,0 0}to{background-position:-60% 0,0 0}}

.sale-scene img{animation:hs-scene 1400ms var(--ease-out) backwards}
.sale-name{animation:hs-rise 500ms var(--ease-out) 100ms backwards}
.sale-title .foil-word{animation:hs-rise 600ms var(--ease-out) backwards}
.sale-title .foil-word:nth-child(1){animation-delay:180ms}
.sale-title .foil-word:nth-child(2){animation-delay:260ms}
.sale-ribbon{animation:hs-wipe 650ms var(--ease-in-out) 520ms backwards}
.sale-stamp{animation:hs-stamp 520ms var(--ease-out) 820ms backwards}
.sale-terms>li{animation:hs-rise 450ms var(--ease-out) backwards}
.sale-terms>li:nth-child(1){animation-delay:900ms}
.sale-terms>li:nth-child(2){animation-delay:960ms}
.sale-terms>li:nth-child(3){animation-delay:1020ms}
.sale-terms>li:nth-child(4){animation-delay:1080ms}
.sale-gift{animation:hs-slide 550ms var(--ease-out) 1000ms backwards}
.flare{animation:hs-twinkle 700ms var(--ease-out) backwards}
.sale-flare-1{animation-delay:1250ms}.sale-flare-2{animation-delay:1400ms}.sale-flare-3{animation-delay:1550ms}

/* 금박 헤드라인에 빛줄기 1회 통과 */
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  .sale-title .foil-face{
    background-image:linear-gradient(105deg,transparent 42%,rgb(255 255 245 / 90%) 50%,transparent 58%),var(--foil);
    background-size:250% 100%,100% 100%;background-repeat:no-repeat;background-position:160% 0,0 0;
    animation:hs-shine 1100ms var(--ease-in-out) 1300ms backwards}
  .sale-title .foil-word:nth-child(2) .foil-face{animation-delay:1420ms}
}

/* 누름 피드백 — :active는 터치에서도 실제 누름 */
.flyer .btn,.flyer .hd-tel,.flyer .sale-call-phone,.flyer .sale-gift-link,.flyer .cta-tel,.flyer .mbar a,.flyer .quick-grid a,.flyer .qm a,.flyer .tabs button{transition:transform 160ms var(--ease-out),background-color 200ms ease,color 200ms ease,filter 200ms ease}
.flyer .btn:active,.flyer .hd-tel:active,.flyer .sale-call-phone:active,.flyer .sale-gift-link:active,.flyer .cta-tel:active,.flyer .mbar a:active,.flyer .quick-grid a:active,.flyer .qm a:active,.flyer .tabs button:active{transform:scale(.97)}

/* 호버 — 정밀 포인터에서만 */
.sale-terms>li{transition:transform 200ms var(--ease-out),box-shadow 200ms ease}
@media (hover:hover) and (pointer:fine){
  .sale-terms>li:hover{transform:translateY(-3px);box-shadow:inset 0 1px 0 rgb(255 255 255 / 12%),0 10px 22px rgb(0 0 0 / 38%)}
  .flyer .hd-tel:hover,.flyer .sale-call-phone:hover{filter:brightness(1.1)}
  .flyer .quick-grid a:hover span{background:var(--wine-hi)}
}

/* 스크롤 리빌 곡선을 토큰으로 통일 */
.rv{transition:opacity 600ms var(--ease-out),transform 600ms var(--ease-out)}

@media (prefers-reduced-motion:reduce){
  .sale-scene img,.sale-name,.sale-title .foil-word,.sale-ribbon,.sale-stamp,.sale-terms>li,.sale-gift,.flare{animation:hs-fade 200ms ease both}
  .sale-title .foil-face{animation:none;background-position:160% 0,0 0}
  .flyer .btn:active,.flyer .hd-tel:active,.flyer .mbar a:active{transform:none}
}
@keyframes hs-fade{from{opacity:0}to{opacity:1}}
.sale-scene{overflow:hidden}
