/* ============================================
   Faux Wood Beams - Main Stylesheet
   Modern, minimalist design with luxury feel
   ============================================ */

/* CSS Reset & Compatibility */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Fallback for browsers without gap support */
.flex-gap {
  display: flex;
  flex-wrap: wrap;
  margin: calc(-1 * var(--space-sm)) 0 var(--space-sm) calc(-1 * var(--space-sm));
}
.flex-gap > * {
  margin: var(--space-sm) 0 0 var(--space-sm);
}

.grid-gap {
  display: grid;
  gap: 0;
}
.grid-gap > * {
  padding: var(--space-md);
}

/* CSS Variables */
:root {
  /* Colors */
  --color-primary: #8B5A2B;
  --color-primary-dark: #6B4423;
  --color-primary-light: #A67C52;
  --color-secondary: #F5F1E8;
  --color-secondary-dark: #E8E0D0;
  --color-accent: #C4A35A;
  --color-accent-dark: #B08D45;
  --color-text: #2C2416;
  --color-text-light: #6B5B4D;
  --color-text-muted: #9A8B7A;
  --color-border: #E5DED3;
  --color-success: #4A7C59;
  --color-error: #B54A4A;
  --color-white: #FFFFFF;
  --color-black: #1A1612;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

/* Reset & Base */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

/* Fallback for smooth scroll in older browsers */
@supports not (scroll-behavior: smooth) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  font-size: 100%;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Aspect ratio fallback for older browsers */
@supports not (aspect-ratio: 1) {
  .product-image::before,
  .product-full-image::before,
  .gallery-masonry-item::before,
  .show-hero-image::before {
    content: '';
    float: left;
    padding-top: 75%; /* 4:3 ratio = 75% padding */
  }
  .product-image::after,
  .product-full-image::after,
  .gallery-masonry-item::after,
  .show-hero-image::after {
    content: '';
    display: block;
    clear: both;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .section-description {
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--transition-base);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .header {
    background-color: rgba(255, 255, 255, 0.98);
  }
}

.header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.logo-tagline {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.region-hint {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.region-hint svg {
  width: 16px;
  height: 16px;
}

.mobile-menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-fast);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #EAE4D8 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(139, 90, 43, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(196, 163, 90, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: var(--space-4xl) var(--space-lg);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--color-white), transparent);
  pointer-events: none;
}

/* Features Section */
.features {
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-2xl);
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  animation: fadeInUp 0.6s ease-out;
  animation-delay: var(--delay, 0s);
  animation-fill-mode: both;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Products Preview Section */
.products-preview {
  padding: var(--space-4xl) 0;
  background-color: var(--color-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-secondary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-info {
  padding: var(--space-lg);
}

.product-name {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.product-keywords {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.view-details {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.product-card:hover .view-details {
  text-decoration: underline;
}

/* Gallery Preview Section */
.gallery-preview {
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* CTA Section */
.cta-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
}

.cta-dark {
  background: linear-gradient(135deg, var(--color-text) 0%, #1A1612 100%);
}

/* Page Hero */
.page-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background-color: var(--color-secondary);
  text-align: center;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
}

.page-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: var(--space-lg);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--space-sm);
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-current] {
  color: var(--color-text-light);
}

/* Products Section */
.products-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-white);
}

.products-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.filter-count {
  font-weight: 500;
  color: var(--color-text);
}

.filter-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.region-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.products-full-grid {
  display: grid;
  gap: var(--space-2xl);
}

.product-full-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.product-full-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.product-full-image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-secondary);
}

.product-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-full-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-full-name {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.product-full-alt {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.product-full-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.keyword-tag {
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.product-full-actions {
  display: flex;
  gap: var(--space-md);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--color-text-light);
}

.empty-state-large {
  text-align: center;
  padding: var(--space-4xl);
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
}

.empty-icon svg {
  width: 100%;
  height: 100%;
}

.empty-state-large h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.empty-state-large p {
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Compact */
.features-compact {
  padding: var(--space-2xl) 0;
  background-color: var(--color-secondary);
}

.features-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.compact-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.compact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  flex-shrink: 0;
}

.compact-icon svg {
  width: 24px;
  height: 24px;
}

.compact-text h4 {
  font-size: 0.9375rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.compact-text p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* Gallery Section */
.gallery-section {
  padding: var(--space-3xl) 0;
  background-color: var(--color-white);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.gallery-count {
  font-weight: 500;
}

.gallery-hint {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery-masonry-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-masonry-item:hover img {
  transform: scale(1.08);
}

.gallery-masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-masonry-item:hover .gallery-masonry-overlay {
  opacity: 1;
}

.gallery-item-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-xs);
}

.gallery-item-title {
  color: var(--color-white);
  font-weight: 500;
}

/* Testimonials */
.testimonials {
  padding: var(--space-4xl) 0;
  background-color: var(--color-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  padding: var(--space-2xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Contact Section */
.contact-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background-color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-2xl);
}

.contact-form-wrapper {
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.form-header {
  margin-bottom: var(--space-xl);
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.form-subtitle {
  color: var(--color-text-light);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.required {
  color: var(--color-error);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  background-color: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: var(--space-xs);
  min-height: 1.2em;
}

.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
  text-align: center;
}

.form-message.success {
  background-color: rgba(74, 124, 89, 0.1);
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.form-message.error {
  background-color: rgba(181, 74, 74, 0.1);
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.spinner {
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Contact Info */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-card {
  padding: var(--space-xl);
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
}

.contact-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-value {
  font-weight: 500;
}

.contact-info-value[href]:hover {
  color: var(--color-primary);
}

/* Region Indicator */
.region-indicator {
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-white);
}

.region-badge-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.region-flag {
  font-size: 1.5rem;
  font-weight: 700;
}

.region-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.region-note {
  font-size: 0.8125rem;
  opacity: 0.9;
}

/* FAQ Accordion */
.faq-accordion {
  padding: var(--space-xl);
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
}

.faq-accordion h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-text);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-bottom: var(--space-md);
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: var(--space-lg);
}

.lightbox-next {
  right: var(--space-lg);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

.lightbox-counter {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background-color: var(--color-text);
  color: var(--color-white);
}

.footer-main {
  padding: var(--space-3xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
}

.footer-brand {
  padding-right: var(--space-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact h4 {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-list a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-4px);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: span 3;
    padding-right: 0;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item-1 {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header.scrolled .mobile-menu-btn {
    top: 50%;
    transform: translateY(-50%);
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-1 {
    grid-column: span 1;
  }

  .product-full-card {
    grid-template-columns: 1fr;
  }

  .features-grid-compact {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .product-full-actions {
    flex-direction: column;
  }

  .gallery-header {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ============================================
   Product Detail Page Styles
   ============================================ */

/* Product Hero */
.product-hero {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
  background: var(--color-white);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-xl);
}

.product-hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-secondary);
  aspect-ratio: 4/3;
}

.product-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.product-hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0;
}

.product-hero-alt {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-secondary);
  border-radius: var(--radius-md);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 1rem;
  color: var(--color-text);
}

.feature-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-success);
  flex-shrink: 0;
}

.product-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.product-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.product-cta .btn {
  flex: 1;
}

/* Product Details */
.product-details {
  padding: var(--space-3xl) 0;
  background: var(--color-secondary);
}

.details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
}

.details-main h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
}

.details-main h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text);
  margin: var(--space-xl) 0 var(--space-md);
}

.details-main h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text);
  margin: var(--space-lg) 0 var(--space-sm);
  font-weight: 600;
}

.details-main p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin: 0 0 var(--space-md);
}

.article-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-md);
  margin: var(--space-md) 0 var(--space-xl);
  font-style: italic;
}

.article-tip {
  background: linear-gradient(135deg, #f8f5f0 0%, #faf7f2 100%);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-text);
  line-height: 1.75;
}

.article-qa {
  margin: var(--space-lg) 0;
}

.qa-item {
  background: #f9f6f0;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

.qa-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
  font-weight: 600;
}

.qa-answer {
  color: var(--color-text-light);
  line-height: 1.75;
  margin: 0;
}

.specs-table {
  background: #fafafa;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
}

.spec-row {
  display: flex;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid #e5e5e5;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  flex: 0 0 40%;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.spec-value {
  flex: 1;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-list {
  list-style: disc;
  padding-left: var(--space-lg);
  margin: var(--space-md) 0;
}

.article-list li {
  padding-left: var(--space-xs);
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

.article-list li::before {
  display: none;
}

.details-main ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.details-main li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

.details-main li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.use-cases li {
  padding-left: var(--space-xl);
}

.use-cases li::before {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.specs-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.specs-table td:first-child {
  font-weight: 500;
  color: var(--color-text);
  width: 40%;
}

/* FAQ Box */
.faq-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.faq-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
}

.faq-item {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.contact-box {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
  text-align: center;
}

.contact-box h3 {
  color: var(--color-white);
  margin: 0 0 var(--space-md);
}

.contact-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 var(--space-lg);
}

/* Related Products */
.related-products {
  padding: var(--space-3xl) 0;
  background: var(--color-white);
}

.related-products h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 var(--space-2xl);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.related-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.related-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-text);
  margin: var(--space-md) var(--space-md) var(--space-xs);
}

.related-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 var(--space-md) var(--space-md);
  line-height: 1.5;
}

.view-all {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* Product Page Responsive */
@media (max-width: 992px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-hero-title {
    font-size: 1.75rem;
  }

  .product-cta {
    flex-direction: column;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Gallery Show Detail Page Styles
   ============================================ */

/* Show Hero */
.show-hero {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
  background: var(--color-white);
}

.show-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-xl);
}

.show-hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-secondary);
}

.show-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.show-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.show-hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0;
}

.show-hero-alt {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.show-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-secondary);
  border-radius: var(--radius-md);
}

.show-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.show-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.show-cta .btn {
  flex: 1;
}

/* Show Details */
.show-details {
  padding: var(--space-3xl) 0;
  background: var(--color-secondary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin: calc(var(--space-md) * -1) 0 var(--space-2xl);
}

/* Related Shows */
.related-shows {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
}

.related-shows h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
}

.related-show-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.related-show-thumb {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.related-show-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-show-thumb:hover img {
  transform: scale(1.05);
}

.btn-full {
  width: 100%;
}

/* Show Page Responsive */
@media (max-width: 992px) {
  .show-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .show-hero-title {
    font-size: 1.75rem;
  }

  .show-cta {
    flex-direction: column;
  }

  .related-show-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Guide Page Styles
   ============================================ */

/* Guide Hero */
.page-hero-guide {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-white) 100%);
}

/* Guide Navigation */
.guide-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: var(--header-height);
  z-index: 100;
}

.guide-nav-list {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  overflow-x: auto;
}

.guide-nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.guide-nav-link:hover,
.guide-nav-link.active {
  color: var(--color-primary);
  background: var(--color-secondary);
}

/* Guide Sections */
.guide-section {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.guide-section-alt {
  background: var(--color-secondary);
}

.guide-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.guide-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.guide-icon svg {
  width: 100%;
  height: 100%;
}

.guide-icon-seo {
  color: var(--color-primary);
}

.guide-icon-geo {
  color: var(--color-success);
}

.guide-icon-ai {
  color: var(--color-text);
}

.guide-icon-gemini {
  color: #4285F4;
}

.guide-title-group {
  flex: 1;
}

.guide-title-group .section-label {
  margin-bottom: var(--space-sm);
}

.guide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
}

.guide-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  margin: 0;
}

/* Guide Content */
.guide-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
}

.guide-content-reverse {
  direction: rtl;
}

.guide-content-reverse > * {
  direction: ltr;
}

.guide-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: var(--space-xl) 0 var(--space-md);
}

.guide-text h3:first-child {
  margin-top: 0;
}

.guide-text p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.guide-list {
  list-style: none;
  margin: var(--space-md) 0;
}

.guide-list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  line-height: 1.6;
}

.guide-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.guide-list li strong {
  color: var(--color-text);
}

/* Guide Sidebar */
.guide-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 60px);
}

.guide-stat-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.guide-section-alt .guide-stat-card {
  background: var(--color-white);
}

.guide-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.guide-stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Guide Checklist */
.guide-checklist {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.guide-checklist h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
}

.guide-checklist-list {
  list-style: none;
}

.guide-checklist-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.guide-checklist-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* Guide Tips */
.guide-tips {
  margin-top: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
}

.guide-section-alt .guide-tips {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.guide-tips h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
  text-align: center;
}

.guide-tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.guide-tip {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.guide-tip-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
}

.guide-tip p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}

/* Guide Resources */
.guide-resources {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.guide-resource-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.guide-section-alt .guide-resource-link {
  background: var(--color-secondary-dark);
}

.guide-resource-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.guide-resource-link svg {
  width: 16px;
  height: 16px;
}

/* Guide Regions */
.guide-regions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.guide-region {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background: var(--color-secondary);
  border-radius: var(--radius-md);
}

.guide-section-alt .guide-region {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.guide-region .region-flag {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.guide-region .region-name {
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.guide-region .region-focus {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Guide Detected Region Card */
.guide-geo-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin-bottom: var(--space-md);
}

.guide-geo-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}

.guide-detected-region {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.region-flag-large {
  font-size: 2rem;
}

.region-name-large {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.guide-region-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Guide AI Card */
.guide-ai-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

.guide-ai-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}

.guide-ai-list {
  list-style: none;
}

.guide-ai-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.guide-ai-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Guide Prompts */
.guide-prompts {
  display: grid;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.guide-prompt {
  padding: var(--space-md);
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

.guide-section-alt .guide-prompt {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.prompt-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.guide-prompt p {
  font-size: 0.9375rem;
  color: var(--color-text);
  margin: 0;
  font-style: italic;
}

/* Guide Gemini Card */
.guide-gemini-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

.guide-gemini-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}

.guide-gemini-list {
  list-style: none;
}

.guide-gemini-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.guide-gemini-list li svg {
  width: 16px;
  height: 16px;
  color: #4285F4;
  flex-shrink: 0;
}

/* Guide CTA */
.guide-cta {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
}

.guide-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.guide-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 var(--space-md);
}

.guide-cta p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 var(--space-xl);
}

.guide-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.guide-cta .btn-secondary {
  border-color: var(--color-white);
  color: var(--color-white);
}

.guide-cta .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* Guide Page Responsive */
@media (max-width: 1024px) {
  .guide-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .guide-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .guide-stat-card {
    margin-bottom: 0;
  }

  .guide-checklist {
    grid-column: span 2;
  }

  .guide-tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .guide-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .guide-nav-list {
    justify-content: flex-start;
    padding: var(--space-sm);
  }

  .guide-sidebar {
    grid-template-columns: 1fr;
  }

  .guide-checklist {
    grid-column: span 1;
  }

  .guide-tips-grid {
    grid-template-columns: 1fr;
  }

  .guide-regions {
    grid-template-columns: 1fr;
  }

  .guide-cta-buttons {
    flex-direction: column;
  }

  .guide-cta-buttons .btn {
    width: 100%;
  }
}

/* ============================================
   BLOG & ARTICLE STYLES
   ============================================ */

/* Blog Hero */
.blog-hero {
  position: relative;
  padding: var(--space-4xl) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  overflow: hidden;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blog-hero .container {
  position: relative;
  z-index: 1;
}

.blog-hero .breadcrumb {
  margin-bottom: var(--space-lg);
}

.blog-hero .breadcrumb a,
.blog-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.9);
}

.blog-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  max-width: 800px;
}

.blog-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.blog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.blog-meta-item svg {
  width: 18px;
  height: 18px;
}

/* Featured Article */
.featured-article {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.featured-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.featured-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.featured-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-secondary);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.article-category {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.featured-excerpt {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* Article Body */
.article-body {
  color: var(--color-text-light);
  line-height: 1.8;
}

.article-body p {
  margin-bottom: var(--space-lg);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  margin: var(--space-2xl) 0 var(--space-md);
}

.article-body blockquote {
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-secondary);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text);
}

/* Article Meta */
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-secondary);
  color: var(--color-text-light);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.read-time {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Article Sections */
.article-section {
  padding: var(--space-4xl) 0;
  background: var(--color-secondary);
}

.article-alt {
  background: var(--color-white);
}

.article-climate {
  background: linear-gradient(180deg, var(--color-secondary) 0%, #E8F4E8 100%);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
}

.article-layout-reverse {
  grid-template-columns: 320px 1fr;
}

.article-header {
  margin-bottom: var(--space-xl);
}

.category-design {
  background: #E8F0FE;
  color: #1A56DB;
}

.category-medium {
  background: #FEF3E2;
  color: #C27803;
}

.category-spacious {
  background: #E8E8FE;
  color: #6B4EFF;
}

.category-climate {
  background: #E6F9EE;
  color: #057A55;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-top: var(--space-md);
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.sidebar-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.highlight-card {
  background: var(--color-primary);
  color: var(--color-white);
}

.highlight-card h4,
.highlight-card p {
  color: var(--color-white);
}

.highlight-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--color-border);
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-list strong {
  color: var(--color-text);
}

.pattern-list {
  list-style: none;
}

.pattern-list li {
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
  border-bottom: 1px dashed var(--color-border);
}

.pattern-list li:last-child {
  border-bottom: none;
}

.stat-card {
  text-align: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  color: var(--color-white);
}

.stat-card h4 {
  color: var(--color-white);
  font-size: 0.8125rem;
  margin-bottom: var(--space-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Climate Article Special Styles */
.climate-hero {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.climate-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-success);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.climate-badge svg {
  width: 18px;
  height: 18px;
}

.climate-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.climate-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.climate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.climate-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
}

.climate-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.climate-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.climate-content {
  max-width: 800px;
  margin: 0 auto;
}

.climate-quote {
  background: var(--color-white);
  border-left: 4px solid var(--color-success);
  padding: var(--space-xl);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-accent);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
  margin: var(--space-2xl) 0;
}

.climate-quote cite {
  display: block;
  margin-top: var(--space-md);
  font-size: 0.875rem;
  font-style: normal;
  color: var(--color-text-muted);
}

.climate-footer {
  max-width: 800px;
  margin: 0 auto;
}

/* Guide Products Section */
.guide-products {
  padding: var(--space-4xl) 0;
  background: var(--color-secondary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-image {
  aspect-ratio: 4 / 3;
  background: var(--color-secondary);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: var(--space-lg);
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.product-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Guide FAQ Section */
.guide-faq {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.faq-item {
  padding: var(--space-xl);
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
}

.faq-item h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.faq-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .featured-content {
    grid-template-columns: 1fr;
  }

  .article-layout,
  .article-layout-reverse {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: var(--space-3xl) 0;
  }

  .blog-hero-meta {
    flex-direction: column;
    gap: var(--space-md);
  }

  .climate-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .featured-image {
    aspect-ratio: 4 / 3;
  }
}

/* Button Styles for Articles */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline.btn-small {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8125rem;
}

/* ============================================
   GUIDE LISTING PAGE STYLES
   ============================================ */

/* Guide Hero */
.guide-hero {
  position: relative;
  padding: var(--space-4xl) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  overflow: hidden;
}

.guide-hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.guide-hero .container {
  position: relative;
  z-index: 1;
}

.guide-hero .breadcrumb {
  margin-bottom: var(--space-lg);
}

.guide-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  max-width: 800px;
}

.guide-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.guide-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.guide-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.guide-meta-item svg {
  width: 18px;
  height: 18px;
}

/* Articles Grid */
.articles-section {
  padding: var(--space-4xl) 0;
  background: var(--color-secondary);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.article-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Split-link cards: image link points to /guide, content link points to article */
.article-card-split .article-card-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.article-card-split .article-card-content-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.article-card-category-highlight {
  background: var(--color-success);
  color: var(--color-white);
}

.article-card-content {
  padding: var(--space-xl);
}

.article-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: var(--space-md);
  transition: var(--transition-fast);
}

.article-card:hover .article-card-title {
  color: var(--color-primary);
}

.article-card-excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-read-time {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.article-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.article-card:hover .article-arrow {
  transform: translateX(4px);
}

.article-card-featured {
  grid-column: span 2;
}

.article-card-featured .article-card-image {
  aspect-ratio: 21 / 9;
}

.article-card-featured .article-card-title {
  font-size: 1.5rem;
}

.article-card-featured .article-card-excerpt {
  -webkit-line-clamp: 4;
}

/* Guide CTA */
.guide-cta {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.guide-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.guide-cta-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.guide-cta-content p {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

.guide-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================
   ARTICLE DETAIL PAGE STYLES
   ============================================ */

/* Article Hero */
.article-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4xl) 0 var(--space-3xl);
  color: var(--color-white);
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.article-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.article-hero-category {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.article-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 900px;
  margin-bottom: var(--space-lg);
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.article-meta-date,
.article-meta-read {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.article-meta-date svg,
.article-meta-read svg {
  width: 16px;
  height: 16px;
}

/* Article Content Wrapper */
.article-content-wrapper {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--color-white);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-3xl);
  align-items: start;
}

.article-main {
  max-width: 800px;
}

.article-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
}

.article-lead p {
  margin-bottom: var(--space-lg);
}

/* Article TOC */
.article-toc {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.article-toc h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.article-toc ul {
  list-style: none;
}

.article-toc li {
  margin-bottom: var(--space-sm);
}

.article-toc a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.article-toc a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Article Sections */
.article-section {
  margin-bottom: var(--space-3xl);
}

.article-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-primary);
}

.article-section p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.article-section strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Article Conclusion */
.article-conclusion {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin: var(--space-3xl) 0;
}

.article-conclusion h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.article-conclusion p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Article FAQ */
.article-faq {
  margin: var(--space-3xl) 0;
}

.article-faq h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

.faq-list {
  display: grid;
  gap: var(--space-lg);
}

.faq-item {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.faq-item h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.faq-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}

/* Article Share */
.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-3xl);
}

.article-share span {
  font-weight: 600;
  color: var(--color-text);
}

.share-buttons {
  display: flex;
  gap: var(--space-sm);
}

.share-btn {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.share-twitter {
  background: #1DA1F2;
  color: white;
}

.share-facebook {
  background: #4267B2;
  color: white;
}

.share-linkedin {
  background: #0077B5;
  color: white;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Fixed Sidebar */
.article-sidebar-fixed {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.sidebar-toc {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.sidebar-toc h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.sidebar-toc ul {
  list-style: none;
}

.sidebar-toc li {
  margin-bottom: var(--space-sm);
}

.sidebar-toc a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
  display: block;
  padding: var(--space-xs) 0;
  border-left: 2px solid transparent;
  padding-left: var(--space-sm);
}

.sidebar-toc a:hover,
.sidebar-toc a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

/* Gallery Section */
.article-gallery {
  padding: var(--space-4xl) 0;
  background: var(--color-secondary);
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.gallery-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-xl);
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Related Articles */
.related-articles {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.related-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2xl);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.related-card {
  display: block;
  text-decoration: none;
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.related-card:hover .related-image img {
  transform: scale(1.05);
}

.related-content {
  padding: var(--space-lg);
}

.related-category {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.related-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

/* Article CTA */
.article-cta {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
}

.article-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.article-cta-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.article-cta-content p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.article-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.article-cta .btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}

.article-cta .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar-fixed {
    position: static;
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-card-featured {
    grid-column: span 1;
  }

  .article-card-featured .article-card-image {
    aspect-ratio: 16 / 10;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .article-share {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   SEO Guide Article Page (sg-*)
   Single-column, mobile-first, content-first
   ============================================ */

/* SG Hero */
.sg-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.sg-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%);
}

.sg-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: var(--space-3xl);
}

.sg-hero-category {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.sg-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
  max-width: 820px;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.sg-hero-excerpt {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

.sg-hero-meta {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.sg-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

.sg-hero-meta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* SG Article Body */
.sg-article {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--color-white);
}

/* Two-column layout: main article + sticky sidebar with project photos */
.sg-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-3xl, 2.5rem);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.sg-main {
  min-width: 0;
  /* Maintain a comfortable reading width inside the column */
  max-width: 720px;
}

.sg-sidebar {
  min-width: 0;
}

.sg-sidebar-sticky {
  position: sticky;
  top: 96px; /* below fixed header */
}

.sg-sidebar-title {
  font-family: var(--font-heading, serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text, #2c2416);
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}

.sg-sidebar-subtitle {
  font-size: 0.8125rem;
  color: var(--color-text-light, #5a5145);
  margin: 0 0 var(--space-md, 1rem);
}

.sg-sidebar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: var(--space-md, 1rem);
}

.sg-sidebar-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm, 4px);
  background: var(--color-secondary, #f7f3ec);
  aspect-ratio: 1 / 1;
}

.sg-sidebar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sg-sidebar-card:hover img {
  transform: scale(1.05);
}

.sg-sidebar-card-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 6px 8px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sg-sidebar-card:hover .sg-sidebar-card-label {
  opacity: 1;
}

.sg-sidebar-cta {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent, #b08a4f);
  text-decoration: none;
}

.sg-sidebar-cta:hover {
  color: var(--color-text, #2c2416);
}

/* Inline article image (1-2 inserted between sections) */
.sg-inline-image {
  margin: var(--space-xl, 1.5rem) 0;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  background: var(--color-secondary, #f7f3ec);
}

.sg-inline-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sg-inline-image figcaption {
  padding: 8px 14px;
  font-size: 0.8125rem;
  color: var(--color-text-light, #5a5145);
  font-style: italic;
  text-align: center;
}

/* SG Content (kept for legacy / single-column fallback) */
.sg-content {
  max-width: 740px;
  margin: 0 auto;
}

/* Lead */
.sg-lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
}

.sg-lead p {
  margin-bottom: var(--space-lg);
}

.sg-lead p:last-child {
  margin-bottom: 0;
}

/* SG TOC - collapsible on mobile */
.sg-toc {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.sg-toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0;
  margin-bottom: var(--space-sm);
}

.sg-toc-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.sg-toc-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.sg-toc ul {
  list-style: none;
  margin-top: var(--space-md);
}

.sg-toc li {
  margin-bottom: var(--space-sm);
}

.sg-toc a {
  color: var(--color-primary);
  font-size: 0.9375rem;
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.sg-toc a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* SG Sections */
.sg-section {
  margin-bottom: var(--space-3xl);
}

.sg-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
  line-height: 1.3;
}

.sg-section p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  max-width: 100%;
}

.sg-section ul,
.sg-section ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.sg-section li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.sg-section ol li {
  list-style: decimal;
}

.sg-section strong {
  color: var(--color-text);
  font-weight: 600;
}

.sg-section img {
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
}

/* SG Conclusion */
.sg-conclusion {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin: var(--space-3xl) 0;
}

.sg-conclusion h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.sg-conclusion p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* SG Trust Block */
.sg-trust {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sg-trust h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.sg-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.sg-trust-item {
  text-align: center;
}

.sg-trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-trust-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

.sg-trust-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.sg-trust-item p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.sg-testimonial {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  margin-top: var(--space-xl);
}

.sg-testimonial blockquote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.sg-testimonial cite {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* SG Product Cards */
.sg-products {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl) 0;
  background: var(--color-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.sg-products-related {
  background: transparent;
  border: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

.sg-products h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.sg-products-subtitle {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
}

.sg-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.sg-product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.sg-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.sg-product-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-secondary);
}

.sg-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  margin: 0;
}

.sg-product-card:hover .sg-product-image img {
  transform: scale(1.04);
}

.sg-product-info {
  padding: var(--space-lg);
}

.sg-product-info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.sg-product-info > p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.sg-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.sg-spec-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-secondary);
  color: var(--color-text-light);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.sg-product-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.sg-product-btn:hover {
  background: var(--color-primary-dark);
}

/* SG FAQ Accordion */
.sg-faq {
  margin: var(--space-3xl) 0;
}

.sg-faq h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

.sg-faq-list {
  border-top: 1px solid var(--color-border);
}

.sg-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.sg-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

.sg-faq-question:hover {
  color: var(--color-primary);
}

.sg-faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.sg-faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.sg-faq-answer {
  padding: 0 0 var(--space-lg);
}

.sg-faq-answer p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* SG Share */
.sg-share {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.sg-share > span {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.sg-share-buttons {
  display: flex;
  gap: var(--space-sm);
}

.sg-share-btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.sg-share-btn:first-child { background: #1DA1F2; color: #fff; }
.sg-share-btn:first-child:hover { background: #0d8ddb; }
.sg-share-btn:nth-child(2) { background: #1877F2; color: #fff; }
.sg-share-btn:nth-child(2):hover { background: #1458bf; }
.sg-share-btn:last-child { background: #0A66C2; color: #fff; }
.sg-share-btn:last-child:hover { background: #084e96; }

/* SG CTA */
.sg-cta {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  text-align: center;
}

.sg-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.sg-cta p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.sg-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.sg-cta .btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.sg-cta .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* SG Related */
.sg-related {
  padding: var(--space-4xl) 0;
  background: var(--color-secondary);
}

.sg-related h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.sg-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.sg-related-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.sg-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sg-related-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sg-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  transition: transform var(--transition-slow);
}

.sg-related-card:hover .sg-related-image img {
  transform: scale(1.05);
}

.sg-related-content {
  padding: var(--space-lg);
}

.sg-related-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.sg-related-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.sg-related-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .sg-trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .sg-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sg-hero {
    min-height: 45vh;
  }

  .sg-hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .sg-article {
    padding: var(--space-2xl) 0 var(--space-3xl);
  }

  .sg-content {
    padding: 0;
  }

  .sg-section h2 {
    font-size: 1.25rem;
  }

  .sg-section p {
    font-size: 1rem;
  }

  .sg-products-grid {
    grid-template-columns: 1fr;
  }

  .sg-related-grid {
    grid-template-columns: 1fr;
  }

  .sg-trust-grid {
    grid-template-columns: 1fr;
  }

  .sg-share {
    flex-direction: column;
    align-items: flex-start;
  }

  .sg-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .sg-cta .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* Article content enhancements: fact box, tables, inline CTA */
.sg-factbox {
  background: linear-gradient(135deg, #f6efe6 0%, #efe4d2 100%);
  border-left: 4px solid var(--color-accent, #b08a4f);
  border-radius: var(--radius-md, 8px);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.sg-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.875rem;
  background: #fff;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.sg-table thead {
  background: var(--color-secondary, #f3eee7);
}

.sg-table th,
.sg-table td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: top;
}

.sg-table th {
  font-weight: 600;
  font-family: var(--font-heading, serif);
  color: var(--color-text, #2c2416);
}

.sg-table tbody tr:last-child td {
  border-bottom: none;
}

.sg-table tbody tr:hover {
  background: rgba(176, 138, 79, 0.05);
}

.sg-cta-inline {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  background: rgba(176, 138, 79, 0.08);
  border-radius: var(--radius-md, 8px);
  font-size: 0.9375rem;
}

.sg-cta-inline a {
  color: var(--color-accent, #b08a4f);
  text-decoration: underline;
  font-weight: 500;
}

.sg-section ul {
  margin: 1rem 0 1.25rem 1.25rem;
  padding-left: 1.25rem;
}

.sg-section ul li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.sg-section h3 {
  font-family: var(--font-heading, serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: var(--color-text, #2c2416);
}

/* Stacked layout on small screens */
@media (max-width: 640px) {
  .sg-table { font-size: 0.8125rem; }
  .sg-table th, .sg-table td { padding: 0.5rem 0.5rem; }
  .sg-factbox, .sg-cta-inline { padding: 0.875rem 1rem; }
}

/* ============================================
   GUIDE LISTING PAGE — compact header + inline featured article
   ============================================ */

/* Compact page header sitting above the article hero */
.guide-page-header {
  padding: var(--space-2xl, 2rem) 0 var(--space-xl, 1.5rem);
  background: var(--color-secondary, #f7f3ec);
  border-bottom: 1px solid var(--color-border, #e8e1d4);
}

.guide-page-header .breadcrumb {
  margin-bottom: var(--space-md, 1rem);
}

.guide-page-kicker {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-accent, #b08a4f);
  color: var(--color-white, #fff);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm, 4px);
  margin-bottom: var(--space-md, 1rem);
}

.guide-page-title {
  font-family: var(--font-heading, serif);
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 600;
  color: var(--color-text, #2c2416);
  line-height: 1.25;
  max-width: 900px;
  margin: 0 0 var(--space-lg, 1.25rem);
}

.guide-page-meta {
  color: var(--color-text-light, #5a5145);
}

.guide-page-meta .guide-meta-item svg {
  color: var(--color-text-light, #5a5145);
}

/* Hero reuse: make sure the .sg-hero-content wrapper positions correctly */
.sg-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* "More Expert Guides" section header */
.articles-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl, 2rem);
}

.articles-section-header h2 {
  font-family: var(--font-heading, serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  color: var(--color-text, #2c2416);
  margin-bottom: var(--space-sm, 0.75rem);
}

.articles-section-header p {
  color: var(--color-text-light, #5a5145);
  font-size: 1rem;
  line-height: 1.6;
}

/* "Related Topics" inline list (mirrors pumold structure) */
.sg-related-topics {
  margin-top: var(--space-3xl, 2.5rem);
  padding-top: var(--space-xl, 1.5rem);
  border-top: 1px solid var(--color-border, #e8e1d4);
}

.sg-related-topics h2 {
  font-family: var(--font-heading, serif);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text, #2c2416);
  margin-bottom: var(--space-md, 1rem);
}

.sg-related-topics ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sg-related-topics li {
  margin: 0;
  padding: 0;
}

.sg-related-topics a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--color-accent, #b08a4f);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sg-related-topics a::before {
  content: "›";
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-accent, #b08a4f);
}

.sg-related-topics a:hover {
  color: var(--color-text, #2c2416);
  border-color: transparent;
}

.sg-related-topics a:hover::before {
  color: var(--color-text, #2c2416);
}

/* Back-to-listing footer (pumold terminal-page footer) */
.sg-back {
  padding: var(--space-2xl, 2rem) 0 var(--space-3xl, 2.5rem);
  background: var(--color-secondary, #f7f3ec);
  border-top: 1px solid var(--color-border, #e8e1d4);
  text-align: center;
}

.sg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading, serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text, #2c2416);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--color-border, #e8e1d4);
  border-radius: 999px;
  background: var(--color-white, #fff);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sg-back-link svg {
  width: 16px;
  height: 16px;
}

.sg-back-link:hover {
  background: var(--color-accent, #b08a4f);
  color: var(--color-white, #fff);
  border-color: var(--color-accent, #b08a4f);
}

/* Make sure article card h3 inherits card-title look (we render <h3> not <h2> on listing) */
.article-card-title {
  margin: 0;
}

@media (max-width: 640px) {
  .guide-page-header { padding: var(--space-xl, 1.5rem) 0 var(--space-lg, 1.25rem); }
  .sg-related-topics ul { gap: 0.4rem; }
}

/* Two-column article layout collapses on tablets/mobile */
@media (max-width: 960px) {
  .sg-article-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl, 2rem);
  }
  .sg-sidebar-sticky {
    position: static;
  }
  .sg-sidebar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .sg-sidebar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Contact channel chooser (pure-static contact form) ─────────────── */
.contact-channel-chooser {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed var(--color-border, #e2e2e2);
  border-radius: var(--radius-md, 8px);
}

.contact-channel-chooser[hidden] {
  display: none;
}

.channel-chooser-title {
  text-align: center;
  margin-bottom: var(--space-md, 16px);
  font-weight: 500;
}

.channel-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm, 8px);
}

.channel-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs, 8px);
}

.channel-buttons svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background-color: #1eb854;
  border-color: #1eb854;
  color: #ffffff;
}

.link-button {
  display: block;
  margin: var(--space-md, 16px) auto 0;
  background: none;
  border: none;
  color: var(--color-text-muted, #777);
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

.link-button:hover {
  color: var(--color-primary, #333);
}

@media (min-width: 520px) {
  .channel-buttons {
    flex-direction: row;
  }
}