/* ============================================================================
   MGR Ventures - Boutique Curiosity Shop Theme
   A warm, whimsical indie storefront aesthetic
   Fonts: Fraunces (display), DM Sans (body), Caveat (handwritten accents)
   Palette: Warm Cream, Terracotta, Sage, Charcoal, Peach
   ============================================================================ */

/* CSS Custom Properties */
:root {
  /* Colors - Warm Indie Shop Palette */
  --cream: #fbf7f0;
  --cream-dark: #f0eae0;
  --warm-white: #fffdf9;
  --parchment: #f5eede;
  --charcoal: #2c2a27;
  --charcoal-light: #3d3a35;
  --terracotta: #c8553d;
  --terracotta-light: #e07a5f;
  --terracotta-dark: #a4432f;
  --sage: #6b8f71;
  --sage-light: #8db38b;
  --sage-dark: #4e6b52;
  --peach: #f2c078;
  --peach-light: #f8d9a0;
  --dusty-rose: #d4a0a0;
  --muted-brown: #8c7a6b;

  /* Grays (warm-tinted) */
  --gray-50: #faf8f5;
  --gray-100: #f0ede8;
  --gray-200: #e0dbd3;
  --gray-300: #c9c2b8;
  --gray-400: #a39e95;
  --gray-500: #7d7870;
  --gray-600: #5c5750;
  --gray-700: #45413b;
  --gray-800: #2c2a27;
  --gray-900: #1a1816;

  /* Semantic Colors */
  --text-primary: #2c2a27;
  --text-secondary: #5c5750;
  --text-muted: #7d7870;
  --bg-primary: #fffdf9;
  --bg-secondary: #fbf7f0;

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-primary: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-handwritten: "Caveat", cursive;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing */
  --section-padding: 120px;
  --container-padding: 24px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 50px;

  /* Shadows (warm tinted) */
  --shadow-sm: 0 1px 3px rgba(44, 42, 39, 0.06);
  --shadow-md: 0 4px 12px rgba(44, 42, 39, 0.08);
  --shadow-lg: 0 12px 28px rgba(44, 42, 39, 0.1);
  --shadow-xl: 0 20px 40px rgba(44, 42, 39, 0.12);
  --shadow-glow: 0 0 30px rgba(200, 85, 61, 0.2);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   Base Styles
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal overflow without creating weird scroll containers */
html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  padding-top: calc(34px + 80px); /* announcement + navbar */
}

::selection {
  background: var(--peach);
  color: var(--charcoal);
}

/* Subtle paper texture via CSS */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

a {
  text-decoration: none !important;
}

/* ============================================================================
   Announcement Bar (ecommerce pattern)
   ============================================================================ */

.announcement-bar {
  background: var(--charcoal);
  color: var(--cream);
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.5px;
  overflow: hidden;
  position: relative;
  z-index: 1050;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1060; /* above navbar */
}

.marquee-text {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-text span {
  padding-right: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================================
   Navigation
   ============================================================================ */

.navbar {
  padding: 1.25rem 0;
  transition: all var(--transition-base);
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  top: 34px; /* height of announcement bar */
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(255, 253, 249, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  top: 34px;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  line-height: 1;
  background: none;
  -webkit-text-fill-color: var(--charcoal);
}

.brand-tagline {
  font-family: var(--font-handwritten);
  font-size: 0.85rem;
  color: var(--terracotta);
  letter-spacing: 0.5px;
  line-height: 1;
  margin-top: 2px;
}

.navbar-toggler {
  color: var(--charcoal);
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  position: relative;
  transition: color var(--transition-fast);
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.navbar-nav .nav-link:hover {
  color: var(--terracotta);
}

.navbar-nav .nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link.active {
  color: var(--terracotta);
}

@media (max-width: 767px) {
  .navbar-collapse {
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    margin-top: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
}

/* ============================================================================
   Cart Toggle & Drawer (ecommerce UI)
   ============================================================================ */

.cart-toggle {
  position: fixed;
  top: 100px;
  right: 10px;
  z-index: 1040;
  background: var(--warm-white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  color: var(--charcoal);
  font-size: 1.15rem;
}

.cart-toggle:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--terracotta);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inline cart button — lives inside the navbar at mobile, flows beside the hamburger */
.cart-toggle-nav {
  position: relative;
  background: var(--warm-white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  color: var(--charcoal);
  font-size: 1rem;
  margin-right: 8px; /* gap between cart and hamburger */
}

.cart-toggle-nav:hover {
  background: var(--charcoal);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}

.cart-toggle-nav .cart-count-nav {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--terracotta);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--warm-white);
  z-index: 5500;
  transition: right var(--transition-base);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  border-left: 1px solid var(--gray-200);
}

.cart-drawer.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 42, 39, 0.4);
  z-index: 5400;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.cart-drawer.open ~ .cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.cart-drawer-header h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}

.cart-item-count {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color var(--transition-fast);
}

.cart-close:hover {
  color: var(--terracotta);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-emoji {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  background: var(--parchment);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-emoji img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--parchment);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0.2rem 0.35rem;
}

.cart-qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background: rgba(44, 42, 39, 0.06);
}

.cart-qty-val {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--charcoal);
}

.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0;
  margin-top: 0.4rem;
  text-decoration: underline;
  cursor: pointer;
}

.cart-remove:hover {
  color: var(--terracotta);
}

.cart-item-info h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}

.cart-item-variant {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 6px;
}

.cart-item-price {
  font-weight: 600;
  color: var(--terracotta);
  font-size: 0.9rem;
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--cream);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.cart-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.btn-checkout {
  display: block;
  width: 100%;
  padding: 0.85rem;
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
}

.btn-checkout:hover {
  background: var(--terracotta);
  color: white;
  transform: translateY(-1px);
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    165deg,
    var(--cream) 0%,
    var(--parchment) 40%,
    var(--cream-dark) 100%
  );
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-logo {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(200, 85, 61, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 85, 61, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--peach);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--sage-light);
  bottom: -10%;
  left: -10%;
  animation-delay: 7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--dusty-rose);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(200, 85, 61, 0.08);
  border: 1px solid rgba(200, 85, 61, 0.2);
  border-radius: var(--radius-pill);
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 2rem;
}

.hero-badge i {
  font-size: 0.9rem;
  color: var(--peach);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--terracotta),
    var(--terracotta-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--charcoal);
  color: var(--cream);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-primary-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary-glow:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-primary-glow:hover::before {
  left: 100%;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--charcoal);
  font-weight: var(--font-weight-bold);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}

.btn-outline-white:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
  transform: translateY(-2px);
}

.hero-trust-line {
  margin-top: 3rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
}

.trust-item i {
  color: var(--sage);
  font-size: 1.15rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-placeholder {
  position: relative;
  width: 400px;
  height: 400px;
  background: rgba(200, 85, 61, 0.04);
  backdrop-filter: blur(10px);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: all var(--transition-base);
}

.hero-logo-placeholder:hover {
  border-color: var(--terracotta-light);
  background: rgba(200, 85, 61, 0.06);
}

.hero-logo-placeholder .logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: var(--peach);
  filter: blur(80px);
  opacity: 0.15;
  transition: opacity var(--transition-base);
}

.hero-logo-placeholder:hover .logo-glow {
  opacity: 0.25;
}

.hero-logo-placeholder i {
  font-size: 5rem;
  color: var(--terracotta-light);
  opacity: 0.4;
}

.hero-logo-placeholder span {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
  opacity: 0.7;
}

.hero-logo-placeholder img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.hero-logo-placeholder.has-image {
  border-style: solid;
  border-color: var(--gray-200);
}

.hero-logo-placeholder.has-image i,
.hero-logo-placeholder.has-image span {
  display: none;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--gray-400);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: "";
  width: 4px;
  height: 8px;
  background: var(--terracotta);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* ============================================================================
   Featured Products Section
   ============================================================================ */

.featured-products-section {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
  position: relative;
}

.products-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--gray-200);
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--terracotta-light);
  color: var(--terracotta);
}

.filter-btn.active {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

/* Product Cards */
.product-card {
  background: var(--warm-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.product-badge.sale {
  background: var(--terracotta);
  color: white;
}

.product-badge.new {
  background: var(--sage);
  color: white;
}

.product-image {
  height: 200px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--warm-white));
}

.product-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.product-price s {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-right: 4px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.7rem;
  color: var(--peach);
}

.product-rating span {
  color: var(--text-muted);
  margin-left: 4px;
  font-family: var(--font-primary);
}

.btn-add-to-cart {
  width: 100%;
  padding: 0.65rem;
  background: transparent;
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}

.btn-add-to-cart:hover {
  background: var(--charcoal);
  color: var(--cream);
}

/* Reviews Ticker */
.reviews-ticker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.review-card {
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.review-stars {
  color: var(--peach);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.review-author {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .reviews-ticker {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   Section Common Styles
   ============================================================================ */

section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(200, 85, 61, 0.06);
  border: 1px solid rgba(200, 85, 61, 0.15);
  border-radius: var(--radius-pill);
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================================
   Tech Stack Logos Section
   ============================================================================ */

.tech-logos-section {
  padding: 80px 0;
  background: var(--charcoal);
  overflow: hidden;
}

.tech-logos-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.tech-logos-wrapper .section-label {
  background: rgba(242, 192, 120, 0.1);
  border-color: rgba(242, 192, 120, 0.25);
  color: var(--peach);
  margin-bottom: 1rem;
}

.tech-logos-wrapper h3 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.tech-category-row {
  margin-bottom: 2rem;
  text-align: center;
}

.tech-category-label {
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  color: var(--peach);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--peach);
}

.tech-stack-large {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.badge-large {
  background-color: rgba(242, 192, 120, 0.08);
  color: var(--peach-light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  border: 1px solid rgba(242, 192, 120, 0.2);
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  min-width: 80px;
  text-align: center;
}

.badge-large:hover {
  background-color: var(--peach);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 192, 120, 0.3);
}

/* Tech Badge Morph (preserving original morph functionality) */
.badge-large.tech-badge-morphable {
  min-width: 100px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-large .badge-text {
  display: inline-block;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.badge-large .badge-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-large .badge-icon i {
  font-size: 1.5rem;
  color: var(--charcoal);
}

.badge-large .badge-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.badge-large.tech-badge-morphable:hover .badge-text {
  opacity: 0;
  transform: scale(0.8);
}

.badge-large.tech-badge-morphable:hover .badge-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.badge-large.tech-badge-morphable:focus {
  outline: 2px solid var(--peach);
  outline-offset: 2px;
}

.badge-large.tech-badge-morphable:focus .badge-text {
  opacity: 0;
  transform: scale(0.8);
}

.badge-large.tech-badge-morphable:focus .badge-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 767px) {
  .tech-logos-section {
    padding: 60px 0;
  }
  .tech-category-row {
    margin-bottom: 1.5rem;
  }
  .badge-large {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    min-width: 70px;
  }
  .badge-large.tech-badge-morphable {
    min-width: 85px;
    min-height: 38px;
  }
  .badge-large .badge-icon i {
    font-size: 1.25rem;
  }
  .badge-large .badge-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* ============================================================================
   Services Section
   ============================================================================ */

.services-section {
  background: var(--bg-secondary);
}

.service-card {
  height: 100%;
  padding: 2.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--peach));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--terracotta-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
}

.icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--terracotta), var(--peach));
  border-radius: var(--radius-md);
  opacity: 0.08;
  transition: opacity var(--transition-base);
}

.service-card:hover .icon-bg {
  opacity: 0.15;
}

.service-icon-wrapper i {
  position: relative;
  font-size: 2.25rem;
  background: linear-gradient(
    135deg,
    var(--terracotta),
    var(--terracotta-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tags span {
  padding: 0.3rem 0.75rem;
  background: var(--cream);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-pill);
  border: 1px solid var(--gray-200);
}

/* ============================================================================
   Process Section
   ============================================================================ */

.process-section {
  background: var(--bg-primary);
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:not(:last-child) .timeline-connector {
  position: absolute;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 2rem);
  background: linear-gradient(180deg, var(--terracotta-light), transparent);
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding: 2.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
}

.timeline-number {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--terracotta), var(--peach));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 0 25px rgba(200, 85, 61, 0.25);
}

.timeline-item:nth-child(odd) .timeline-number {
  right: -36px;
}

.timeline-item:nth-child(even) .timeline-number {
  left: -36px;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ============================================================================
   Case Studies Section
   ============================================================================ */

.case-studies-section {
  background: var(--bg-secondary);
}

.case-study-card {
  height: 100%;
  padding: 2.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.case-study-card:not(.coming-soon):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.case-study-header {
  margin-bottom: 1.25rem;
}

.case-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(107, 143, 113, 0.08);
  border: 1px solid rgba(107, 143, 113, 0.2);
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.case-study-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
}

.case-study-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.75rem 0;
  padding: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.metric {
  text-align: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--terracotta), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tech-badge {
  padding: 0.3rem 0.75rem;
  background: var(--cream);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-pill);
  border: 1px solid var(--gray-200);
}

/* Coming Soon Card */
.case-study-card.coming-soon {
  background: linear-gradient(
    135deg,
    rgba(200, 85, 61, 0.03),
    rgba(242, 192, 120, 0.05)
  );
  border: 2px dashed var(--terracotta-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-content {
  text-align: center;
}

.coming-soon-content i {
  font-size: 3.5rem;
  color: var(--terracotta-light);
  margin-bottom: 1.25rem;
  opacity: 0.5;
}

.coming-soon-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--charcoal);
  color: var(--cream);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--transition-base);
  margin-top: 1rem;
}

.btn-primary-sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--terracotta);
  color: white;
}

/* ============================================================================
   About Section
   ============================================================================ */

.about-section {
  background: var(--bg-primary);
}

.about-image {
  position: relative;
  height: 600px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-light));
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.image-placeholder i {
  font-size: 8rem;
  color: rgba(242, 192, 120, 0.15);
}

.image-decoration {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.deco-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.deco-card i {
  font-size: 1.75rem;
  color: var(--terracotta);
}

.deco-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.deco-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-handwritten);
  font-size: 0.95rem;
}

.about-content {
  padding-left: 3rem;
}

.about-content .section-label {
  margin-bottom: 1.5rem;
}

.about-content .section-title {
  margin-bottom: 2rem;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-box {
  text-align: center;
  padding: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--terracotta), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

/* Real photo inside the placeholder */
.image-placeholder img.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  filter: contrast(1.05) saturate(0.95) sepia(0.05);
  transition:
    transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 300ms;
}

.about-image:hover img.about-photo {
  transform: scale(1.04);
  filter: contrast(1.08) saturate(1);
}

/* ============================================================================
   Contact Section
   ============================================================================ */

.contact-section {
  background: var(--bg-secondary);
}

.contact-form-wrapper {
  padding: 3rem;
  background: var(--bg-primary);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-weight: var(--font-weight-semibold);
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
  background: var(--warm-white);
  color: var(--charcoal);
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 85, 61, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control.is-invalid {
  border-color: #d64545;
}

.invalid-feedback {
  display: none;
  color: #d64545;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* select dropdown styling */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235C5750' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}

/* Form Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.alert-danger {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
  padding: 3rem 0 2rem;
  background: var(--charcoal);
  color: var(--cream);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
  -webkit-text-fill-color: var(--cream);
  background: none;
}

.footer-left p {
  color: var(--gray-400);
  margin: 0;
  font-size: 0.88rem;
}

.footer-right {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 0.88rem;
}

.footer-link:hover {
  color: var(--peach);
}

.footer-whimsy {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-whimsy p {
  font-family: var(--font-handwritten);
  font-size: 1rem;
  color: var(--gray-500);
  margin: 0;
}

/* ============================================================================
   Theme Switcher & Panel
   ============================================================================ */

.theme-switcher-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  border: none;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  background: var(--charcoal);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  cursor: pointer;
}

.theme-switcher-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: var(--terracotta);
}

.theme-panel {
  background: rgba(44, 42, 39, 0.97);
  backdrop-filter: blur(25px);
}

.theme-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.theme-list a {
  color: var(--cream);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s;
  font-family: var(--font-primary);
}

.theme-list a:hover {
  background: rgba(200, 85, 61, 0.15);
  border-color: var(--terracotta);
  transform: translateX(6px);
}

/* ============================================================================
   Page Transition
   ============================================================================ */

.page-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 5000;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.05),
      transparent 50%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65));
  backdrop-filter: blur(0px);
  transition:
    opacity 0.35s ease,
    backdrop-filter 0.45s ease;
}

body.is-transitioning .page-transition {
  opacity: 1;
  backdrop-filter: blur(6px);
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 1199px) {
  .hero-title {
    font-size: 3.25rem;
  }
  .section-title {
    font-size: 2.35rem;
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 80px;
  }

  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-visual {
    height: 400px;
    margin-top: 3rem;
  }

  .hero-logo {
    width: 700px;
    max-width: 700px;
    height: auto;
    display: block;
    transform: translateY(-40%);
  }

  .hero-logo-placeholder {
    width: 300px;
    height: 300px;
  }

  .hero-logo-placeholder i {
    font-size: 4rem;
  }
  .hero-logo-placeholder span {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .timeline-item .timeline-number,
  .timeline-item:nth-child(even) .timeline-number {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    margin-bottom: 1.5rem;
  }

  .timeline-item:not(:last-child) .timeline-connector {
    display: none;
  }

  .about-content {
    padding-left: 0;
    margin-top: 3rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-primary-glow,
  .btn-outline-white {
    width: 100%;
    justify-content: center;
  }

  .trust-logos {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-logo-placeholder {
    width: 250px;
    height: 250px;
  }

  .hero-logo-placeholder i {
    font-size: 3rem;
  }
  .hero-logo-placeholder span {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .case-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }

  .announcement-bar {
    font-size: 0.72rem;
  }

  /* Hide the fixed cart button at mobile — replaced by the inline nav version */
  .cart-toggle {
    display: none;
  }

  .product-card {
    max-width: 100%;
  }
}

@media (max-width: 450px) {
  .trust-logos {
    flex-direction: row;
    gap: 1rem;
    display: flex;
    flex-wrap: nowrap;
  }
  .hero-logo {
    width: 400px;
    max-width: 700px;
    height: auto;
    display: block;
    transform: translateY(-40%);
  }
  .hero-cta-group {
    margin-bottom: -2rem;
  }
  .hero-section {
    padding-top: 30px;
  }
}
/* ============================================================================
   Utility Classes
   ============================================================================ */

.w-100 {
  width: 100%;
}
.text-center {
  text-align: center;
}
.d-none {
  display: none;
}
.d-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.justify-content-center {
  justify-content: center;
}

/* ============================================================================
   Animation Fixes
   ============================================================================ */

.float-card {
  opacity: 1;
}

.navbar {
  background: rgba(255, 253, 249, 0.92) !important;
  backdrop-filter: blur(20px);
}

.navbar.scrolled {
  background: rgba(255, 253, 249, 0.97) !important;
}


/* ============================================================================
   MAIN parity patch
   ============================================================================ */

body {
  padding-top: 80px;
}

.navbar,
.navbar.scrolled {
  top: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1100;
  background: rgba(255, 253, 249, 0.65);
  backdrop-filter: blur(10px);
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--peach));
  box-shadow: 0 0 18px rgba(200, 85, 61, 0.35);
  transform-origin: left;
  transition: width 0.08s linear;
}

.btn-primary-glow .cta-texts {
  position: relative;
  display: inline-grid;
  place-items: center;
  text-align: center;
}

.btn-primary-glow .cta-text {
  grid-area: 1 / 1;
  display: block;
  transition:
    opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-glow .cta-default {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.btn-primary-glow .cta-hover {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(3px);
}

.btn-primary-glow:hover .cta-default,
.btn-primary-glow:focus-visible .cta-default {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(3px);
}

.btn-primary-glow:hover .cta-hover,
.btn-primary-glow:focus-visible .cta-hover {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.partner-section {
  padding: 72px 0;
  background: var(--bg-primary);
}

.partner-callout {
  position: relative;
  padding: 2.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(200, 85, 61, 0.18);
  background: linear-gradient(
    135deg,
    rgba(200, 85, 61, 0.08),
    rgba(242, 192, 120, 0.08)
  );
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.partner-callout > * {
  position: relative;
  z-index: 2;
}

.partner-callout::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--peach));
}

.partner-callout::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../../assets/images/SavorySuiteLogoNoBG.png");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: min(420px, 46%);
  opacity: 0.08;
  pointer-events: none;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 85, 61, 0.22);
  background: rgba(255, 253, 249, 0.82);
  color: var(--charcoal);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.partner-badge i,
.partner-desc a {
  color: var(--terracotta);
}

.partner-desc a:hover {
  color: var(--terracotta-dark);
}

.partner-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.partner-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 64ch;
}

.partner-btn {
  width: 100%;
  justify-content: center;
}

.partner-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (min-width: 992px) {
  .partner-btn {
    width: auto;
  }
}

@media (max-width: 768px) {
  .partner-callout::after {
    background-position: center 1.25rem;
    background-size: min(340px, 70%);
    opacity: 0.06;
  }
}

@media (max-width: 576px) {
  .partner-callout {
    padding: 2rem;
  }

  .partner-title {
    font-size: 1.85rem;
  }
}