/* ==========================================
   CSS Variables & Design System
   Luxury Jewelry / Boutique Editorial Style
   ========================================== */

:root {
    --color-primary: #2a2118;
    --color-secondary: #b89a6a;
    --color-accent: #cdb07e;
    --color-primary-light: rgba(42, 33, 24, 0.08);
    --color-primary-dark: #1a1410;
    --color-secondary-light: rgba(184, 154, 106, 0.12);
    --color-text: #2c2520;
    --color-text-light: #7a6f65;
    --color-text-muted: #a89f96;
    --color-background: #faf8f4;
    --color-surface: #f5f1ea;
    --color-surface-2: #eeeae2;
    --color-border: rgba(42, 33, 24, 0.1);
    --color-card-1: rgba(42, 33, 24, 0.15);
    --color-card-2: rgba(113, 93, 65, 0.15);
    --color-card-3: rgba(184, 154, 106, 0.15);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 7rem;
    --spacing-2xl: 10rem;
    --container-width: 1200px;
    --container-wide: 1400px;
    --border-radius: 0.25rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1.5rem;
    --nav-link-font-size: 0.72rem;
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s ease;
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 12px rgba(42, 33, 24, 0.06);
    --shadow-md: 0 6px 24px rgba(42, 33, 24, 0.09);
    --shadow-lg: 0 16px 48px rgba(42, 33, 24, 0.12);
    --shadow-xl: 0 32px 80px rgba(42, 33, 24, 0.14);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-text); background-color: var(--color-background); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--color-primary); letter-spacing: 0.01em; }
a { text-decoration: none; color: inherit; transition: all var(--transition-base); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--spacing-md); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--spacing-md); }
.section { padding: var(--spacing-xl) 0; position: relative; }
.section-header { text-align: center; margin-bottom: var(--spacing-lg); }
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; color: var(--color-primary); }
.title-decoration { width: 40px; height: 1px; background: var(--color-secondary); margin: 0 auto; opacity: 0.7; }

.btn { display: inline-block; padding: 0.85rem 2.5rem; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; border-radius: 100px; transition: all var(--transition-base); cursor: pointer; }
.btn-primary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.6); }
.btn-primary:hover { background: rgba(255,255,255,0.12); border-color: white; }
.btn-outline { background: transparent; color: var(--color-primary); border: 1px solid var(--color-border); }
.btn-outline:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.btn-gold { background: transparent; color: var(--color-secondary); border: 1px solid var(--color-secondary); letter-spacing: 0.16em; font-size: 0.72rem; }
.btn-gold:hover { background: var(--color-secondary); color: white; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(250,248,244,0); transition: background var(--transition-base), box-shadow var(--transition-base); }
.nav-container { max-width: var(--container-wide); margin: 0 auto; padding: 1.5rem var(--spacing-md); display: flex; justify-content: space-between; align-items: center; transition: padding var(--transition-base); }
.nav-brand { display: flex; align-items: center; }
.nav-logo-img {
    height: var(--logo-height-pc, 32px);
    width: auto;
    transition: height var(--transition-base);
}
.nav-logo-text { font-family: var(--font-display); font-size: var(--nav-link-font-size); font-weight: 400; letter-spacing: 0.12em; color: white; transition: color var(--transition-base); }
.nav-menu { display: flex; gap: 2.5rem; align-items: center; }
.nav-link { font-size: var(--nav-link-font-size); font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.85); position: relative; padding: 0.4rem 0; transition: color var(--transition-base); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--color-secondary); transition: width var(--transition-base); }
.nav-link:hover { color: white; }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.lang-toggle { padding: 0.35rem 0.9rem; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.3); border-radius: 100px; transition: all var(--transition-base); background: transparent; }
.lang-toggle:hover { color: white; border-color: white; }
.mobile-toggle { display: none; width: 36px; height: 36px; position: relative; flex-direction: column; justify-content: center; align-items: center; }
.hamburger { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 22px; height: 1px; background: white; transition: all var(--transition-base); }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 22px; height: 1px; background: white; transition: all var(--transition-base); }
.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }
.mobile-toggle.active .hamburger {
    background: transparent;
    width: 0;
}

.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}
.navbar.scrolled { background: #fd8000; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(0,0,0,0.08); }
.navbar.scrolled .nav-logo-text { color: white; }
.navbar.scrolled .nav-link { color: rgba(255,255,255,0.9); }
.navbar.scrolled .nav-link:hover { color: white; }
.navbar.scrolled .lang-toggle { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.35); }
.navbar.scrolled .lang-toggle:hover { color: white; border-color: white; }
.navbar.scrolled .hamburger, .navbar.scrolled .hamburger::before, .navbar.scrolled .hamburger::after { background: white; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; background: var(--color-primary-dark); overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(42,33,24,0.18) 0%, rgba(26,20,16,0.42) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: white; padding: var(--spacing-lg) var(--spacing-md); width: 100%; }
.hero-title { font-size: clamp(2.8rem,8vw,6.5rem); margin-bottom: 1.5rem; color: white; font-weight: 300; letter-spacing: 0.04em; line-height: 1.05; animation: heroFadeUp 1.2s cubic-bezier(0.4,0,0.2,1) both; }
.hero-subtitle { font-family: var(--font-body); font-size: clamp(0.75rem,1.5vw,0.85rem); font-weight: 400; text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: var(--spacing-lg); color: rgba(255,255,255,0.72); max-width: 520px; animation: heroFadeUp 1.2s cubic-bezier(0.4,0,0.2,1) 0.15s both; }
.hero-cta { animation: heroFadeUp 1.2s cubic-bezier(0.4,0,0.2,1) 0.3s both; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 3; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.5)); animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); transform-origin: top; } }
.hero-layout { display: grid; grid-template-columns: 1fr 0.85fr; align-items: center; gap: var(--spacing-xl); max-width: var(--container-wide); margin: 0 auto; }
.hero-text { text-align: left; }
.hero.hero-text-right .hero-layout { grid-template-columns: 0.85fr 1fr; }
.hero.hero-text-right .hero-text { order: 2; }
.hero.hero-text-right .hero-visual { order: 1; }
.hero-text .hero-subtitle { margin-left: 0; margin-right: 0; }
.hero-visual { position: relative; height: 480px; animation: heroFadeUp 1.2s cubic-bezier(0.4,0,0.2,1) 0.2s both; }
.hero-image-card { width: 100%; height: 100%; border-radius: var(--border-radius-xl); overflow: hidden; position: relative; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* HERO BACKGROUND MODE */
.hero.hero-background-mode { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero.hero-background-mode .hero-overlay { background: rgba(26,20,16,0.4); animation: none; }
.hero.hero-background-mode[data-overlay="light"] .hero-overlay { background: rgba(250,248,244,0.25); }
.hero.hero-background-mode[data-overlay="none"] .hero-overlay { display: none; }
.hero.hero-background-mode .hero-layout { display: flex; flex-direction: column; width: 100%; max-width: var(--container-wide); margin: 0 auto; }
.hero.hero-background-mode .hero-visual { display: none; }
.hero.hero-background-mode .hero-text { width: 100%; max-width: 780px; }
.hero.hero-background-mode.hero-align-left .hero-layout   { align-items: flex-start; }
.hero.hero-background-mode.hero-align-left .hero-text     { text-align: left; }
.hero.hero-background-mode.hero-align-left .hero-subtitle { margin-left: 0; margin-right: 0; }
.hero.hero-background-mode.hero-align-center .hero-layout  { align-items: center; }
.hero.hero-background-mode.hero-align-center .hero-text    { text-align: center; }
.hero.hero-background-mode.hero-align-center .hero-subtitle { margin-left: auto; margin-right: auto; }
.hero.hero-background-mode.hero-align-right .hero-layout   { align-items: flex-end; }
.hero.hero-background-mode.hero-align-right .hero-text     { text-align: right; }
.hero.hero-background-mode.hero-align-right .hero-subtitle { margin-left: auto; margin-right: 0; }

/* PRODUCTS/SERVICES */
.products-section { background: var(--color-background); }
.products-grid { display: grid; grid-template-columns: repeat(var(--service-cols, 3), minmax(0, 1fr)); gap: 2px; margin-top: var(--spacing-lg); background: var(--color-border); border: 1px solid var(--color-border); border-radius: var(--border-radius-lg); overflow: hidden; }
.product-card { background: var(--color-background); padding: var(--spacing-lg) var(--spacing-md); text-align: center; transition: background var(--transition-base); }
.product-card:hover { background: var(--color-surface); }
.product-icon { font-size: 2.5rem; margin-bottom: var(--spacing-md); display: inline-block; }
.product-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 0.75rem; letter-spacing: 0.04em; color: var(--color-primary); }
.product-description { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.8; white-space: pre-line; }

/* ABOUT */
.about-section { background: var(--color-surface); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: center; }
.about-text { padding-right: var(--spacing-md); }
.about-text .section-header { text-align: left; margin-bottom: var(--spacing-md); }
.about-text .title-decoration { margin: 0; }
.about-description { font-size: 1rem; line-height: 1.9; color: var(--color-text-light); margin-top: var(--spacing-md); }
.about-visual { position: relative; height: 520px; border-radius: var(--border-radius-xl); overflow: hidden; }
.visual-card { position: absolute; border-radius: var(--border-radius-lg); }
.about-visual-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--border-radius-xl); display: block; }
.visual-card.card-1 { width: 60%; height: 68%; top: 0; left: 0; z-index: 3; background: var(--color-card-1); }
.visual-card.card-2 { width: 62%; height: 62%; top: 18%; right: 0; z-index: 2; background: var(--color-card-2); border: 1px solid var(--color-card-2); }
.visual-card.card-3 { width: 46%; height: 44%; bottom: 0; left: 22%; z-index: 1; background: var(--color-card-3); border: 1px solid var(--color-card-3); }

/* CONTENT BLOCKS */
.content-block-section { background: var(--color-background); }
.content-block-section:nth-child(even) { background: var(--color-surface); }
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: start; }
.content-text { padding-right: var(--spacing-md); }
.content-text .section-header { text-align: left; margin-bottom: var(--spacing-md); }
.content-text .title-decoration { margin: 0; }
.content-description { font-size: 1rem; line-height: 1.9; color: var(--color-text-light); margin-top: var(--spacing-md); white-space: pre-line; }
.content-visual { position: relative; height: 520px; }

/* VIDEO EMBEDS in content blocks */
.video-embed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: var(--spacing-sm) 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}

.video-embed-wrapper iframe,
.video-embed-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.video-embed-wrapper video {
  object-fit: contain;
}

.content-description > iframe,
.content-description > video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--border-radius-lg);
  margin: var(--spacing-sm) 0;
  background: #000;
}
.content-image { width: 100%; height: 100%; object-fit: cover; border-radius: var(--border-radius-xl); display: block; }
.content-block.no-media { grid-template-columns: 1fr; }
.content-block.text-right .content-text { order: 2; padding-right: 0; padding-left: var(--spacing-md); }
.content-block.text-right .content-visual { order: 1; }

/* CONTENT BLOCK — FULL-IMAGE variant (media.type = 'full-image') */
/* layout on the section controls text position: text-left | text-center | text-right */
.full-image-section { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; padding: 0; }
.full-image-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--color-primary-dark); }
.full-image-overlay { position: absolute; inset: 0; background: rgba(26,20,16,0.48); }
.full-image-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-md);
}

.full-image-text {
    max-width: 680px;
    width: 100%;
}
.full-image-section.text-left  .full-image-content { display: flex; justify-content: flex-start; }
.full-image-section.text-center .full-image-content { display: flex; justify-content: center; }
.full-image-section.text-center .full-image-text { text-align: center; }
.full-image-section.text-center .full-image-text .title-decoration { margin: 0 auto; }
.full-image-section.text-right  .full-image-content { display: flex; justify-content: flex-end; }
.full-image-section.text-right  .full-image-text { text-align: right; }
.full-image-section.text-right  .full-image-text .title-decoration { margin: 0 0 0 auto; }
.full-image-title { font-size: clamp(2rem,5vw,3.2rem); font-weight: 300; color: white; margin-bottom: 1.25rem; letter-spacing: 0.04em; line-height: 1.1; }
.full-image-description { font-size: 1rem; line-height: 1.9; color: rgba(255,255,255,0.78); margin-top: var(--spacing-md); white-space: pre-line; }
.full-image-cta { margin-top: var(--spacing-md); }
.content-block-cta { margin-top: var(--spacing-md); }
.full-image-section .title-decoration { background: rgba(255,255,255,0.75); }

/* FAQ */
.faq-section { background: var(--color-surface); }
.faq-container { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question { width: 100%; padding: 1.5rem 0; text-align: left; font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em; color: var(--color-primary); display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color var(--transition-base); }
.faq-question:hover { color: var(--color-secondary); }
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-secondary); transition: transform var(--transition-base); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1); }
.faq-answer-content { padding: 0 0 1.5rem 0; font-size: 0.9rem; color: var(--color-text-light); line-height: 1.9; }
.faq-item.active .faq-answer { max-height: 500px; }

/* CONTACT */
.contact-section { background: var(--color-background); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: var(--spacing-sm); margin-bottom: var(--spacing-lg); }
.contact-card { background: var(--color-surface); padding: var(--spacing-lg) var(--spacing-md); border-radius: var(--border-radius-lg); text-align: center; transition: all var(--transition-base); border: 1px solid transparent; display: block; }
.contact-card:hover { border-color: var(--color-secondary-light); background: white; box-shadow: var(--shadow-sm); }
.contact-icon { width: 44px; height: 44px; margin: 0 auto var(--spacing-md); color: var(--color-secondary); }
.contact-label { font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.contact-value { color: var(--color-text); font-size: 0.95rem; }
.social-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: var(--spacing-md); }
.social-link { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; transition: all var(--transition-base); color: var(--color-text-light); }
.social-link svg { width: 18px; height: 18px; color: inherit; }
.social-link:hover { border-color: var(--color-secondary); color: var(--color-secondary); }

/* FOOTER */
.footer { background: var(--color-primary); color: rgba(255,255,255,0.45); padding: var(--spacing-md) 0; text-align: center; }
.footer-text { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--color-primary); border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--transition-base); z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-secondary); transform: translateY(-4px); }
.back-to-top svg { width: 18px; height: 18px; color: white; }

/* PRODUCT SLIDER */
.product-slider-container { position: relative; padding: var(--spacing-md) 0; }
.product-slider { display: flex; gap: 1.5rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 0.5rem 0 1.5rem; }
.product-slider::-webkit-scrollbar { display: none; }
.product-slide { min-width: 340px; max-width: 340px; background: white; border-radius: var(--border-radius-xl); overflow: hidden; border: 1px solid var(--color-border); transition: all var(--transition-base); flex-shrink: 0; }
.product-slide:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.product-image-carousel { position: relative; width: 100%; height: 320px; background: var(--color-surface); overflow: hidden; }
.product-images-track { display: flex; height: 100%; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.product-image { min-width: 100%; height: 100%; object-fit: cover; }
.product-image-nav { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.product-image-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: all 0.3s ease; }
.product-image-dot.active { background: white; width: 18px; border-radius: 3px; }
.product-image-arrows { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 0.75rem; pointer-events: none; }
.product-image-arrow { width: 32px; height: 32px; background: rgba(250,248,244,0.88); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; pointer-events: all; transition: all 0.3s ease; opacity: 0; }
.product-image-carousel:hover .product-image-arrow { opacity: 1; }
.product-image-arrow:hover { background: white; }
.product-image-arrow svg { width: 16px; height: 16px; color: var(--color-primary); }
.product-content { padding: 1.5rem; }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.product-icon-large { font-size: 1.5rem; }
.product-price { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--color-text-muted); letter-spacing: 0.02em; }
.product-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.6rem; letter-spacing: 0.02em; color: var(--color-primary); }
.product-description { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.8; }
.slider-btn { position: absolute; top: calc(50% - 1.5rem); transform: translateY(-50%); width: 44px; height: 44px; background: white; border-radius: 50%; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; z-index: 10; transition: all var(--transition-base); }
.slider-btn:hover { border-color: var(--color-secondary); box-shadow: var(--shadow-md); }
.slider-btn svg { width: 18px; height: 18px; color: var(--color-text-light); }
.prev-btn { left: -22px; }
.next-btn { right: -22px; }
.slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: var(--spacing-md); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-border); cursor: pointer; transition: all var(--transition-base); }
.dot.active { background: var(--color-secondary); width: 22px; border-radius: 3px; }

@media (max-width: 640px) {
    .product-slide { min-width: 290px; max-width: 290px; }
    .product-image-carousel { height: 260px; }
}

/* NEWS CARD GRID */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--spacing-md); }
.news-card { background: white; border-radius: var(--border-radius-lg); overflow: hidden; border: 1px solid var(--color-border); transition: all var(--transition-base); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-card-image { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--color-surface-2); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); display: block; }
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 1.5rem; }
.news-date { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-secondary); margin-bottom: 0.75rem; }
.news-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; margin-bottom: 0.6rem; line-height: 1.3; color: var(--color-primary); }
.news-description { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.8; }
.news-card.news-hidden { display: none; }
.news-toggle-wrap { text-align: center; margin-top: var(--spacing-lg); }
.news-toggle-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2.5rem; border: 1px solid var(--color-secondary); color: var(--color-secondary); border-radius: 100px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; background: transparent; cursor: pointer; transition: all var(--transition-base); }
.news-toggle-btn:hover { background: var(--color-secondary); color: white; }
.news-toggle-btn svg { width: 14px; height: 14px; transition: transform var(--transition-base); }
.news-toggle-btn.expanded svg { transform: rotate(180deg); }

/* ALBUM */
.album-section { background: var(--color-surface); }
.album-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; border-radius: var(--border-radius-lg); overflow: hidden; }
.album-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; background: var(--color-surface-2); }
.album-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); display: block; }
.album-item:hover img { transform: scale(1.06); }
.album-item-overlay { position: absolute; inset: 0; background: rgba(42,33,24,0.3); opacity: 0; transition: opacity var(--transition-base); display: flex; align-items: center; justify-content: center; }
.album-item:hover .album-item-overlay { opacity: 1; }
.album-item-overlay svg { width: 32px; height: 32px; color: white; opacity: 0.9; }
.album-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(42,33,24,0.75), transparent); color: rgba(255,255,255,0.9); padding: var(--spacing-sm); font-size: 0.8rem; letter-spacing: 0.04em; transform: translateY(100%); transition: transform var(--transition-base); }
.album-item:hover .album-caption { transform: translateY(0); }
.album-footer { text-align: center; margin-top: var(--spacing-lg); }
.album-more-btn { display: inline-block; padding: 0.85rem 2.5rem; border: 1px solid var(--color-secondary); color: var(--color-secondary); border-radius: 100px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; transition: all var(--transition-base); }
.album-more-btn:hover { background: var(--color-secondary); color: white; }
.album-page-section { padding-top: calc(var(--spacing-xl) + 80px); padding-bottom: var(--spacing-xl); min-height: 100vh; }
.album-back-link { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-light); padding: 0.5rem 1.1rem; border-radius: 100px; border: 1px solid var(--color-border); transition: all var(--transition-base); }
.album-back-link:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.album-back-link svg { width: 14px; height: 14px; flex-shrink: 0; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity var(--transition-base), visibility var(--transition-base); }
.lightbox.active { visibility: visible; opacity: 1; }
.lightbox-overlay { position: absolute; inset: 0; background: rgba(26,20,16,0.94); cursor: pointer; }
.lightbox-content { position: relative; z-index: 1; max-width: 90vw; max-height: 85vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img-wrap { position: relative; line-height: 0; }
.lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--border-radius); display: block; }
.lightbox-caption-text { color: rgba(255,255,255,0.5); margin-top: 1rem; font-size: 0.78rem; letter-spacing: 0.08em; text-align: center; min-height: 1.4em; }
.lightbox-close { position: fixed; top: 1.5rem; right: 1.5rem; z-index: 10; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--transition-base); cursor: pointer; border: none; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; background: rgba(0,0,0,0.45); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--transition-base); cursor: pointer; border: none; }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(0,0,0,0.65); }
.lightbox-prev svg, .lightbox-next svg, .lightbox-close svg { width: 20px; height: 20px; color: white; }
.lightbox-counter { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.4); font-size: 0.78rem; letter-spacing: 0.1em; z-index: 10; pointer-events: none; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 62vw;
        max-width: 220px;
        height: 100vh;
        background: var(--color-background);
        flex-direction: column;
        padding: 5rem 1.25rem 1.25rem;
        gap: 1.25rem;
        box-shadow: var(--shadow-xl);
        transition: left var(--transition-base);
        align-items: flex-start;
        z-index: 1001;
        border-right: 1px solid var(--color-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        color: var(--color-text-light);
        font-size: 0.85rem;
        width: 100%;
        padding: 0.65rem 0;
    }

    .nav-link:hover {
        color: var(--color-primary);
    }

    /* menu 打開後，固定深色文字，不受 navbar.scrolled 影響 */
    .nav-menu.active .nav-link,
    .navbar.scrolled .nav-menu.active .nav-link {
        color: var(--color-text-light);
    }

    .nav-menu.active .nav-link:hover,
    .navbar.scrolled .nav-menu.active .nav-link:hover {
        color: var(--color-primary);
    }

    .nav-menu.active .nav-link::after,
    .navbar.scrolled .nav-menu.active .nav-link::after {
        background: var(--color-secondary);
    }

    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        height: 300px;
        margin-top: var(--spacing-lg);
    }

    .hero.hero-background-mode.hero-align-left .hero-text {
        text-align: left;
    }

    .hero.hero-background-mode.hero-align-left .hero-subtitle {
        margin-left: 0;
    }

    .hero.hero-background-mode.hero-align-center .hero-text {
        text-align: center;
    }

    .hero.hero-background-mode.hero-align-right .hero-text {
        text-align: right;
    }

    .hero.hero-background-mode .hero-text {
        max-width: 100%;
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding-right: 0;
    }

    .about-visual {
        height: 360px;
    }

    .about-text .section-header {
        text-align: center;
    }

    .about-text .title-decoration {
        margin: 0 auto;
    }

    .content-block {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .content-text {
        padding-right: 0;
    }

    .content-visual {
        height: 360px;
    }

    .content-text .section-header {
        text-align: center;
    }

    .content-text .title-decoration {
        margin: 0 auto;
    }

    .content-block.text-right .content-text {
        order: 1;
        padding-left: 0;
    }

    .content-block.text-right .content-visual {
        order: 2;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-slide {
        min-width: 300px;
        max-width: 300px;
    }

    .slider-btn {
        display: none;
    }

    .news-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .album-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .nav-logo-img {
        height: calc(var(--logo-height-pc, 32px) * 0.8);
    }
}

@media (max-width: 640px) {
    :root { --spacing-lg: 3rem; --spacing-xl: 5rem; }
    .section-title { font-size: 1.6rem; }
    .hero-title { font-size: 2.8rem; }
    .about-visual { height: 280px; }
    .content-visual { height: 280px; }
    .product-slide { min-width: 270px; max-width: 270px; }
    .product-image-carousel { height: 240px; }
    .products-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .album-grid { gap: 2px; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .full-image-content { padding: var(--spacing-lg) var(--spacing-md); }
    .full-image-text { max-width: 100%; }
    .full-image-title { font-size: 1.8rem; }
    .full-image-description { font-size: 0.95rem; line-height: 1.8; }
    .nav-logo-img { height: calc(var(--logo-height-pc, 32px) * 0.67); }
}
