/* ===================================================
   CSS Variables — HUYI CARD 中文版
   =================================================== */
:root {
  --color-wood-dark: #3D2510;
  --color-wood: #6B4226;
  --color-wood-light: #C4A882;
  --color-gold: #C9A84C;
  --color-bark: #3D2B1F;
  --color-cream: #F5F0E6;
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;
  --color-wood-pale: #FDFAF3;
  --color-gray100: #F7F5F0;
  --color-gray200: #EDE9E3;
  --color-gray300: #D8D2C8;
  --color-gray400: #B8B0A4;
  --color-gray500: #7A7168;
  --color-gray600: #5D5752;
  --color-gray700: #4A4540;
  --color-gray800: #2E2B28;
  --font-heading: 'Noto Sans JP', sans-serif;
  --font-body:    'Noto Sans JP', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.14);
  --space-xxs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-xxl: 3rem;
  --space-xxxl:4rem;
  --max-width: 1180px;
}

/* ===================================================
   Reset & Base
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-bark);
  background: var(--color-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  ;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: var(--color-wood); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.35; color: var(--color-bark); margin-bottom: 0.5em; }

/* ===================================================
   Utility
   =================================================== */
.bg-pale       { background: var(--color-wood-pale); }
.bg-offwhite   { background: #FAF8F5; }
.bg-offwhite { background: #FAF8F3; }
.bg-cream   { background: var(--color-cream); }

/* ===================================================
   Scrollbar
   =================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-gray100); }
::-webkit-scrollbar-thumb { background: var(--color-wood-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-wood); }

/* ===================================================
   Navbar
   =================================================== */
.navbar {
  z-index: 10000;
  position: relative;
  background: rgba(45,25,10,1);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,101,20,.4);
  box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.navbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.navbar-logo { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--color-bark); display: flex; align-items: center; gap: .5rem; }
.navbar-logo span { color: var(--color-gold); }
.logo-img { height: 50px; width: auto; }
.navbar-nav { display: flex; align-items: center; gap: .5rem; list-style: none; }
.nav-item {
  position: relative; position: relative; }
.nav-link {
  display: block; padding: .5rem 1rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.95);
  transition: color .2s, background .2s, transform .2s;
  position: relative;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.15); transform: translateY(-1px); text-decoration: none; }
.nav-link.active { color: #fff; font-weight: 600; }
.nav-link.active::before {
  content: ''; position: absolute; bottom: -1px; left: 1rem; right: 1rem;
  height: 2px; background: var(--color-gold); border-radius: 1px;
}
.btn.nav-cta {
  background: #C9A84C; color: #fff !important;
  padding: .6rem 1.5rem !important; border-radius: 50px !important;
  font-weight: 700 !important; font-size: .85rem !important;
  border: none !important; box-shadow: 0 3px 10px rgba(61,43,31,.2) !important;
  transition: all .3s !important; position: relative; overflow: hidden;
  text-decoration: none !important;
}
.btn.nav-cta:hover { background: #B8962E !important; transform: translateY(-2px) !important; }

/* Dropdown caret */
.nav-item:has(.dropdown-menu) > .nav-link { position: relative; padding-right: 1.4rem !important; white-space: nowrap; }
.nav-item:has(.dropdown-menu) > .nav-link::after {
  content: '▾'; display: inline-block; position: absolute;
  right: .5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.2em; line-height: 1; opacity: 0.85; pointer-events: none;
}

/* Dropdown menu */
.nav-item .dropdown-menu {
  z-index: 9999;
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--color-white); border: 1px solid var(--color-gray200);
  border-top: 3px solid var(--color-gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 8px 30px rgba(61,43,31,.15);
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: .75rem; z-index: 100;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s; pointer-events: none;
}
.nav-item:hover .dropdown-menu { display: block; opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Dropdown multi-column layout */
.dropdown-inner { display: flex; flex-wrap: wrap; gap: .5rem; }
.dropdown-col { flex: 1 1 160px; min-width: 150px; }
.dropdown-col h4 { font-size: .8rem; font-weight: 700; color: var(--color-bark); margin: 0 0 .6rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(139,105,20,.2); }
.dropdown-col a { display: block; font-size: .82rem; color: var(--color-gray700); padding: .38rem 0; transition: color .15s, padding-left .15s; border-radius: 4px; }
.dropdown-col a:hover { color: var(--color-wood); padding-left: 4px; text-decoration: none; }

.dropdown-item {
  display: block; padding: .7rem 1rem; border-radius: var(--radius-sm);
  font-size: .85rem; color: var(--color-gray700);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  margin-bottom: .25rem;
}
.dropdown-item:hover { background: var(--color-wood-pale); color: var(--color-bark); padding-left: 1.25rem; text-decoration: none; }
.dropdown-item:last-child { margin-bottom: 0; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .75rem .5rem; border-radius: var(--radius-sm); transition: background 0.2s; }
.hamburger:hover { background: rgba(255,255,255,.1); }
.hamburger span { width: 22px; height: 2px; background: rgba(255,255,255,.9); border-radius: 2px; transition: all .3s; }

/* ===================================================
   Mobile Nav
   =================================================== */
.mobile-nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 1001; background: #1a1209; box-shadow: 4px 0 20px rgba(0,0,0,.8); }
.mobile-nav.open { display: block; overflow-y: auto; }
.mobile-nav-link { display: block; padding: .85rem 1.5rem; font-size: 1rem; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); background: rgba(45,25,10,.95); }
.mobile-nav-link:hover { background: rgba(255,255,255,.08); }
.mobile-sub-title { display: block; padding: .6rem 1.5rem; font-size: .75rem; font-weight: 700; color: var(--color-gold); text-transform: uppercase; letter-spacing: .06em; background: rgba(30,15,5,.95); border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-sub { padding-left: 2.5rem !important; font-size: .9rem !important; font-weight: 400 !important; }

/* ===================================================
   Hero
   =================================================== */
.hero {
  background: linear-gradient(160deg, #5C3410 0%, #8B5A20 35%, #A07830 65%, #C9A84C 100%);
  border-bottom: 3px solid rgba(201,168,76,.6);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><defs><pattern id="wood" patternUnits="userSpaceOnUse" width="120" height="30" patternTransform="rotate(8)"><line x1="0" y1="15" x2="120" y2="15" stroke="rgba(184,146,74,.12)" stroke-width="1.5"/><line x1="0" y1="5" x2="120" y2="5" stroke="rgba(184,146,74,.06)" stroke-width=".5"/><line x1="0" y1="25" x2="120" y2="25" stroke="rgba(184,146,74,.06)" stroke-width=".5"/></pattern></defs><rect width="800" height="600" fill="url(%23wood)"/></svg>');
  pointer-events: none;
}
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 5rem 1.5rem 4rem; display: flex; align-items: center; gap: 3rem; }
.hero-content { flex: 1; margin-left: -20px; }
.hero-visual { flex-shrink: 0; width: 360px; margin-right: -20px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.3); color: #fff;
  padding: .5rem 1.25rem; border-radius: 50px;
  font-size: .82rem; font-weight: 700; margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero h1 em { font-style: normal; color: var(--color-wood-light); }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.85); line-height: 1.8; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); margin-top: 1rem; }
.stat-item { text-align: left; position: relative; padding-left: 1rem; }
.stat-item::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--color-gold); border-radius: 1.5px; }
.stat-num { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; color: #FFFFFF; line-height: 1; text-shadow: 0 0 30px rgba(255,255,255,.9), 0 2px 6px rgba(0,0,0,.5); }
.stat-label { font-size: .88rem; color: #FFE600; font-weight: 600; margin-top: .3rem; }

/* Card stack */
.card-stack { position: relative; width: 340px; height: 260px; margin: 0 auto; perspective: 1000px; }
.card-item { position: absolute; background: linear-gradient(145deg, #C4A882, #8B6914); border-radius: 16px; box-shadow: 0 12px 32px rgba(61,43,31,.3); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: .95rem; border: 1px solid rgba(255,255,255,.25); transition: transform .5s cubic-bezier(0.175,.885,.32,1.275); }
.card-item:hover { transform: translateY(-5px) rotate(0deg) !important; z-index: 10 !important; }
.card-item.card-1 { width: 220px; height: 140px; top: 15px; left: 0; transform: rotate(-10deg); z-index: 1; }
.card-item.card-2 { width: 230px; height: 145px; top: 40px; left: 45px; transform: rotate(-3deg); z-index: 2; background: linear-gradient(145deg, #3D2B1F, #6B4226); }
.card-item.card-3 { width: 215px; height: 135px; top: 65px; left: 85px; transform: rotate(8deg); z-index: 3; }
.card-wood-grain { position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(255,255,255,.06) 8px, rgba(255,255,255,.06) 10px); mix-blend-mode: overlay; }
.nfc-icon { position: absolute; bottom: -12px; right: -12px; background: linear-gradient(135deg, var(--color-gold), #D4A017); color: #fff; padding: .6rem 1.2rem; border-radius: 50px; font-size: .8rem; font-weight: 800; box-shadow: 0 6px 20px rgba(0,0,0,.3); z-index: 5; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ===================================================
   Features Strip
   =================================================== */
.features-strip { background: linear-gradient(135deg, #F5E6C8 0%, #E8D5A3 50%, #D4BC82 100%); padding: 1.25rem 1.5rem; position: relative; margin-top: -2px; }
.features-strip .container { max-width: 1100px; margin: 0 auto; position: relative; }
.features-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: .6rem;
  justify-content: center;
  overflow: visible;
  scrollbar-width: none;
}
.features-grid::-webkit-scrollbar { display: none; }
.feature-pill { display: flex; align-items: center; justify-content: center; gap: .4rem; background: rgba(61,37,16,.1); border: 1px solid rgba(61,37,16,.2); color: #3D2510; padding: .45rem 1rem; border-radius: 50px; font-size: .82rem; font-weight: 600; white-space: nowrap; flex-shrink: 0; min-width: 155px; text-align: center; }
.feature-pill svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ===================================================
   Sections
   =================================================== */
.section { padding: 4rem 1.5rem; }
.container { max-width: 1180px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { display: inline-block; background: var(--color-wood-pale); border: 1px solid var(--color-wood-light); color: var(--color-wood); padding: .3rem 1rem; border-radius: 50px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.section-title {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .75rem; }
.section-subtitle { font-size: 1rem; color: var(--color-gray600); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ===================================================
   Grid
   =================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ===================================================
   Card Component
   =================================================== */
.card { background: var(--color-white); border: 1.5px solid var(--color-gray200); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(61,43,31,.12); border-color: var(--color-wood-light); }
.card-body { padding: 1.5rem 2rem 2rem; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--color-bark); margin-bottom: .6rem; }
.card-desc { font-size: .88rem; color: var(--color-gray600); line-height: 1.65; }

/* ===================================================
   Cat Cards (Product Categories)
   =================================================== */
.cat-card {
  background: linear-gradient(135deg, var(--color-wood-pale), #FDFAF3);
  border: 1.5px solid #e0d0a0; border-radius: var(--radius-lg);
  padding: 2rem 2rem 2rem calc(2rem + 20px); position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(0.175,.885,.32,1.275), box-shadow .3s, border-color .3s;
}
.cat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--color-wood), var(--color-gold)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(61,43,31,.18); border-color: var(--color-wood); }
.cat-icon { font-size: 2.2rem; margin-bottom: .85rem; display: inline-block; transition: transform .3s; }
.cat-card:hover .cat-icon { transform: scale(1.1) rotate(5deg); }
.cat-card h3 { font-size: 1.05rem; margin-bottom: .6rem; color: var(--color-bark); }
.cat-card p { font-size: .85rem; color: var(--color-gray600); line-height: 1.6; margin-bottom: .85rem; }
.card-link { font-size: .82rem; font-weight: 800; color: var(--color-wood); display: inline-flex; align-items: center; gap: .3rem; transition: all .3s; }
.card-link:hover { color: var(--color-bark); gap: .5rem; text-decoration: none; }
.card-link::after { content: '→'; font-weight: 700; transition: transform .3s; }
.card-link:hover::after { transform: translateX(4px); }

/* ===================================================
   Highlight Box & Specs
   =================================================== */
.highlight-box { background: var(--color-wood-pale); border: 1.5px solid #e0d0a0; border-radius: var(--radius-md); padding: 1.25rem 1.5rem; transition: box-shadow .2s; }
.highlight-box:hover { box-shadow: 0 4px 14px rgba(61,43,31,.1); }
.highlight-box h4 { font-size: .88rem !important; margin: 0 0 .5rem !important; }
.highlight-box p { font-size: .82rem !important; line-height: 1.5; margin: 0; }
.highlight-box .stat-num { font-size: 1.8rem; font-weight: 800; color: var(--color-wood); }
.specs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs-table th { text-align: left; padding: .75rem 1rem; background: var(--color-wood-pale); border-bottom: 2px solid var(--color-wood-light); font-size: .78rem; font-weight: 700; color: var(--color-wood); text-transform: uppercase; letter-spacing: .04em; }
.specs-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--color-gray200); color: var(--color-bark); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td { background: #faf8f3; }

/* Freq badges */
.freq-badge { display: inline-block; padding: .2rem .65rem; border-radius: 50px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; border: 1.5px solid transparent; }
.freq-lf  { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.freq-hf  { background: #e3f2fd; color: #1565c0; border-color: #90caf9; }
.freq-nfc { background: #fce4ec; color: #c62828; border-color: #f48fb1; }
.freq-uhf { background: #ede7f6; color: #6a1b9a; border-color: #b39ddb; }

/* ===================================================
   Buttons
   =================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.75rem; border-radius: 50px; font-weight: 700; font-size: .92rem; text-decoration: none; transition: all .3s cubic-bezier(0.175,.885,.32,1.275); cursor: pointer; border: none; }
.btn-primary { background: #C9A84C; color: #fff; box-shadow: 0 4px 12px rgba(61,43,31,.2); }
.btn-primary:hover { background: #B8962E; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(61,43,31,.35); text-decoration: none; }
.btn-white { background: rgba(255,255,255,.95); color: var(--color-bark); border: 2px solid rgba(255,255,255,.7); }
.btn-white:hover { background: #fff; color: var(--color-bark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; text-decoration: none; }

/* ===================================================
   CTA Banner
   =================================================== */
.cta-banner { background: linear-gradient(160deg, #6B4226 0%, #8B6520 40%, #A07828 70%, #C9A84C 100%); padding: 5rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.cta-banner .container { max-width: 700px; margin: 0 auto; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================================================
   About Hero / Services Hero / Contact Hero
   =================================================== */
.about-hero, .services-hero, .contact-hero, .faq-hero {
  background: linear-gradient(160deg, #3D2510 0%, #5C3410 20%, #8B5A20 55%, #C9A84C 100%);
  color: #fff; padding: 0; position: relative; overflow: hidden;
}
.about-hero::before, .services-hero::before, .contact-hero::before, .faq-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><defs><pattern id="wood" patternUnits="userSpaceOnUse" width="120" height="30" patternTransform="rotate(8)"><line x1="0" y1="15" x2="120" y2="15" stroke="rgba(184,146,74,.15)" stroke-width="1.5"/></pattern></defs><rect width="800" height="600" fill="url(%23wood)"/></svg>');
  pointer-events: none;
}
.about-hero-inner, .services-hero-inner, .contact-hero-inner, .faq-hero-inner { max-width: var(--max-width); margin: 0 auto; padding: 5rem 1.5rem 4rem; position: relative; }
.about-hero h1, .services-hero h1, .contact-hero h1, .faq-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 1rem; }
.about-hero p, .services-hero p, .contact-hero p, .faq-hero p { font-size: 1.05rem; color: rgba(255,255,255,.85); line-height: 1.85; }

/* Stats Section */
.stats-section { padding: 3.5rem 0; background: linear-gradient(135deg, #3D2510 0%, #5C3D1E 50%, #6B4226 100%); border-top: 2px solid #C9A84C; border-bottom: 2px solid #C9A84C; }
.stats-grid { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-box { background: rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 1.5rem 1rem; border: 1px solid rgba(201,168,76,.4); transition: transform .2s; }
.stat-box:hover { transform: translateY(-3px); }
.stat-box .stat-num { font-size: 2.6rem; font-weight: 800; color: #FFD700; font-family: var(--font-heading); line-height: 1; text-shadow: 0 0 20px rgba(255,215,0,.4); }
.stat-box .stat-label { font-size: .82rem; color: #F5EDD8; margin-top: .4rem; font-weight: 600; opacity: .9; }

/* About body */
.about-body { padding: 4rem 0; }
.about-body-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.values-section { padding: 4rem 0; background: var(--color-gray100); }
.values-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card { text-align: center; padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--color-gray200); border-radius: var(--radius-lg); transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--color-bark); margin-bottom: .5rem; font-size: 1.05rem; }
.value-card p { font-size: .88rem; color: var(--color-gray500); line-height: 1.6; }
.timeline-section { padding: 4rem 0; }
.timeline-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.timeline { position: relative; padding-left: 2.5rem; max-width: 700px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--color-wood), var(--color-wood-light)); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-dot { position: absolute; left: -2.15rem; top: 4px; width: 16px; height: 16px; background: var(--color-wood); border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px var(--color-wood-light); }
.timeline-year { font-weight: 700; color: var(--color-wood); font-size: .85rem; letter-spacing: .08em; margin-bottom: .25rem; }
.timeline-content { font-size: .9rem; color: var(--color-gray700); line-height: 1.6; }

/* Services */
.service-card { background: var(--color-white); border: 1px solid var(--color-gray200); border-radius: var(--radius-lg); padding: 2.5rem 2rem; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-wood-light); }
.service-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.service-card h3 { color: var(--color-bark); font-size: 1.2rem; margin-bottom: .75rem; }
.service-card p { font-size: .9rem; color: var(--color-gray600); line-height: 1.7; margin-bottom: 1rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.service-tag { background: var(--color-wood-pale); border: 1px solid #d4b87a; border-radius: 20px; padding: .2rem .7rem; font-size: .75rem; color: var(--color-wood-dark); font-weight: 500; }
.process-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.process-step { display: flex; gap: 1.75rem; align-items: flex-start; padding: 1.5rem; background: #fff; border-radius: 10px; margin-bottom: .875rem; border-left: 4px solid #C9A84C; box-shadow: 0 1px 4px rgba(61,43,31,.07); transition: box-shadow .2s, transform .2s; }
.process-step:hover { box-shadow: 0 4px 16px rgba(61,43,31,.12); transform: translateX(3px); }
.step-num { width: 44px; height: 44px; background: linear-gradient(135deg,#C9A84C,#8B6914); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.step-body h4 { color: var(--color-bark); margin-bottom: .4rem; font-size: 1rem; }
.step-body p { font-size: .9rem; color: var(--color-gray600); line-height: 1.8; }
.quote-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.quote-table th, .quote-table td { padding: .85rem 1.25rem; text-align: left; border-bottom: 1px solid var(--color-gray100); font-size: .9rem; }
.quote-table th { background: var(--color-wood-pale); color: var(--color-bark); font-weight: 700; }

/* Contact */
.contact-body { padding: 4rem 0; }
.contact-body-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info h2 { font-size: 1.5rem; color: var(--color-bark); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon { width: 44px; height: 44px; background: var(--color-wood-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }
.contact-item-label { font-size: .8rem; font-weight: 600; color: var(--color-wood); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.contact-item-value { font-size: .95rem; color: var(--color-gray700); line-height: 1.5; }
.contact-form-card { background: #fff; border: 1px solid var(--color-gray200); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); }
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.contact-form-card > p { color: var(--color-gray500); font-size: .95rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--color-bark); margin-bottom: .4rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--color-gray200); border-radius: var(--radius-md); font-size: .95rem; font-family: inherit; color: var(--color-gray700); background: #fff; transition: border-color .3s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-wood-light); box-shadow: 0 0 0 3px rgba(201,168,76,.15); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success.show { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 1rem; }

/* FAQ */
.faq-hero-inner { padding: 82px 1.5rem 3.5rem !important; }
.faq-body { padding: 4rem 0 0; background: var(--color-wood-pale); }
.faq-body-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem 4rem; }
.faq-section { margin-bottom: 2.5rem; background: #fff; border: 1px solid #E8DFC8; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 10px rgba(61,43,31,.06); }
.faq-section-title { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-bark); background: var(--color-wood-pale); padding: .85rem 1.5rem; border-bottom: 1px solid #E8DFC8; }
.faq-item { border-bottom: 1px solid #F2ECE0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.1rem 1.5rem; background: transparent; border: none; cursor: pointer; font-family: var(--font-body); font-size: .975rem; font-weight: 600; color: var(--color-bark); text-align: left; transition: background .18s; line-height: 1.55; }
.faq-q:hover { background: #fdf6e8; color: var(--color-wood); }
.faq-item.open .faq-q { background: #fdf6e8; color: var(--color-wood); }
.faq-arrow { flex-shrink: 0; transition: transform .25s; color: var(--color-gold); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s, padding .35s; font-size: .945rem; color: #4A3728; line-height: 1.85; padding: 0 1.5rem; background: #fff; }
.faq-item.open .faq-a { max-height: 700px; padding: 1rem 1.5rem 1.4rem; }

/* Products page */
.anchor-nav { background: var(--color-wood-pale); position: relative; z-index: 80; min-height: 52px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c9a84c transparent; }
.anchor-nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: center; white-space: nowrap; }
.anchor-btn { padding: .75rem 1.1rem; font-size: .82rem; font-weight: 600; color: var(--color-wood-dark); border: none; background: transparent; cursor: pointer; transition: all .2s; border-bottom: 3px solid transparent; text-decoration: none; }
.anchor-btn:hover, .anchor-btn.active { color: var(--color-wood); border-bottom-color: var(--color-wood); background: rgba(139,105,20,.06); text-decoration: none; }
.cat-section { padding: 0; margin-top: 0; background: #ffffff; }
/* 第一個 cat-section（前有 anchor-nav，非 body 第一個子元素）：用 + 兄弟選擇器 */
.anchor-nav + .cat-section { margin-top: 0; padding-top: 1.5rem; padding-bottom: 3rem; }
.cat-section:not(:first-child) { padding-top: 3.5rem; padding-bottom: 3rem; }

/* Process — 5col desktop → 3col tablet → 2col small tablet → 1col mobile */
.process-five-col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

@media (max-width: 1024px) {
  .process-five-col { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .process-five-col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .process-five-col { grid-template-columns: 1fr; }
}

/* ===================================================
   Index Page — Layout Classes
   =================================================== */

/* Specs section — 2col desktop → 1col mobile */
.specs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* About snippet — 2col desktop → 1col mobile */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* About badges 2×2 grid */
.about-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .process-five-col { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .specs-two-col   { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-two-col   { grid-template-columns: 1fr; gap: 2rem; }
  .process-five-col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .process-five-col   { grid-template-columns: 1fr; }
  .about-badges-grid  { grid-template-columns: 1fr 1fr; }
  .features-grid      { justify-content: center; }
  .feature-pill       { font-size: .75rem; padding: .4rem .75rem; min-width: 130px; }
}

footer.footer { margin-top: 0; padding-top: 3rem; width: 100%; overflow-x: hidden; }
.cat-header { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2.5rem; margin-top: 1.25rem; }
.cat-header-icon { width: 72px; height: 72px; background: linear-gradient(135deg,var(--color-wood-pale),#e8d0a0); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; margin-left: 20px; }
.cat-header-text h2 { font-size: 1.8rem; color: var(--color-bark); margin-bottom: .4rem; }
.cat-header-text p { font-size: .95rem; color: var(--color-gray500); }
.product-card { background: var(--color-white); border: 1px solid var(--color-gray200); border-radius: var(--radius-md); padding: 1.5rem; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-wood-light); }
a.product-card-link { display: block; text-decoration: none; color: inherit; }
.product-card .emoji { font-size: 2rem; margin-bottom: .75rem; }
.product-card h4 { color: var(--color-bark); margin-bottom: .5rem; font-size: 1rem; }
.product-card p { font-size: .9rem; color: var(--color-gray500); line-height: 1.6; }
.chip { background: var(--color-wood-pale); border: 1px solid #d4b87a; border-radius: 20px; padding: .2rem .6rem; font-size: .72rem; color: var(--color-wood-dark); font-weight: 500; }
.card-link-hint { display: inline-block; margin-top: .85rem; font-size: .8rem; font-weight: 600; color: var(--color-wood); text-decoration: none; }
.card-link-hint:hover { color: var(--color-gold); text-decoration: none !important; }

/* ===================================================
   Footer
   =================================================== */
.footer { background: var(--color-bark); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 4.5rem 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo img, .logo-img-footer { height: 50px; margin-bottom: .9rem; display: block; }
.footer-desc { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 1.1rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: all .25s; font-size: 1.1rem; color: rgba(255,255,255,.85); text-decoration: none; }
.social-btn:hover { background: var(--color-gold); border-color: var(--color-gold); color: #fff; transform: translateY(-2px); }
.footer-col h4, .footer-title { font-size: .88rem; font-weight: 700; color: #E8C96E; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(201,168,76,.25); }
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.65); transition: all .2s; }
.footer-links a:hover { color: #E8C96E; padding-left: 6px; text-decoration: none; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-list li a { font-size: .9rem; color: rgba(255,255,255,.65); transition: color .2s; display: block; }
.footer-list li a:hover { color: #E8C96E; text-decoration: none; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: .95rem; line-height: 1.5; word-break: break-all; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: #E8C96E; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: #E8C96E; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; max-width: 1180px; margin: 0 auto; }
.footer-bottom, .footer-bottom span { font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-bottom a { font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: #E8C96E; }
.footer-bottom .sep { margin: 0 .4rem; color: rgba(255,255,255,.2); }

/* ===================================================
   Back to Top
   =================================================== */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 500; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--color-wood-dark), var(--color-wood)); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(61,43,31,.3); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); }

/* ===================================================
   Animations
   =================================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp .5s ease-out forwards; }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  /* Specs section — keep 2-col on tablet */
  .section > .container > div[style*="1fr 1fr"] { gap: 2.5rem; }
  /* Process — 3 columns on tablet */
  .section > .container > div[style*="repeat(5,1fr)"] {
    grid-template-columns: repeat(3, 1fr);
  }
  .section > .container > div[style*="repeat(5,1fr)"] > div:first-child {
    display: none;
  }
  /* About snippet — stack on tablet too */
  .section > .container > div[style*="1fr 1fr"][style*="align-items:center"] {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { flex-direction: column; text-align: center; padding-top: 3rem; align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: 280px; }
  .card-stack { width: 260px; height: 200px; }
  .card-item.card-1 { width: 160px; height: 105px; }
  .card-item.card-2 { width: 170px; height: 110px; left: 30px; }
  .card-item.card-3 { width: 155px; height: 100px; left: 60px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  /* ===== index.html section fixes ===== */
  /* Specs section — stack to 1 column on tablet */
  .section > .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .section > .container > div[style*="grid-template-columns:1fr 1fr"] > div {
    width: 100%;
  }

  /* Process — 2 columns on tablet */
  .section > .container > div[style*="repeat(5,1fr)"],
  .section > .container > div[style*="repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Hero stats — wrap nicely */
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .stat-item {
    min-width: 120px;
    flex: 1 1 calc(50% - 0.5rem);
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .stat-item:nth-child(even) { border-right: none; }

  /* Features strip — compact on tablet */
  .features-strip .container { padding: 0 1rem; }
  .feature-pill { font-size: .78rem; padding: .5rem .7rem; min-width: 145px; }

  /* CTA actions — stack on tablet */
  .cta-actions { flex-direction: column; align-items: center; gap: .75rem; }

  /* About section — 2x2 grid for cards */
  .section > .container > div[style*="grid-template-columns:1fr 1fr"][style*="align-items:center"] > div:last-child {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Specs table — font size on mobile */
  .specs-table { font-size: .82rem; }
  .specs-table th, .specs-table td { padding: .6rem .75rem; }
}
@media (max-width: 480px) {
  .navbar {
  z-index: 10000;
  position: relative;
  background: rgba(45,25,10,1);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,101,20,.4);
  box-shadow: 0 2px 12px rgba(0,0,0,.25); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* ===== index.html mobile fixes ===== */
  /* Process — 1 column on mobile */
  .section > .container > div[style*="repeat(5,1fr)"],
  .section > .container > div[style*="repeat(3,1fr)"],
  .section > .container > div[style*="repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .section > .container > div[style*="repeat(5,1fr)"] > div:first-child {
    display: block !important;
  }

  /* About snippet — full stack on mobile */
  .section > .container > div[style*="grid-template-columns:1fr 1fr"][style*="align-items:center"] {
    grid-template-columns: 1fr !important;
  }
  .section > .container > div[style*="grid-template-columns:1fr 1fr"][style*="align-items:center"] > div:last-child {
    grid-template-columns: 1fr !important;
  }

  /* Specs — ensure 1 column */
  .section > .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Wood materials — 2 cols on mobile */
  .section > .container > div[style*="minmax(160px,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Hero inner padding */
  .hero-inner { padding: 4rem 1rem 3rem !important; }
  .hero-content h1 { font-size: 2rem !important; }
  .hero-visual { width: 240px; }

  /* Footer contact address — wrap */
  .footer-contact-item { font-size: .82rem; }
  .footer-bottom { font-size: .78rem; }

  /* Features grid + stats — mobile */
  .features-grid { justify-content: center; }
  .feature-pill { min-width: 130px; }
  .stat-item { flex: 1 1 45%; }
  .stat-num { font-size: 1.6rem; }
}

.table-scroll-wrap table {
  min-width: 600px;
  width: 100%;
}
.table-scroll-wrap table {
  min-width: 600px;
  width: 100%;
}

/* Narrow tablet: 768px < width <= 900px — force single-column for two-cols */
@media (max-width: 900px) {
  .two-cols { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .two-cols > * { min-width: 0; }
  .stats-mini-cols { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .stats-mini-cols > * { min-width: 0; }
}

.table-scroll-wrap {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.table-scroll-wrap table {
  min-width: 600px;
  width: 100%;
}

/* === Specs table & cards centering fix === */
.specs-two-col .table-scroll-wrap { width: 100%; margin-left: 0; overflow-x: visible; }
.specs-two-col .table-scroll-wrap table { min-width: unset; width: 100%; margin: 0; }
/* Dropdown arrow for Products nav item */
.nav-item.has-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

/* ===== LANGUAGE BAR (inside navbar) ===== */
.lang-bar {
  height: 36px;position: static;
  
  
  
  
  background: rgba(30,15,5,.95);
  color: #d4c5a8;
  font-size: .72rem;
  line-height: 1.5;
  width: 100%;
}

.lang-bar-footer {
  background: #1a0f06;
  border-top: 1px solid rgba(139,101,20,.3);
}
.lang-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: .35rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lang-bar-text {
  opacity: .85;
  letter-spacing: .02em;
}
.lang-links a,
.lang-links .lang-active {
  color: #c9a84c;
  text-decoration: none;
  transition: color .2s, opacity .2s;
  padding: 0 .15rem;
}
.lang-links a:hover {
  color: #e8d0a0;
  text-decoration: underline;
}
.lang-links .lang-active {
  color: #f5e6d3;
  font-weight: 600;
  cursor: default;
}
/* Push navbar below lang bar (lang-bar height ~36px) */
.navbar { }


/* ============================================
   RESPONSIVE ENHANCEMENTS — Full Adaptivity
   Mobile / Tablet / Desktop
   ============================================ */

/* ── Tablet (max-width: 1024px) ── */
@media (max-width: 1024px) {
  .lang-bar-inner {
    padding: .35rem 1rem;
  }
  .lang-bar-text {
    font-size: .68rem;
  }
  .features-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .feature-pill {
    min-width: auto;
  }
  .cat-card {
    padding: 1.5rem;
  }
  .highlight-box {
    padding: 1rem 1.25rem;
  }
}

/* ── Mobile (max-width: 768px) ── */
@media (max-width: 768px) {
  /* Lang-bar: stack vertically */
  .lang-bar {
    height: auto;
    padding: .3rem 0;
  }
  .lang-bar-inner {
    flex-direction: column;
    gap: .25rem;
    padding: .25rem 1rem;
    text-align: center;
  }
  .lang-bar-text {
    padding-left: 0 !important;
    padding-top: 0;
  }
  .lang-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .15rem .3rem;
  }
  .lang-links a,
  .lang-links .lang-active {
    padding: .1rem .2rem;
    font-size: .7rem;
  }

  /* Features strip: wrap pills */
  .features-strip {
    padding: 1rem;
  }
  .features-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
  }
  .feature-pill {
    font-size: .78rem;
    padding: .35rem .7rem;
    white-space: nowrap;
  }

  /* Cat-cards grid already handled by .grid-4 media queries,
     but card content needs adaptation */
  .cat-card {
    padding: 1.25rem;
  }
  .cat-card h3 {
    font-size: 1rem;
  }
  .cat-card p {
    font-size: .85rem;
  }

  /* Highlight boxes */
  .highlight-box {
    padding: 1rem;
  }

  /* CTA banner */
  .cta-banner {
    padding: 3rem 1.25rem;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  .cta-banner p {
    font-size: .95rem;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Back to top */
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }

  /* Section padding */
  .section {
    padding: 2.5rem 1rem;
  }
  .container {
    padding: 0 1rem;
  }

  /* Hero stats 2x2 on mobile */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .stat-item {
    padding: .75rem;
  }
  .stat-item:nth-child(4) {
    border-left: none;
  }
}

/* ── Small Mobile (max-width: 480px) ── */
@media (max-width: 480px) {
  .lang-bar-text {
    font-size: .65rem;
  }
  .lang-links a,
  .lang-links .lang-active {
    font-size: .65rem;
  }

  .features-strip {
    padding: .75rem;
  }
  .features-grid {
    gap: .4rem;
  }
  .feature-pill {
    font-size: .72rem;
    padding: .3rem .6rem;
  }
  .feature-pill svg {
    width: 14px;
    height: 14px;
  }

  .cat-card {
    padding: 1rem;
  }
  .cat-card h3 {
    font-size: .95rem;
  }

  .cta-banner {
    padding: 2.5rem 1rem;
  }
  .cta-banner h2 {
    font-size: 1.3rem;
  }
  .cta-banner p {
    font-size: .88rem;
    margin-bottom: 1.5rem;
  }

  .highlight-box {
    padding: .85rem;
    font-size: .9rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }

  .section {
    padding: 2rem .75rem;
  }
  .container {
    padding: 0 .75rem;
  }

  /* Hero stats tighter */
  .hero-stats {
    gap: .5rem;
  }
  .stat-item {
    padding: .6rem .5rem;
  }
  .stat-num {
    font-size: 1.3rem !important;
  }
  .stat-label {
    font-size: .7rem !important;
  }
}

/* Hide Get a Quote button on mobile */
@media (max-width: 768px) {
  .nav-cta { display: none !important; }
}
