:root {
  --primary: #bb9c7a;
  --header-bg: #f7dbe6;
  --accent: #8c5d44;
  --accent-dark: #6f4631;
  --text: #3f2d23;
  --muted: #7f6759;
  --surface: #fff9f7;
  --surface-strong: #fff1f6;
  --border: rgba(111, 70, 49, 0.18);
  --shadow: 0 18px 45px rgba(111, 70, 49, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fdf4ef 0%, var(--primary) 100%);
  min-height: 100vh;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(111, 70, 49, 0.12);
}

.header-inner,
.section,
.footer-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: auto;
  height: 54px;
  max-width: 180px;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav a:hover,
.nav a.active {
  background: rgba(255, 255, 255, 0.68);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.hero,
.hero-follow {
  position: relative;
  min-height: clamp(300px, 52vw, 560px);
  overflow: hidden;
}

.hero-follow img {
  width: 100%;
  height: clamp(300px, 52vw, 560px);
  object-fit: cover;
  display: block;
}

.whatsapp-cta {
  position: absolute;
  z-index: 2;
  left: clamp(120px, 16vw, 240px);
  bottom: clamp(40px, 10%, 72px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 18px 42px;
  background: #c6bebb;
  color: #ffffff;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.whatsapp-cta:hover {
  transform: translateY(-2px);
  background: #676c75;
}

.latest-news {
  width: 100%;
  background: linear-gradient(180deg, rgba(253, 244, 239, 0.95) 0%, rgba(187, 156, 122, 0.18) 100%);
  padding: 52px 0 72px;
  border-top: 1px solid rgba(111, 70, 49, 0.12);
  border-bottom: 1px solid rgba(111, 70, 49, 0.12);
}

.latest-news-head {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.latest-news-head img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.latest-news-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--accent-dark);
  letter-spacing: 0.06em;
}

.latest-news-stage {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.latest-news-track {
  overflow: hidden;
  padding: 4px 2px;
}

.latest-news-list {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 22px;
  transition: transform 0.55s ease;
}

.latest-news-card {
  position: relative;
  flex: 0 0 auto;
  width: 360px;
  display: block;
  background: #fff9f7;
  border: 1px solid rgba(111, 70, 49, 0.16);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(111, 70, 49, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.latest-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(111, 70, 49, 0.18);
}

.latest-news-card img {
  width: 100%;
  aspect-ratio: 1242 / 1558;
  height: auto;
  object-fit: cover;
  display: block;
}

.news-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(111, 70, 49, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent-dark);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(111, 70, 49, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.news-nav:hover {
  transform: translateY(-1px);
  background: #fff;
}

@media (max-width: 860px) {
  .latest-news-list {
    flex-wrap: nowrap;
    width: max-content;
  }
  .latest-news-card {
    width: 320px;
  }
}

@media (max-width: 560px) {
  .latest-news-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .news-nav {
    width: 100%;
    max-width: 200px;
    justify-self: center;
    border-radius: 999px;
    height: 44px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

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

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 2;
  min-width: 350px;
  padding: 16px 34px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: transparent;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-cta-left {
  left: clamp(56px, 8vw, 120px);
  top: 50%;
  min-width: 480px;
  padding: 28px 42px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  transform: translateY(-50%);
}

.hero-cta-left:hover {
  transform: translateY(calc(-50% - 2px));
}

.hero-cta-bottom {
  left: 50%;
  bottom: clamp(36px, 9%, 64px);
  transform: translateX(-50%);
}

.hero-cta-bottom:hover {
  transform: translateX(-50%) translateY(-2px);
}

.main {
  padding: 60px 0 90px;
}

.section + .section {
  margin-top: 32px;
}

.panel {
  background: rgba(255, 249, 247, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-inner {
  padding: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.8;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(111, 70, 49, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(111, 70, 49, 0.08);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.service-banner {
  max-height: 380px;
}

.service-stack {
  display: grid;
  gap: 26px;
}

.service-item {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
}

.service-item.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
}

.service-item.reverse .service-visual {
  order: -1;
}

.service-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

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

.service-copy {
  padding: 14px 0;
}

.service-copy h3 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.service-copy p {
  margin: 0 0 16px;
  line-height: 1.8;
  color: var(--muted);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-meta span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(247, 219, 230, 0.55);
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.product-grid .card {
  padding: 0;
  overflow: hidden;
}

.product-grid img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

.product-body {
  padding: 20px 22px 24px;
}

.site-footer {
  padding: 0;
  background: linear-gradient(180deg, #f7dbe6 0%, #bb9c7a 100%);
  border-top: 1px solid rgba(111, 70, 49, 0.12);
  color: #3e2a1d;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 20px;
  font-size: 0.96rem;
  text-align: left;
  color: inherit;
}

.footer-inner p {
  margin: 0;
}

.footer-brand-block {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo-mark {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #3e2a1d;
}

.footer-tagline {
  line-height: 1.8;
  color: #574334;
  max-width: 22em;
}

.footer-col-title {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #3e2a1d;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #bb9c7a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.footer-nav,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.footer-socials img {
  width: 35px;
  height: 35px;
  display: block;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
}

.footer-socials li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-contact a,
.footer-nav a,
.footer-social {
  color: #4a3728;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact a:hover,
.footer-nav a:hover,
.footer-social:hover {
  color: #fff8f3;
  transform: translateY(-1px);
}

.footer-nav a.active,
.footer-nav a[aria-current="page"] {
  color: #3e2a1d;
  font-weight: 700;
  position: relative;
}

.footer-nav a.active::after,
.footer-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #bb9c7a;
  margin-top: 4px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 248, 243, 0.45);
  font-size: 0.88rem;
  color: #3e2a1d;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 248, 243, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 18px rgba(111, 70, 49, 0.08);
}

.footer-social span {
  font-weight: 700;
  color: #3e2a1d;
  letter-spacing: 0.03em;
}

.footer-social small {
  color: #574334;
  font-size: 0.85rem;
}

.footer-social.whatsapp:hover {
  background: #25d366;
  border-color: rgba(255, 255, 255, 0.8);
}

.footer-social.threads:hover,
.footer-social.instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: rgba(255, 255, 255, 0.8);
}

.footer-social.facebook:hover {
  background: #1877f2;
  border-color: rgba(255, 255, 255, 0.8);
}

.footer-social:hover span,
.footer-social:hover small {
  color: #fff;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(62, 42, 29, 0.2);
  text-align: center;
  color: #3e2a1d;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .footer-brand-block {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 620px) {
  .footer-brand-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-inner {
    padding: 44px 0 18px;
  }
}

@media (max-width: 960px) {
  .grid-2,
  .grid-3,
  .service-item,
  .service-item.reverse {
    grid-template-columns: 1fr;
  }

  .service-item.reverse .service-visual {
    order: initial;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
  }

  .nav {
    justify-content: center;
  }

  .panel-inner {
    padding: 26px 20px;
  }

  .hero-cta {
    min-width: 240px;
    padding: 13px 24px;
    font-size: 1.15rem;
  }

  .hero-cta-left {
    left: 28px;
    min-width: 290px;
    padding: 22px 28px;
    font-size: 1.3rem;
  }

  .hero-cta-bottom {
    bottom: 28px;
  }
}
