/* 더뉴플라워 프리미엄 정제 레이어: 밀도, 위계, 반응형 품질 보정 */
:root {
  --bg-primary: #f6f2ea;
  --bg-surface: #fffdf9;
  --bg-elevated: #efe9de;
  --bg-dark: #061a12;
  --bg-dark-panel: #0b2a1d;
  --color-primary: #0b3b27;
  --color-primary-light: #17583b;
  --color-primary-dark: #03150d;
  --color-gold: #b88a3b;
  --color-gold-hover: #c79a4a;
  --color-gold-bright: #e4bd72;
  --color-gold-soft: #f6eedf;
  --text-main: #17231d;
  --text-muted: #5d6962;
  --text-light: #89928d;
  --border-light: rgba(11, 59, 39, 0.12);
  --border-gold: rgba(184, 138, 59, 0.4);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 8px 24px rgba(7, 28, 19, 0.05);
  --shadow-md: 0 16px 42px rgba(7, 28, 19, 0.09);
  --shadow-lg: 0 28px 70px rgba(4, 23, 15, 0.16);
}

html {
  scroll-padding-top: 112px;
}

body {
  background:
    radial-gradient(circle at 9% 14%, rgba(184, 138, 59, 0.06), transparent 24rem),
    var(--bg-primary);
  letter-spacing: -0.012em;
}

::selection {
  background: rgba(184, 138, 59, 0.28);
  color: var(--color-primary-dark);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(228, 189, 114, 0.78);
  outline-offset: 3px;
}

.container {
  max-width: 1280px;
  padding-inline: 32px;
}

.top-notice {
  min-height: 36px;
  padding: 7px 0;
  background: #04140d;
  border-bottom-color: rgba(228, 189, 114, 0.18);
  color: #cedbd3;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
}

.top-notice strong {
  color: #f5e3bc;
  font-weight: 700;
}

.notice-divider {
  display: inline-block;
  width: 1px;
  height: 11px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.28);
  vertical-align: -1px;
}

.live-indicator {
  width: 7px;
  height: 7px;
  animation-duration: 3s;
}

.navbar {
  background: rgba(255, 253, 249, 0.93);
  border-bottom-color: rgba(11, 59, 39, 0.1);
  box-shadow: 0 10px 30px rgba(7, 28, 19, 0.035);
}

.navbar-inner {
  height: 78px;
  gap: 28px;
}

.brand-logo {
  flex: 0 0 auto;
  min-width: 166px;
}

.brand-name {
  font-size: 1.72rem;
  letter-spacing: -0.055em;
}

.brand-sub {
  margin-top: 5px;
  color: #6e766f;
  font-size: 0.61rem;
  letter-spacing: 0.16em;
}

.navbar nav {
  flex: 1 1 auto;
}

.nav-menu {
  justify-content: center;
  gap: clamp(16px, 1.8vw, 28px);
}

.nav-link {
  color: #34443b;
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-link::after {
  height: 1px;
}

.nav-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.navbar .btn-tel-glowing,
.navbar .btn-primary-tactile {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  box-shadow: none;
  font-size: 0.86rem;
}

.navbar .btn-tel-glowing {
  background: transparent !important;
  border-color: rgba(11, 59, 39, 0.18) !important;
}

.hero-cinematic {
  min-height: 850px;
  padding: 88px 0 76px;
  background-image:
    linear-gradient(90deg, rgba(3, 20, 12, 0.96) 0%, rgba(6, 29, 19, 0.91) 42%, rgba(7, 31, 21, 0.55) 74%, rgba(5, 20, 13, 0.72) 100%),
    url('../assets/hero_botanical_luxury.jpg');
  background-position: center 45%;
  background-attachment: scroll;
}

.hero-cinematic::before {
  background:
    linear-gradient(90deg, rgba(228, 189, 114, 0.08), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(228, 189, 114, 0.17), transparent 32rem);
}

.hero-cinematic::after {
  position: absolute;
  top: 38px;
  right: max(32px, calc((100vw - 1280px) / 2 + 32px));
  bottom: 38px;
  width: 1px;
  background: linear-gradient(transparent, rgba(228, 189, 114, 0.42), transparent);
  content: '';
}

.hero-content-wrap {
  display: flex;
  max-width: 870px;
  flex-direction: column;
}

.hero-badge-wrap {
  order: 1;
  margin-bottom: 28px;
}

.hero-headline {
  order: 2;
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 4.2vw, 4.2rem);
  line-height: 1.23;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-headline em {
  background: linear-gradient(110deg, #f4d9a2, #c89846 72%);
  -webkit-background-clip: text;
}

.hero-desc {
  order: 3;
  max-width: 760px;
  margin-bottom: 30px;
  color: #d8e1db;
  font-size: 1.08rem;
  line-height: 1.82;
}

.hero-btn-group {
  order: 4;
  margin-bottom: 34px;
}

.hero-direct-answer {
  order: 5;
  max-width: 780px;
  margin-bottom: 28px;
  padding: 19px 22px;
  background: rgba(8, 35, 23, 0.74);
  border: 1px solid rgba(228, 189, 114, 0.31);
  border-left: 1px solid rgba(228, 189, 114, 0.7);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.hero-direct-answer-title {
  gap: 11px;
  margin-bottom: 9px;
  font-size: 0.9rem;
}

.answer-label,
.hero-ticker-label {
  color: #e3bd75;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-direct-answer-text {
  color: #dce5df;
  font-size: 0.94rem;
  line-height: 1.72;
}

.hero-direct-answer-text strong {
  padding: 0;
  background: none;
  color: #fff8ea;
  box-shadow: inset 0 -0.35em rgba(184, 138, 59, 0.18);
}

.pill-badge-luxury {
  padding: 7px 13px;
  background: rgba(184, 138, 59, 0.11);
  border-color: rgba(228, 189, 114, 0.3);
  border-radius: 9px;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.pill-badge-luxury.live {
  background: rgba(20, 117, 79, 0.18);
}

.hero-btn-group .btn-primary-tactile,
.hero-btn-group .btn-tel-glowing {
  min-height: 54px;
  padding: 0 26px !important;
  border-radius: 12px;
  font-size: 0.96rem !important;
}

.btn-primary-tactile {
  background: linear-gradient(135deg, #c99948, #a8792e);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(184, 138, 59, 0.23);
}

.btn-primary-tactile::after {
  display: none;
}

.pulse-ring-btn {
  animation: none;
}

.hero-pillars-grid {
  order: 6;
  gap: 10px;
}

.hero-cinematic .finder-card { order: 6; }

.hero-pillar-card {
  min-height: 78px;
  padding: 14px 16px;
  background: rgba(9, 36, 24, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.pillar-icon {
  color: #d8ad62;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pillar-info h4 {
  font-size: 0.88rem;
}

.pillar-info p {
  margin-top: 2px;
  color: #9fb2a7;
  font-size: 0.76rem;
}

.hero-ticker-bar {
  order: 7;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(3, 18, 11, 0.64);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: none;
}

.hero-ticker-bar .ticker-text {
  margin: 0;
  color: #c9d4cd;
  font-size: 0.8rem;
}

.section,
.section-fresh-promise,
.section-process-timeline,
.section-local-finder {
  padding-block: 96px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.kicker,
.fresh-promise-kicker {
  margin-bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.23em;
}

.section-title,
.fresh-promise-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-sub {
  max-width: 650px;
  margin-inline: auto;
  color: #647068;
  line-height: 1.75;
}

.fresh-promise-banner {
  padding: 68px 58px;
  border-radius: 26px;
  background-image:
    linear-gradient(90deg, rgba(5, 29, 18, 0.97), rgba(7, 34, 22, 0.86) 58%, rgba(7, 32, 21, 0.38)),
    url('../assets/banner_fresh_promise.jpg');
}

.comparison-matrix {
  gap: 14px;
}

.matrix-card,
.timeline-card,
.finder-card,
.ribbon-tool-card,
.faq-item,
.policy-alert-card {
  border-radius: 18px;
}

.timeline-card {
  border-color: rgba(11, 59, 39, 0.12);
  box-shadow: 0 16px 35px rgba(7, 28, 19, 0.05);
}

.timeline-step-badge {
  box-shadow: none;
}

.finder-card {
  padding: 36px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow-md);
}

.finder-title {
  letter-spacing: -0.03em;
}

.search-input {
  min-height: 56px;
  border-radius: 13px;
}

.chip-btn {
  min-height: 38px;
  border-radius: 10px;
}

.product-grid {
  gap: 20px;
}

.product-card {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(8, 35, 23, 0.065);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(8, 35, 23, 0.12);
}

.product-thumb-wrap {
  background: #ebe6dc;
}

.product-thumb-wrap img {
  transition-duration: 0.65s;
}

.badge-tag {
  top: 12px;
  left: 12px;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
  letter-spacing: 0.02em;
}

.product-body {
  padding: 22px;
}

.product-title {
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.product-desc {
  min-height: 44px;
  line-height: 1.65;
}

.price-val {
  font-size: 1.42rem;
  letter-spacing: -0.03em;
}

.btn-card-call,
.btn-card-order {
  min-height: 44px;
  border-radius: 10px;
}

/* 배송 갤러리 */
.section-proof {
  padding-block: 100px;
  background:
    radial-gradient(circle at 15% 80%, rgba(184, 138, 59, 0.09), transparent 32rem),
    #04170f;
}

.proof-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
  gap: 0;
}

.proof-stat {
  padding: 4px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.proof-stat:last-child {
  border-right: 0;
}

.proof-stat .num {
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.proof-gallery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.proof-item {
  border-radius: 14px;
}

.ribbon-tool-card {
  padding: 42px;
  border-color: rgba(184, 138, 59, 0.3);
}

.ribbon-cat-btn,
.btn-copy-ribbon {
  border-radius: 9px;
}

.faq-question {
  min-height: 72px;
}

.form-status {
  margin: 4px 0 14px;
  padding: 13px 15px;
  background: #eef5f0;
  border: 1px solid rgba(11, 59, 39, 0.16);
  border-radius: 10px;
  color: #264f3a;
  font-size: 0.84rem;
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

.modal-content {
  border-radius: 22px;
  border-color: rgba(184, 138, 59, 0.3);
}

.form-control,
.btn-form-submit {
  border-radius: 10px;
}

/* 푸터와 고정 CTA */
.footer {
  padding-top: 72px;
  background: #03130c;
}

.footer-links-grid {
  gap: 10px 18px;
}

.sticky-bottom-cta {
  padding: 10px 20px;
  background: rgba(3, 20, 13, 0.94);
  border-top-color: rgba(228, 189, 114, 0.28);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
}

.sticky-cta-inner {
  max-width: 1040px;
}

.btn-sticky-call,
.btn-sticky-kakao,
.btn-sticky-order {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.btn-sticky-kakao {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-sticky-order {
  box-shadow: none;
}

@media (max-width: 1120px) {
  .container {
    padding-inline: 26px;
  }

  .navbar-inner {
    gap: 18px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .navbar .btn-tel-glowing {
    display: none;
  }
}

@media (max-width: 960px) {
  html {
    scroll-padding-top: 94px;
  }

  .navbar-inner {
    height: 70px;
  }

  .hero-cinematic {
    min-height: auto;
    padding-block: 72px 64px !important;
  }

  .hero-content-wrap {
    max-width: 760px;
  }

  .section,
  .section-fresh-promise,
  .section-process-timeline,
  .section-local-finder,
  .section-proof {
    padding-block: 78px;
  }

  .proof-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ribbon-tool-card {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: 74px;
  }

  .container {
    padding-inline: 20px;
  }

  .top-notice {
    min-height: 42px;
    padding: 7px 0;
    font-size: 0.69rem;
    line-height: 1.45;
  }

  .top-notice .container {
    padding-inline: 16px;
  }

  .notice-divider {
    margin-inline: 7px;
  }

  .navbar-inner {
    height: 64px;
    gap: 10px;
  }

  .brand-logo {
    min-width: 0;
  }

  .brand-name {
    font-size: 1.38rem;
  }

  .brand-sub {
    max-width: 138px;
    margin-top: 3px;
    font-size: 0.54rem;
    line-height: 1.35;
  }

  .navbar .btn-primary-tactile {
    min-width: 88px;
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.77rem;
  }

  .hero-cinematic {
    padding: 48px 0 54px !important;
    background-image:
      linear-gradient(180deg, rgba(3, 21, 13, 0.9), rgba(5, 29, 18, 0.89) 58%, rgba(4, 23, 15, 0.97)),
      url('../assets/hero_botanical_luxury.jpg');
    background-position: 58% center;
  }

  .hero-cinematic::after {
    display: none;
  }

  .hero-badge-wrap {
    gap: 7px;
    margin-bottom: 25px;
  }

  .pill-badge-luxury {
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .hero-badge-wrap .pill-badge-luxury:nth-child(3) {
    display: none;
  }

  .hero-headline {
    margin-bottom: 18px;
    font-size: clamp(2rem, 9.6vw, 2.35rem);
    line-height: 1.32;
    letter-spacing: -0.052em;
  }

  .hero-desc {
    margin-bottom: 24px;
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .hero-desc br {
    display: none;
  }

  .hero-btn-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 26px;
  }

  .hero-btn-group .btn-primary-tactile,
  .hero-btn-group .btn-tel-glowing {
    width: 100%;
    min-height: 50px;
  }

  .hero-direct-answer {
    margin-bottom: 22px;
    padding: 18px;
  }

  .hero-direct-answer-title {
    display: block;
    margin-bottom: 10px;
  }

  .answer-label {
    display: block;
    margin-bottom: 4px;
  }

  .hero-direct-answer-text {
    font-size: 0.88rem;
    line-height: 1.72;
  }

  .hero-pillars-grid {
    gap: 8px;
  }

  .hero-pillar-card {
    min-height: 66px;
    padding: 11px 13px;
  }

  .hero-pillar-card:nth-child(3) {
    display: none;
  }

  .hero-ticker-bar {
    display: block;
    padding: 13px 14px;
  }

  .hero-ticker-label {
    display: block;
    margin-bottom: 5px;
  }

  .section,
  .section-fresh-promise,
  .section-process-timeline,
  .section-local-finder,
  .section-proof {
    padding-block: 64px;
  }

  .section-head {
    margin-bottom: 34px;
    text-align: left;
  }

  .section-title,
  .fresh-promise-title {
    font-size: 2rem;
    line-height: 1.34;
  }

  .section-sub {
    font-size: 0.94rem;
  }

  .fresh-promise-banner {
    margin-inline: -4px;
    padding: 38px 22px;
    border-radius: 20px;
  }

  .matrix-card {
    padding: 18px;
  }

  .finder-card {
    padding: 24px 18px !important;
  }

  .finder-header {
    gap: 18px;
  }

  .finder-title {
    font-size: 1.42rem;
    line-height: 1.4;
  }

  .finder-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .finder-tab-btn {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 0.76rem;
  }

  .search-input {
    min-height: 52px;
    padding-left: 44px;
    font-size: 0.88rem;
  }

  .product-grid {
    gap: 16px;
  }

  .product-card {
    border-radius: 16px;
  }

  .product-body {
    padding: 20px;
  }

  .product-desc {
    min-height: 0;
  }

  .proof-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
  }

  .proof-stat {
    padding-inline: 10px;
  }

  .proof-stat:nth-child(2) {
    border-right: 0;
  }

  .proof-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .ribbon-tool-card {
    padding: 22px 16px;
  }

  .ribbon-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ribbon-cat-btn {
    min-height: 44px;
    padding: 8px;
    font-size: 0.77rem;
  }

  .ribbon-phrase-item {
    gap: 12px;
    padding: 15px;
  }

  .faq-question {
    min-height: 68px;
    padding: 18px;
    font-size: 0.94rem;
  }

  .faq-answer-inner {
    padding: 15px 18px 20px;
    font-size: 0.9rem;
  }

  .policy-alert-card {
    padding: 18px;
  }

  .footer {
    padding: 54px 0 32px;
  }

  .sticky-bottom-cta {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }

  .sticky-cta-info {
    display: none;
  }

  .sticky-cta-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 7px;
  }

  .btn-sticky-call,
  .btn-sticky-kakao,
  .btn-sticky-order {
    min-height: 48px;
    padding: 0 8px;
    justify-content: center;
    font-size: 0.78rem;
  }

  .modal-content {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 30px 20px 24px;
  }

  .modal-title {
    padding-right: 36px;
    font-size: 1.35rem;
  }

  .modal-content form > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
