/* ==========================================================================
   TAPICERÍA CH - MODERN EDITORIAL LUXURY DESIGN SYSTEM
   Dual Theme (Light & Dark) · Responsive · High Performance
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESIGN TOKENS & PALETTES
   -------------------------------------------------------------------------- */
:root {
  /* Typography */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;

  /* Dimensions & Spacing */
  --header-height: 74px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --theme-transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ☀️ LIGHT THEME (Warm Minimalist / Scandinavian Luxury Studio) */
html[data-theme="light"] {
  --bg-body: #FBFBFA;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F5F4F0;
  --bg-surface-subtle: #EFECE6;
  --bg-header: rgba(251, 251, 250, 0.92);
  --bg-header-scrolled: rgba(251, 251, 250, 0.98);

  --text-primary: #18181B;
  --text-secondary: #52525B;
  --text-muted: #71717A;
  --text-accent: #8E6D3E;

  --border-subtle: rgba(24, 24, 27, 0.08);
  --border-strong: rgba(24, 24, 27, 0.15);
  --border-accent: rgba(142, 109, 62, 0.3);

  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  --card-hover-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);

  --badge-bg: #F3ECE2;
  --badge-text: #785A2E;

  --btn-primary-bg: #18181B;
  --btn-primary-text: #FBFBFA;
  --btn-primary-hover: #2E2E33;

  --btn-secondary-bg: #FFFFFF;
  --btn-secondary-text: #18181B;
  --btn-secondary-border: rgba(24, 24, 27, 0.18);
  --btn-secondary-hover: #F5F4F0;

  --wa-green: #1B8354;
  --wa-green-hover: #146842;
  --wa-green-text: #FFFFFF;

  --logo-fill: #18181B;
  --logo-accent: #9A7B4F;
  --bottom-bar-bg: rgba(255, 255, 255, 0.96);
  --bottom-bar-border: rgba(24, 24, 27, 0.08);
}

/* 🌙 DARK THEME (Obsidian & Warm Charcoal Luxury) */
html[data-theme="dark"] {
  --bg-body: #0E0F12;
  --bg-surface: #16171C;
  --bg-surface-elevated: #1E2026;
  --bg-surface-subtle: #262832;
  --bg-header: rgba(14, 15, 18, 0.92);
  --bg-header-scrolled: rgba(14, 15, 18, 0.98);

  --text-primary: #F4F4F5;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --text-accent: #D4AF7A;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(212, 175, 122, 0.35);

  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --card-hover-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);

  --badge-bg: rgba(212, 175, 122, 0.12);
  --badge-text: #E5C394;

  --btn-primary-bg: #F4F4F5;
  --btn-primary-text: #0E0F12;
  --btn-primary-hover: #FFFFFF;

  --btn-secondary-bg: #16171C;
  --btn-secondary-text: #F4F4F5;
  --btn-secondary-border: rgba(255, 255, 255, 0.15);
  --btn-secondary-hover: #1E2026;

  --wa-green: #22C55E;
  --wa-green-hover: #16A34A;
  --wa-green-text: #0E0F12;

  --logo-fill: #FFFFFF;
  --logo-accent: #D4AF7A;
  --bottom-bar-bg: rgba(22, 23, 28, 0.96);
  --bottom-bar-border: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   BASE & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--theme-transition);
  padding-top: var(--header-height);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.container {
  width: 90%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 900;
  transition: var(--theme-transition), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-header-scrolled);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Identity */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  box-shadow: var(--card-shadow);
  transition: var(--theme-transition);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Nav Actions (Theme Switcher + Instagram + WhatsApp) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-fast), background var(--theme-transition), border var(--theme-transition);
}

.theme-toggle-btn:hover {
  transform: scale(1.08);
  border-color: var(--border-strong);
}

.nav-ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.nav-ig-btn:hover {
  transform: scale(1.08);
  color: #E1306C;
  border-color: #E1306C;
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wa-green);
  color: var(--wa-green-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(27, 131, 84, 0.25);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.btn-header-wa:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  color: var(--text-primary);
  padding: 0.4rem;
}

/* --------------------------------------------------------------------------
   HERO SECTION (REAL PHOTOGRAPHY & EDITORIAL ARCHITECTURE)
   -------------------------------------------------------------------------- */
.hero {
  padding: 3.5rem 0 4.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  display: block;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--text-accent);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  white-space: nowrap;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.btn-hero-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--btn-secondary-border);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.btn-hero-secondary:hover {
  background: var(--btn-secondary-hover);
  border-color: var(--text-accent);
  transform: translateY(-1px);
}

.hero-specs {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* Hero Showcase Card */
.hero-media {
  position: relative;
}

.media-frame {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  box-shadow: var(--card-hover-shadow);
  overflow: hidden;
  transition: var(--theme-transition);
}

.media-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.media-frame:hover img {
  transform: scale(1.03);
}

.media-floating-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.badge-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.badge-headline {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   CATALOG SECTION & DYNAMIC FILTERS
   -------------------------------------------------------------------------- */
.catalog-section {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--border-subtle);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Filter Pills */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity var(--transition-normal), var(--theme-transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
}

.product-thumb-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--bg-surface-elevated);
  cursor: pointer;
}

.product-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-thumb-wrapper img {
  transform: scale(1.06);
}

.product-zoom-hint {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--transition-fast);
}

.product-card:hover .product-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-line-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.feature-pill {
  font-size: 0.72rem;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.product-dimensions {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-card-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--wa-green);
  color: var(--wa-green-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.btn-card-wa:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   BESPOKE / TALLER ADVANTAGES (CRAFTSMANSHIP & VALUE)
   -------------------------------------------------------------------------- */
.bespoke-section {
  padding: 5rem 0 6rem;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--theme-transition);
}

.bespoke-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bespoke-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.bespoke-text h2 span {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--text-accent);
}

.bespoke-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--theme-transition);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  color: var(--badge-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   INTERACTIVE QUOTE BUILDER (WHATSAPP FORM)
   -------------------------------------------------------------------------- */
.quote-section {
  padding: 5rem 0 6rem;
}

.quote-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--card-shadow);
  max-width: 860px;
  margin: 0 auto;
  transition: var(--theme-transition);
}

.quote-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.quote-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.quote-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.form-control {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--text-accent);
  box-shadow: 0 0 0 3px var(--border-accent);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238E6D3E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
  cursor: pointer;
}

.btn-submit-wa {
  width: 100%;
  background: var(--wa-green);
  color: var(--wa-green-text);
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 6px 20px rgba(27, 131, 84, 0.3);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-submit-wa:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 3rem;
  transition: var(--theme-transition);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 1.25rem;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   LIGHTBOX MODAL (LUXURY HARDWARE-ACCELERATED TRANSITIONS)
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-img {
  max-height: 78vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease;
}

.lightbox-caption {
  margin-top: 1.25rem;
  color: #F4F4F5;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  background: rgba(22, 23, 28, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -3.2rem;
  right: 0;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .lightbox {
    padding: 1rem;
  }
  .lightbox-close {
    top: -2.6rem;
    right: 0.25rem;
    width: 34px;
    height: 34px;
  }
  .lightbox-caption {
    font-size: 0.82rem;
    margin-top: 0.85rem;
    padding: 0.35rem 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   MOBILE BOTTOM BAR (PHONES ONLY)
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bottom-bar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--bottom-bar-border);
    z-index: 850;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
  }

  .bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
  }

  .bottom-bar-item.active, .bottom-bar-item:hover {
    color: var(--text-primary);
  }

  .bottom-bar-item.btn-wa-bottom {
    color: var(--wa-green);
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 68px;
  }

  .nav-menu,
  .btn-header-wa {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-strong);
    gap: 1.25rem;
    box-shadow: var(--card-hover-shadow);
    z-index: 950;
  }

  .nav-menu.mobile-open .nav-link {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    color: var(--text-primary);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group,
  .hero-specs {
    justify-content: center;
  }

  .bespoke-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* SMARTPHONES & SMALL TABLETS (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  /* Header adjustments */
  .brand-tagline,
  .nav-ig-btn {
    display: none;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark svg {
    width: 24px;
    height: 24px;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  /* Hero adjustments */
  .hero {
    padding: 2rem 0 3rem;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    white-space: normal;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    margin-bottom: 0.85rem;
    line-height: 1.16;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2rem;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }

  /* Compact 3-Column Hero Specs */
  .hero-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
  }

  .spec-value {
    font-size: 0.92rem;
  }

  .spec-label {
    font-size: 0.62rem;
    letter-spacing: 0.4px;
  }

  .media-frame {
    padding: 0.5rem;
  }

  .media-frame img {
    height: 240px;
  }

  .media-floating-badge {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.55rem 0.85rem;
    gap: 0.6rem;
  }

  .badge-headline {
    font-size: 0.76rem;
  }

  .badge-sub {
    font-size: 0.65rem;
  }

  /* Catalog Section */
  .catalog-section {
    padding: 3.5rem 0 4rem;
  }

  .section-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .filter-bar {
    width: 100%;
    justify-content: flex-start;
    padding: 0.25rem 0.5rem 0.65rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    padding: 0.45rem 0.95rem;
    font-size: 0.78rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-thumb-wrapper {
    height: 210px;
  }

  .product-content {
    padding: 1.25rem;
  }

  .product-title {
    font-size: 1.15rem;
  }

  .product-desc {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .product-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .product-dimensions {
    font-size: 0.72rem;
    max-width: 55%;
    line-height: 1.25;
  }

  .btn-card-wa {
    font-size: 0.76rem;
    padding: 0.45rem 0.85rem;
  }

  /* Bespoke Quality 2x2 Grid (Anti-Endless Scroll) */
  .bespoke-section {
    padding: 3.5rem 0 4rem;
  }

  .bespoke-text h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem);
  }

  .bespoke-lead {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .pillar-card {
    padding: 1rem 0.85rem;
  }

  .pillar-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0.6rem;
  }

  .pillar-icon svg {
    width: 16px;
    height: 16px;
  }

  .pillar-title {
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
    line-height: 1.25;
  }

  .pillar-desc {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  /* Quote Box */
  .quote-section {
    padding: 3.5rem 0 4rem;
  }

  .quote-box {
    padding: 1.75rem 1.15rem;
  }

  .quote-header h2 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .quote-header p {
    font-size: 0.85rem;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-control {
    padding: 0.75rem 0.95rem;
    font-size: 0.86rem;
  }

  .btn-submit-wa {
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 0 2rem;
  }

  .footer-grid {
    text-align: center;
    gap: 2rem;
  }

  .footer-brand .brand {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Mobile Bottom Bar with Safe Area Support */
  .mobile-bottom-bar {
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
