:root {
  --bg: #fffdf8;
  --text: #2b2b2b;
  --muted: #666;
  --brand: #ff7a3d;
  --brand-dark: #ea6224;
  --brand-light: #fff1e8;
  --soft: #fff3eb;
  --line: #f1dfd4;
  --card-shadow: 0 12px 30px rgba(255, 122, 61, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 253, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(241, 223, 212, 0.5);
  box-shadow: 0 4px 24px rgba(255, 122, 61, 0.06);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
}

.brand-text small {
  font-size: 12px;
  color: var(--muted);
}

.menu {
  display: flex;
  gap: 20px;
  color: #525252;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger-box {
  width: 24px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--brand-dark);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
              background-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
              top 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .hamburger-inner {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-45deg);
  top: 0;
}

.menu a {
  padding: 4px 2px;
}

.menu a:hover {
  color: var(--brand-dark);
}

.nav-cta {
  padding: 8px 14px;
  font-size: 14px;
}

.hero {
  padding: 74px 0 54px;
  background: radial-gradient(circle at 15% 12%, #fff2e8 0, rgba(255, 242, 232, 0) 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.tag {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  background: var(--brand-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 16px 0 18px;
  color: var(--muted);
  max-width: 560px;
  font-size: 17px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-points span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  color: #4d4d4d;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.hero-metrics strong {
  color: var(--brand-dark);
  font-size: 22px;
}

.hero-metrics p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 48px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  letter-spacing: 0.5px;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 122, 61, 0.25);
}

.btn.primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 122, 61, 0.35);
}

.btn.ghost {
  border-color: var(--line);
  background: #fff;
}

.btn.ghost:hover {
  border-color: #deb7a3;
}

.btn.block {
  width: 100%;
  text-align: center;
}

.hero-main {
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  opacity: 0;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card h3 {
  margin: 0;
}

.hero-card-text {
  margin: 6px 0 14px;
  color: var(--muted);
}

.hero-list {
  margin: 0 0 16px;
  border-top: 1px dashed #e9d5c9;
  border-bottom: 1px dashed #e9d5c9;
  padding: 10px 0;
}

.hero-list p {
  margin: 0;
  padding: 4px 0;
}

.hero-logo {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 12px;
}

.section {
  padding: 68px 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1.2;
}

.section-head {
  margin-bottom: 22px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.6s ease;
}

.section-soft:hover {
  background: #fff8f4;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(255, 122, 61, 0.08);
  border-color: transparent;
}

.label {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  margin: 0 0 8px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 3px 10px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.price {
  color: var(--brand-dark);
  font-weight: 700;
  margin: 8px 0 10px;
}

.card-link {
  color: var(--brand-dark);
  font-weight: 600;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ingredient-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ingredient-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(255, 122, 61, 0.12);
}

.ingredient-item .icon {
  font-size: 42px;
  margin-bottom: 12px;
  line-height: 1;
}

.ingredient-item h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
}

.ingredient-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.adv-grid article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.2s ease;
}

.adv-grid article:hover {
  transform: translateY(-2px);
}

.adv-grid h3 {
  margin: 0 0 6px;
}

.adv-grid p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.steps span {
  display: inline-block;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.steps h3 {
  margin: 0 0 4px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.about p {
  margin: 0;
  max-width: 840px;
}

.reviews-wrapper {
  overflow: hidden;
  padding: 10px 0;
  position: relative;
  width: 100%;
}

.reviews-wrapper::before,
.reviews-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.reviews-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.reviews-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.reviews {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
  gap: 18px;
}

.reviews:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 这里的宽度对应一套卡片加间距的总宽度，由于有9张卡片，平移比例通过内容数量自动处理 */
    transform: translateX(calc(-50% - 9px));
  }
}

.reviews article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  width: 320px;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reviews article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 122, 61, 0.08);
}

.reviews p {
  margin: 0 0 10px;
}

.reviews span {
  color: var(--muted);
  font-size: 14px;
}

details {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

details[open] {
  box-shadow: 0 8px 24px rgba(255, 122, 61, 0.08);
  border-color: #deb7a3;
}

summary {
  cursor: pointer;
  font-weight: 600;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--brand-dark);
  font-size: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
}

.contact-info {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info p {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact-email {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 15px;
}

.contact-email strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
}

.contact-email a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-email a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #e3d2c7;
  border-radius: 10px;
  padding: 20px 12px 8px;
  background: #fdfbf9;
  font: inherit;
  transition: all 0.2s ease;
}

.form-group label {
  position: absolute;
  left: 12px;
  top: 14px;
  color: #999;
  font-size: 15px;
  pointer-events: none;
  transition: all 0.2s ease;
  transform-origin: left top;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.1);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-8px) scale(0.8);
  color: var(--brand-dark);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 122, 61, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.action-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 122, 61, 0.2);
}

.wechat-hover-wrap {
  position: relative;
}

.wechat-btn span {
  display: none;
}

.wechat-qrcode-popup {
  position: absolute;
  right: 60px;
  bottom: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  width: 160px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: right bottom;
}

.wechat-hover-wrap:hover .wechat-qrcode-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.qr-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--soft);
  border: 1px dashed #d0b8a8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-placeholder span {
  font-size: 12px;
  color: #a89486;
  text-align: center;
}

.wechat-qrcode-popup p {
  margin: 0;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}

.back-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer {
  border-top: 1px solid var(--line);
  color: #777;
  font-size: 14px;
  padding: 24px 0 32px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 16px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.footer-info p {
  margin: 0 0 6px;
}

.icp-link {
  color: #999;
  font-size: 13px;
  transition: color 0.2s ease;
}

.icp-link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer-back {
  color: var(--brand-dark);
  font-weight: 500;
}

/* 动画与过渡 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  color: #8c7365;
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-badges svg {
  color: #4CAF50;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--line); /* 骨架屏底色 */
  animation: skeleton-loading 1.5s infinite linear;
}

@keyframes skeleton-loading {
  0% { background-color: var(--line); }
  50% { background-color: #f6efe9; }
  100% { background-color: var(--line); }
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0; /* 加载完成前隐藏 */
}

.card-img.loaded {
  opacity: 1; /* 加载完成后显示 */
  animation: none; /* 停止骨架动画 */
}

.card:hover .card-img.loaded {
  transform: scale(1.05);
}

.quick-view-btn {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 0;
  border: none;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: bottom 0.3s ease;
}

.card:hover .quick-view-btn {
  bottom: 0;
}

.quick-view-btn:hover {
  background: var(--brand);
  color: #fff;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: #fff;
  width: min(800px, 92%);
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--soft);
  color: var(--brand-dark);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.modal-gallery {
  width: 100%;
  height: 100%;
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
}

.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-info h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--text);
}

.modal-info .price {
  font-size: 22px;
  color: var(--brand);
  font-weight: bold;
  margin-bottom: 20px;
}

.modal-desc {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
  font-size: 15px;
}

.modal-features {
  margin-bottom: 32px;
  background: var(--soft);
  padding: 16px 20px;
  border-radius: 12px;
}

.modal-features h3 {
  font-size: 14px;
  margin: 0 0 12px;
  color: var(--brand-dark);
}

.modal-features ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.modal-info ul li {
  margin-bottom: 4px;
}

.modal-info .btn {
  margin-top: auto;
}

.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -20px);
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  text-align: center;
  min-width: 240px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  background: #c74222;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #e3d2c7;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d0b8a8;
}

/* Hide scrollbar for modal */
.modal-info::-webkit-scrollbar {
  display: none;
}
.modal-info {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

@media (max-width: 1080px) {
  .menu {
    gap: 14px;
  }

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

  .adv-grid,
  .steps,
  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .modal-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .modal-gallery img {
    aspect-ratio: 4/3;
    border-radius: 16px 16px 0 0;
  }
  
  .modal-info {
    padding: 24px;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid transparent;
  }

  .menu.open {
    height: auto;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .section {
    padding: 56px 0;
  }

  .section h2 {
    font-size: 28px;
  }

  .cards,
  .adv-grid,
  .steps,
  .reviews,
  .contact-wrap,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .brand-text small {
    display: none;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-actions {
    right: 12px;
    bottom: 78px;
  }

  .back-top {
    right: 12px;
    bottom: 20px;
  }
}
