/* ============================================================
   首页「浪漫满屋」页面级样式
   设计语言：深色导航 + 彩带按钮 + 粉金编辑排版 + 巨型字母甜品墙
   断点：移动优先；≥640px 平板；≥920px 桌面；≥1280px 大屏
   ============================================================ */

/* ---------- 导航皮肤：深色 + 彩带 ---------- */
.page-index .site-nav { color: #fff; background: linear-gradient(rgba(24, 20, 22, 0.5), rgba(24, 20, 22, 0)); }

.page-index .site-nav.nav-solid {
  background: rgba(30, 27, 30, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.page-index .nav-list { align-items: flex-end; }

.ribbon {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
  padding: 13px 20px 19px;
  font-size: 15px;
}

.ribbon.r-green { background: linear-gradient(160deg, #9ccb62, #7cb23e); }
.ribbon.r-blue { background: linear-gradient(160deg, #55aec7, #3d8ba3); }
.ribbon.r-rose { background: linear-gradient(160deg, #d97b86, #c05a66); }
.ribbon.r-orange { background: linear-gradient(160deg, #eeb052, #dd9227); }

.ribbon.current { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9); }

.page-index .sub { top: calc(100% - 7px); }

.page-index .nav-toggle { color: #fff; }

@media (max-width: 919px) {
  .page-index .nav-list { background: #f7f3ec; color: var(--ink); }
  .page-index .ribbon {
    clip-path: none;
    padding: 15px 4px;
    color: var(--ink);
  }
  .ribbon.current { box-shadow: none; color: var(--pink-deep); }
  .ribbon.r-green, .ribbon.r-blue, .ribbon.r-rose, .ribbon.r-orange { background: none; }
  .page-index .nav-list > li.current-marker, .page-index .nav-list > li:first-child .ribbon { color: var(--pink-deep); }
}

/* ---------- Hero 轮播 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 120px 5% 96px;
  isolation: isolate;
}

.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.3s ease;
  z-index: -2;
}

.hero .slide.active { opacity: 1; animation: kenburns 7s ease-out forwards; }

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.1) translate(1.6%, -1.2%); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(31, 24, 28, 0.42), rgba(31, 24, 28, 0.16) 42%, rgba(31, 24, 28, 0.55));
}

.hero-logo {
  position: absolute;
  top: clamp(84px, 12vh, 130px);
  left: clamp(16px, 5vw, 72px);
  width: clamp(130px, 18vw, 210px);
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.28));
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-logo-en {
  position: absolute;
  top: clamp(84px, 12vh, 130px);
  left: clamp(16px, 5vw, 72px);
  margin-top: clamp(126px, 18vw, 206px);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, 0.85);
  animation: floaty 5.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: rgba(255, 255, 255, 0.9);
}

.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 11vw, 108px);
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  line-height: 1.15;
  margin: 8px 0 4px;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  margin: 6px 0 16px;
}

.hero-divider i { width: clamp(44px, 8vw, 90px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-divider i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-divider svg { width: 34px; height: 34px; }

.hero-slogan { font-size: clamp(15px, 2.2vw, 19px); letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.92); }

.hero-actions {
  margin-top: clamp(26px, 4vh, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.hero-dots {
  position: absolute;
  bottom: 104px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: 12px;
}

.hero-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.6px solid rgba(255, 255, 255, 0.9);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dots .dot.active { background: #fff; transform: scale(1.2); }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85);
}

.scroll-cue .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-cue .mouse span {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: #fff;
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 639px) {
  .hero-dots { bottom: 118px; }
  .hero-logo, .hero-logo-en { display: none; }
}

@media (min-width: 640px) and (max-width: 919px) {
  .hero-logo { width: 140px; }
  .hero-logo-en { margin-top: 140px; }
}

/* ---------- 品牌介绍 ---------- */
.brand-sec { background: var(--paper); }

.brand-grid { display: grid; gap: 48px; align-items: center; }

.brand-copy h2 {
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.32;
  margin: 10px 0 18px;
}

.brand-copy h2 em {
  font-style: normal;
  color: var(--pink-deep);
  position: relative;
}

.brand-copy h2 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(243, 184, 196, 0.4);
  z-index: -1;
  border-radius: 4px;
}

.brand-copy p { color: var(--ink-soft); margin: 10px 0; }
.brand-copy strong { color: var(--ink); }

.brand-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 26px 0;
}

.brand-stats li {
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 26px rgba(66, 44, 40, 0.08);
  border: 1px solid rgba(201, 160, 106, 0.18);
}

.brand-stats b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--gold-deep);
  line-height: 1.2;
}

.brand-stats span { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.08em; }

.brand-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.brand-visual { position: relative; padding-bottom: 46px; }

.brand-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

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

.brand-card {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: clamp(120px, 34%, 190px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid #fff;
  transform: rotate(3deg);
}

.brand-badge {
  position: absolute;
  top: -24px;
  right: 10%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold), var(--gold-deep));
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  box-shadow: 0 12px 26px rgba(201, 160, 106, 0.45);
  transform: rotate(8deg);
}

.brand-badge svg { width: 34px; height: 34px; }
.brand-badge span { font-size: 11px; letter-spacing: 0.12em; }

@media (min-width: 920px) {
  .brand-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .brand-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 特色甜品墙 ---------- */
.desserts-sec {
  background: linear-gradient(155deg, #f9c5cf 0%, #f3c2c6 38%, #e9cdb9 100%);
  overflow: hidden;
  scroll-margin-top: 40px;
}

.desserts-sec .sec-tag { color: #a86a4e; }
.desserts-sec .sec-sub { color: rgba(90, 58, 48, 0.75); }

.dessert-list { display: grid; gap: clamp(56px, 8vw, 96px); margin-top: 20px; }

.dessert {
  position: relative;
  display: grid;
  gap: 22px;
  align-items: center;
}

.dessert .letter {
  position: absolute;
  top: -0.42em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(120px, 24vw, 300px);
  line-height: 1;
  color: rgba(201, 160, 106, 0.4);
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.dessert:nth-child(odd) .letter { right: -0.04em; }
.dessert:nth-child(even) .letter { left: -0.04em; }

.dessert-media {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dessert-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s ease; }
.dessert:hover .dessert-media img { transform: scale(1.05); }

.dessert-no {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(38, 32, 30, 0.55);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  backdrop-filter: blur(4px);
}

.dessert-body { position: relative; z-index: 1; }

.dessert-body h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 34px);
  letter-spacing: 0.06em;
}

.dessert-body h3 i {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(122, 74, 50, 0.65);
  margin: 6px 0 12px;
  text-transform: uppercase;
}

.dessert-body p {
  color: rgba(78, 48, 42, 0.86);
  max-width: 560px;
  background: rgba(255, 248, 240, 0.5);
  border-left: 3px solid var(--gold-deep);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  backdrop-filter: blur(2px);
}

@media (min-width: 920px) {
  .dessert { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .dessert:nth-child(even) .dessert-media { order: 2; }
  .dessert:nth-child(even) .dessert-body { order: 1; text-align: right; }
  .dessert:nth-child(even) .dessert-body p { border-left: 0; border-right: 3px solid var(--gold-deep); border-radius: 10px 0 0 10px; margin-left: auto; }
}

/* ---------- 小屋动态 ---------- */
.news-sec { background: var(--cream); scroll-margin-top: 60px; }

.news-grid { display: grid; gap: 22px; }

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(66, 44, 40, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(66, 44, 40, 0.16); }

.news-card figure { overflow: hidden; }
.news-card figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover figure img { transform: scale(1.06); }

.news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.news-tag {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  border: 1px solid rgba(201, 160, 106, 0.5);
  border-radius: 999px;
  padding: 3px 12px;
}

.news-body h3 { font-size: 18px; letter-spacing: 0.04em; }
.news-body p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }

.news-more { color: var(--pink-deep); font-weight: 600; font-size: 14px; letter-spacing: 0.05em; }
.news-more:hover { color: var(--rose); }

@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 联系我们 ---------- */
.contact-sec {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.028) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, #2c2a33, #1f1e26);
  color: #eee7df;
  scroll-margin-top: 60px;
}

.contact-sec .sec-tag { color: var(--gold); }
.contact-sec h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 10px 0 12px; }
.contact-lead { color: #b6afa6; max-width: 460px; }

.contact-grid { display: grid; gap: 48px; align-items: center; }

.contact-list { display: grid; gap: 20px; margin: 26px 0 30px; }

.contact-list li { display: flex; gap: 16px; align-items: flex-start; }

.contact-list .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(230, 196, 138, 0.14);
  color: var(--gold);
  border: 1px solid rgba(230, 196, 138, 0.35);
}

.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: 15px; letter-spacing: 0.06em; color: #fff; }
.contact-list span { color: #b6afa6; font-size: 14px; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-actions .btn-ghost { color: var(--gold); border-color: rgba(230, 196, 138, 0.6); }
.contact-actions .btn-ghost:hover { background: rgba(230, 196, 138, 0.12); }

.contact-card {
  justify-self: center;
  width: min(100%, 380px);
  border-radius: 20px;
  padding: 38px 30px;
  text-align: center;
  background: linear-gradient(160deg, rgba(243, 184, 196, 0.16), rgba(230, 196, 138, 0.1));
  border: 1px solid rgba(243, 184, 196, 0.3);
  color: var(--pink);
}

.contact-card svg { width: 120px; height: 120px; margin-inline: auto; }
.contact-card p { margin-top: 14px; color: #e8ddd2; line-height: 2; letter-spacing: 0.06em; font-size: 14.5px; }

@media (min-width: 920px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; }
}
