/* =================================================================
   YUE YUE XING LIMITED — Nordic Art Gallery
   Design System: Scandinavian minimalism × Luxury gallery aesthetic
   ================================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&family=Noto+Sans+TC:wght@300;400;500;600&family=Noto+Serif+TC:wght@300;400;500;600&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Palette — warm Nordic greys & naturals */
  --bg:        #F6F3EC;   /* 米白 warm off-white */
  --bg-alt:    #EFEAE0;   /* soft sand */
  --bg-deep:   #E7E1D4;   /* deeper sand */
  --paper:     #FBF9F4;   /* card paper */
  --white:     #FFFFFF;

  --ink:       #1E1E1C;   /* charcoal */
  --ink-soft:  #45433F;   /* secondary text */
  --muted:     #8C857A;   /* tertiary / captions */
  --line:      #D8D2C5;   /* hairline borders */
  --line-soft: #E6E0D3;

  --accent:    #9A8C7B;   /* warm taupe */
  --accent-dk: #6E6357;   /* deep taupe */
  --sage:      #8A9A87;   /* muted sage */

  /* Type */
  --serif: 'Cormorant Garamond', 'Noto Serif TC', Georgia, serif;
  --sans:  'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & rhythm */
  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: .5s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent-dk);
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); font-weight: 300; }
.serif-italic { font-family: var(--serif); font-style: italic; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section--tight { padding: clamp(50px, 6vw, 80px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }
.section--ink { background: var(--ink); color: #ECE7DC; }
.divider { height: 1px; background: var(--line); border: 0; }
.center { text-align: center; }
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 2rem; } .mt-l { margin-top: 3.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t) var(--ease), padding var(--t) var(--ease), box-shadow var(--t) var(--ease);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px var(--gutter);
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-header.scrolled .brand__mark,
.site-header.scrolled .brand__name { color: var(--ink); }
.site-header.scrolled .nav a,
.site-header.scrolled .lang-toggle { color: var(--ink); }

/* Solid header variant — used on inner pages (light hero behind) */
.site-header--solid {
  background: rgba(246, 243, 236, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-header--solid .brand__mark,
.site-header--solid .brand__name { color: var(--ink); }
.site-header--solid .nav a,
.site-header--solid .lang-toggle { color: var(--ink); }
.site-header--solid .lang-toggle { border-left-color: var(--line); }
.site-header--solid .menu-btn span { background: var(--ink); }

/* Logo */
.brand { display: flex; align-items: center; gap: 12px; }
.brand > span { display: flex; flex-direction: column; line-height: 1.1; }
.brand__mark { width: 40px; height: 40px; color: #FBF9F4; transition: color var(--t) var(--ease); flex-shrink: 0; }
.site-header.scrolled .brand__mark { color: var(--ink); }
.brand__name {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: #FBF9F4;
  transition: color var(--t) var(--ease); line-height: 1;
}
.brand__sub { font-size: .58rem; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 42px); }
.nav a {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: #FBF9F4; font-weight: 400; position: relative; padding: 4px 0;
  transition: color var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: currentColor; transition: width var(--t) var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { opacity: 1; }

/* Lang toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; letter-spacing: .12em; color: #FBF9F4;
  padding-left: clamp(20px, 2vw, 32px); border-left: 1px solid rgba(251,249,244,.3);
  transition: color var(--t) var(--ease);
}
.lang-toggle button { padding: 2px 4px; opacity: .55; transition: opacity .2s; letter-spacing: .08em; }
.lang-toggle button.active { opacity: 1; }
.lang-toggle button:hover { opacity: 1; }
.site-header.scrolled .lang-toggle { border-left-color: var(--line); }

/* Mobile menu button */
.menu-btn { display: none; width: 30px; height: 22px; position: relative; }
.menu-btn span { position: absolute; left: 0; height: 1.5px; width: 100%; background: #FBF9F4; transition: var(--t) var(--ease); }
.site-header.scrolled .menu-btn span { background: var(--ink); }
.menu-btn span:nth-child(1) { top: 2px; }
.menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-btn span:nth-child(3) { bottom: 2px; }
.menu-btn.open span:nth-child(1) { top: 50%; transform: rotate(45deg); background: var(--ink); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { bottom: auto; top: 50%; transform: rotate(-45deg); background: var(--ink); }

/* Mobile nav drawer (hidden by default on all viewports; only opens on mobile) */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  padding: 80px var(--gutter) 40px;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.mobile-nav.open { transform: translateY(0); visibility: visible; pointer-events: auto; transition: transform .5s var(--ease), visibility 0s; }
.mobile-nav a { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); padding: 10px 0; }
.mobile-nav .lang-toggle-mobile { margin-top: 30px; font-size: 1rem; color: var(--muted); border: none; padding: 0; display: inline-flex; gap: 8px; align-items: center; }
.mobile-nav .lang-toggle-mobile button { color: var(--muted); opacity: .55; }
.mobile-nav .lang-toggle-mobile button.active { color: var(--ink); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #FBF9F4; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(120deg, #2b2a28 0%, #3a3833 60%, #4a463e 100%);
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,18,.55) 0%, rgba(20,19,18,.2) 35%, rgba(20,19,18,.7) 100%);
}
.hero__inner { max-width: 820px; padding-top: 80px; }
.hero .eyebrow { color: rgba(251,249,244,.8); margin-bottom: 28px; }
.hero h1 { color: #FBF9F4; font-weight: 300; margin-bottom: 8px; }
.hero h1 em { font-style: italic; color: #E8DFD0; font-weight: 400; }
.hero .hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(251,249,244,.82); max-width: 540px; margin-top: 18px; font-weight: 300; }
.hero__cta { margin-top: 44px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(251,249,244,.6); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll::after { content: ''; width: 1px; height: 44px; background: rgba(251,249,244,.4); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0%{ transform: scaleY(0); transform-origin: top; } 50%{ transform: scaleY(1); transform-origin: top; } 51%{ transform-origin: bottom; } 100%{ transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  padding: 16px 34px; border: 1px solid var(--ink); color: var(--ink);
  background: transparent; transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; }
.btn:hover { color: #FBF9F4; }
.btn:hover::before { transform: translateY(0); }
.btn--light { border-color: rgba(251,249,244,.6); color: #FBF9F4; }
.btn--light::before { background: #FBF9F4; }
.btn--light:hover { color: var(--ink); }
.btn--solid { background: var(--ink); color: #FBF9F4; border-color: var(--ink); }
.btn--solid::before { background: var(--accent-dk); }
.btn--solid:hover { color: #FBF9F4; border-color: var(--accent-dk); }
.btn--sm { padding: 12px 24px; font-size: .72rem; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ---------- Section heading ---------- */
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: clamp(40px, 6vw, 70px); }
.sec-head .eyebrow { color: var(--accent-dk); }
.sec-head p { max-width: 560px; color: var(--ink-soft); }
.sec-head--left { align-items: flex-start; text-align: left; }

/* ---------- Featured / Product grid ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px) clamp(24px, 2.4vw, 40px);
}
.product-card { display: flex; flex-direction: column; }
.product-card__media {
  position: relative; overflow: hidden; background: var(--bg-deep);
  aspect-ratio: 4 / 5; margin-bottom: 22px;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), opacity .6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(30,30,28,.18));
  opacity: 0; transition: opacity .5s var(--ease);
}
.product-card:hover .product-card__media::after { opacity: 1; }
.product-card__overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  display: flex; justify-content: center; gap: 12px;
  transform: translateY(20px); opacity: 0; transition: var(--t) var(--ease);
}
.product-card:hover .product-card__overlay { transform: translateY(0); opacity: 1; }
.product-card__cat { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.product-card__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin-bottom: 4px; line-height: 1.2; }
.product-card__name-en { font-size: .82rem; color: var(--muted); letter-spacing: .06em; font-style: italic; font-family: var(--serif); }
.product-card__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-card__size { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.product-card__price { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }

/* ---------- Brand story ---------- */
.brand-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.brand-story__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-deep); }
.brand-story__media img { width: 100%; height: 100%; object-fit: cover; }
.brand-story__text .eyebrow { margin-bottom: 24px; }
.brand-story__text h2 { margin-bottom: 28px; }
.brand-story__text p { color: var(--ink-soft); margin-bottom: 18px; }
.brand-story__signature { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent-dk); margin-top: 30px; }

/* ---------- Why choose us ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 50px); }
.feature { text-align: center; padding: 0 10px; }
.feature__icon { width: 48px; height: 48px; margin: 0 auto 22px; color: var(--accent-dk); }
.feature__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1; }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { font-size: .9rem; color: var(--muted); }

/* ---------- Split feature / quote ---------- */
.quote-band {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh;
}
.quote-band__media { overflow: hidden; }
.quote-band__media img { width: 100%; height: 100%; object-fit: cover; }
.quote-band__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 7vw, 100px); background: var(--ink); color: #ECE7DC; }
.quote-band__text .eyebrow { color: var(--sage); margin-bottom: 24px; }
.quote-band__text blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 300; line-height: 1.35; font-style: italic; }
.quote-band__text cite { font-style: normal; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(236,231,220,.6); margin-top: 30px; }

/* ---------- Category filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px 4px; justify-content: center; margin-bottom: clamp(40px, 5vw, 60px); border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.filter-btn {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 8px 20px; position: relative; transition: color .3s var(--ease);
}
.filter-btn::after { content: ''; position: absolute; bottom: -25px; left: 20px; right: 20px; height: 1.5px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.filter-btn:hover, .filter-btn.active { color: var(--ink); }
.filter-btn.active::after { transform: scaleX(1); }
.filter-count { font-size: .66rem; vertical-align: super; opacity: .5; margin-left: 2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(150px, 20vh, 220px) 0 clamp(50px, 7vw, 90px); text-align: center; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { max-width: 600px; margin: 0 auto; color: var(--ink-soft); }
.breadcrumb { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 10px; opacity: .5; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.product-detail__media { position: sticky; top: 100px; }
.product-detail__media-main { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-deep); }
.product-detail__media-main img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__info .product-card__cat { margin-bottom: 14px; }
.product-detail__info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 6px; }
.product-detail__info .name-en { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--muted); margin-bottom: 28px; display: block; }
.detail-price { font-family: var(--serif); font-size: 2rem; color: var(--ink); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; margin-bottom: 36px; }
.spec-list dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.spec-list dd { font-size: 1rem; color: var(--ink); font-weight: 400; }
.detail-desc { color: var(--ink-soft); margin-bottom: 36px; line-height: 1.9; }
.detail-desc p + p { margin-top: 14px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-note { margin-top: 26px; font-size: .82rem; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.detail-note li { display: flex; align-items: center; gap: 10px; }
.detail-note li::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* Related products */
.related { margin-top: clamp(70px, 9vw, 120px); }

/* ---------- About page ---------- */
.about-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.about-intro h2 { margin-bottom: 26px; }
.about-intro p { color: var(--ink-soft); margin-bottom: 18px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 60px); }
.value-block { text-align: left; }
.value-block__num { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); letter-spacing: .1em; margin-bottom: 18px; }
.value-block h3 { margin-bottom: 14px; }
.value-block p { color: var(--muted); font-size: .95rem; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink); line-height: 1; }
.stat__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); }
.contact-info h2 { margin-bottom: 30px; }
.contact-list { display: flex; flex-direction: column; gap: 30px; }
.contact-item { display: flex; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item__icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--accent-dk); }
.contact-item__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.contact-item__label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-item__value { font-size: 1.05rem; color: var(--ink); font-weight: 400; }
.contact-item__value a:hover { color: var(--accent-dk); }
.contact-cta { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.contact-form { background: var(--paper); padding: clamp(30px, 4vw, 50px); border: 1px solid var(--line); }
.contact-form h3 { margin-bottom: 24px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 10px 0; font-family: var(--sans); font-size: 1rem; color: var(--ink); font-weight: 300;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #1A1917; color: #B8B1A4; padding: clamp(60px, 7vw, 90px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 60px); padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand__name { color: #ECE7DC; }
.footer-brand .brand__mark { color: #ECE7DC; }
.footer-brand p { margin-top: 22px; font-size: .9rem; color: #8C857A; max-width: 280px; line-height: 1.8; }
.footer-col h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #ECE7DC; margin-bottom: 22px; font-weight: 500; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: .9rem; color: #8C857A; transition: color .3s var(--ease); }
.footer-col a:hover { color: #ECE7DC; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; font-size: .78rem; color: #6E675C; flex-wrap: wrap; gap: 12px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); }
.footer-social a:hover { border-color: #ECE7DC; color: #ECE7DC; }
.footer-social svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.4; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 28px rgba(37,211,102,.4); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2.2s ease-out infinite; }
@keyframes waPulse { 0%{ transform: scale(1); opacity: .7; } 100%{ transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ---------- Empty / no results ---------- */
.no-results { text-align: center; padding: 60px 0; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 94px; z-index: 89; width: 44px; height: 44px;
  background: var(--ink); color: #FBF9F4; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}
@media (max-width: 860px) {
  .nav, .lang-toggle { display: none; }
  .menu-btn { display: block; }

  .brand-story, .product-detail, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-detail__media { position: static; }
  .quote-band { grid-template-columns: 1fr; }
  .quote-band__media { min-height: 50vh; order: 2; }
  .quote-band__text { order: 1; }
  .spec-list { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 120px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .btn { padding: 14px 26px; }
  .wa-float { width: 50px; height: 50px; right: 18px; bottom: 18px; }
  .to-top { right: 18px; bottom: 80px; }
}

/* ---------- Print / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
