/* Quality Foam - Static Site Styles */

/* 3D Viewer Title Group */
.viewer-3d-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.viewer-3d-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(215, 25%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 25%, 15%);
  --primary: hsl(152, 45%, 28%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(215, 50%, 18%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(150, 20%, 96%);
  --muted-foreground: hsl(215, 15%, 45%);
  --accent: hsl(152, 35%, 92%);
  --accent-foreground: hsl(152, 45%, 25%);
  --border: hsl(150, 15%, 88%);
  --radius: 0.75rem;
  --gradient-hero: linear-gradient(135deg, hsl(152, 45%, 28%) 0%, hsl(215, 50%, 18%) 100%);
  --shadow-soft: 0 4px 20px -4px hsla(215, 50%, 18%, 0.1);
  --shadow-elevated: 0 12px 40px -8px hsla(215, 50%, 18%, 0.15);
  --whatsapp-green: hsl(142, 70%, 45%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: var(--background);
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

/* Hero header variant - white text when not scrolled */
.header.header--hero:not(.scrolled) {
  background: hsla(210, 60%, 15%, 0.85);
}

.header.header--hero:not(.scrolled) .nav a {
  color: white;
  opacity: 1;
}

.header.header--hero:not(.scrolled) .nav a:hover,
.header.header--hero:not(.scrolled) .nav a.active {
  color: white;
  background: hsla(0, 0%, 100%, 0.15);
}

.header.header--hero:not(.scrolled) .logo-text {
  color: white;
}

.header.header--hero:not(.scrolled) .mobile-menu-btn {
  background: hsla(0, 0%, 100%, 0.15);
  color: white;
}

.header.header--hero:not(.scrolled) .mobile-menu-btn:hover {
  background: hsla(0, 0%, 100%, 0.25);
}

.header.header--hero:not(.scrolled) .btn-primary {
  background: white;
  color: var(--primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-hero);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-soft);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.2;
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav a {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--foreground);
  opacity: 0.8;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: var(--accent);
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: hsl(152, 45%, 24%);
  box-shadow: var(--shadow-elevated);
}

.btn-hero {
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elevated);
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

.btn-hero:hover {
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-hero-outline {
  background: transparent;
  border: 2px solid hsla(0, 0%, 100%, 0.3);
  color: var(--primary-foreground);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-hero-outline:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: white;
}

.btn-whatsapp:hover {
  background: hsl(142, 70%, 40%);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: block;
  }
}

/* Animated Hamburger Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--muted);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: var(--foreground);
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.hamburger {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform-origin: center;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Navigation Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 340px;
  background: var(--background);
  z-index: 100;
  padding: 0;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 32px hsla(0, 0%, 0%, 0.2);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--muted) 0%, var(--background) 100%);
}

.mobile-nav-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-header .logo-img {
  width: 36px;
  height: 36px;
}

.mobile-nav-header .logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.mobile-nav-links {
  flex: 1;
  padding: 1.25rem 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
  opacity: 0;
  transform: translateX(20px);
}

.mobile-nav.active .mobile-nav-links a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.active .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-links a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav-links a:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-links a:hover {
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  color: var(--primary);
  border-left-color: var(--primary);
}

.mobile-nav-links a.active {
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.mobile-nav-links a svg {
  width: 22px;
  height: 22px;
  opacity: 0.6;
  transition: all 0.25s ease;
}

.mobile-nav-links a:hover svg,
.mobile-nav-links a.active svg {
  opacity: 1;
  color: var(--primary);
}

.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, var(--muted) 0%, var(--background) 100%);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.35s;
}

.mobile-nav.active .mobile-nav-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-footer .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: var(--gradient-hero);
  color: var(--primary-foreground);
  box-shadow: 0 4px 16px hsla(152, 45%, 28%, 0.3);
  transition: all 0.3s ease;
}

.mobile-nav-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(152, 45%, 28%, 0.4);
}

.mobile-nav-footer .btn:active {
  transform: translateY(0);
}

.mobile-close-btn {
  width: 44px;
  height: 44px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.mobile-close-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.mobile-close-btn:active {
  transform: rotate(90deg) scale(0.95);
}

/* Mobile menu overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsla(215, 50%, 10%, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
  .mobile-nav-overlay {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(215, 50%, 18%, 0.95), hsla(215, 50%, 18%, 0.8), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  max-width: 42rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsla(152, 45%, 28%, 0.2);
  color: var(--primary-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  border: 1px solid hsla(152, 45%, 28%, 0.3);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.8);
  max-width: 32rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.25rem;
    line-height: 1.7;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-motto {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  background: hsla(152, 45%, 28%, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid hsla(152, 45%, 28%, 0.3);
  margin-top: 1rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 4rem 0;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 640px) {
  .section-header {
    margin: 0 auto 2.5rem;
  }
}

@media (min-width: 768px) {
  .section-header {
    margin: 0 auto 3rem;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin: 0 auto 4rem;
  }
}

.section-label {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 480px) {
  .section-title {
    font-size: 2rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.125rem;
  }
}

.bg-subtle {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.bg-accent {
  background: var(--accent);
}

.bg-gradient-hero {
  background: var(--gradient-hero);
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .feature-card {
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1rem;
  }
}

.feature-card:hover {
  box-shadow: var(--shadow-elevated);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
  }
}

.feature-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--primary);
}

@media (min-width: 640px) {
  .feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.feature-content h3 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

@media (min-width: 640px) {
  .feature-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}

.feature-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .products-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: all 0.5s ease;
}

@media (min-width: 640px) {
  .product-card {
    border-radius: 1rem;
  }
}

.product-card:hover {
  box-shadow: var(--shadow-elevated);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--muted);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.6875rem;
  font-weight: 500;
  border-radius: 0.25rem;
}

@media (min-width: 640px) {
  .product-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.375rem;
  }
}

.product-content {
  padding: 1rem;
}

@media (min-width: 640px) {
  .product-content {
    padding: 1.25rem;
  }
}

@media (min-width: 768px) {
  .product-content {
    padding: 1.5rem;
  }
}

.product-content h3 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .product-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 768px) {
  .product-content h3 {
    font-size: 1.25rem;
  }
}

.product-card:hover .product-content h3 {
  color: var(--primary);
}

.product-content p {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .product-content p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
}

.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .product-sizes {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
}

.product-size {
  padding: 0.1875rem 0.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.6875rem;
  font-weight: 500;
  border-radius: 9999px;
}

@media (min-width: 640px) {
  .product-size {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
}

.product-footer {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .product-footer {
    padding-top: 1rem;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .testimonials-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.testimonial-card {
  background: var(--card);
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .testimonial-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .testimonial-stars {
    gap: 0.25rem;
    margin-bottom: 1rem;
  }
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--primary);
  color: var(--primary);
}

@media (min-width: 640px) {
  .testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.testimonial-content {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .testimonial-content {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
  }
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .testimonial-author {
    font-size: 1rem;
  }
}

.testimonial-role {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .testimonial-role {
    font-size: 0.875rem;
  }
}

/* CTA Section */
.cta-section {
  padding: 3rem 0;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-section {
    padding: 4rem 0;
  }
}

@media (min-width: 768px) {
  .cta-section {
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 6rem 0;
  }
}

.cta-section h2 {
  font-size: 1.75rem;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cta-section h2 {
    font-size: 3rem;
  }
}

.cta-section p {
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 0.9375rem;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .cta-section p {
    font-size: 1rem;
    margin: 0 auto 2rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .cta-section p {
    font-size: 1.25rem;
    margin: 0 auto 2.5rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-white {
  background: var(--background);
  color: var(--foreground);
}

.btn-white:hover {
  background: hsla(0, 0%, 100%, 0.9);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 2.5rem 0 0;
}

@media (min-width: 640px) {
  .footer {
    padding: 3rem 0 0;
  }
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 0 0;
  }
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    gap: 3rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand .logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 1.5rem 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: hsla(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .footer h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 768px) {
  .footer h4 {
    margin-bottom: 1.5rem;
  }
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: hsla(0, 0%, 100%, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-contact-label {
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 0.875rem;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: hsla(0, 0%, 100%, 0.1);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  color: var(--secondary-foreground);
  margin-bottom: 0.75rem;
}

.footer-newsletter input::placeholder {
  color: hsla(0, 0%, 100%, 0.5);
}

.footer-newsletter button {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    padding: 1.75rem 0;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    padding: 2rem 0;
    text-align: left;
  }
}

.footer-bottom p {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom p {
    font-size: 0.875rem;
  }
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-legal {
    gap: 1.5rem;
  }
}

.footer-legal a {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.75rem;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .footer-legal a {
    font-size: 0.875rem;
  }
}

.footer-legal a:hover {
  color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  background: var(--whatsapp-green);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elevated);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
  .whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
  }
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

@media (min-width: 640px) {
  .whatsapp-btn svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* Page Headers */
.page-header {
  padding: 6rem 0 2.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .page-header {
    padding: 7rem 0 3rem;
  }
}

@media (min-width: 768px) {
  .page-header {
    padding: 8rem 0 4rem;
  }
}

.page-header .section-title {
  font-size: 1.75rem;
}

@media (min-width: 480px) {
  .page-header .section-title {
    font-size: 2rem;
  }
}

@media (min-width: 640px) {
  .page-header .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .page-header .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .page-header .section-title {
    font-size: 3.5rem;
  }
}

/* About Hero with Team Photo */
.about-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-hero {
    min-height: 500px;
  }
}

@media (min-width: 1024px) {
  .about-hero {
    min-height: 550px;
  }
}

.about-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    hsl(210, 60%, 15%) 0%,
    hsla(210, 50%, 20%, 0.85) 30%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero .section-label {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.about-hero .section-title {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.about-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}


.product-detail {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .product-detail {
    flex-direction: row;
    gap: 4rem;
  }

  .product-detail:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.product-detail-image {
  flex: 1;
  width: 100%;
}

.product-detail-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elevated);
}

.product-detail-content {
  flex: 1;
}

.product-detail-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .product-detail-content h2 {
    font-size: 2.5rem;
  }
}

.product-detail-content > p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-detail h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-detail-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-detail-sizes span {
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.product-features .check-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: hsla(152, 45%, 28%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-features .check-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.product-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-buttons {
    flex-direction: row;
  }
}

/* Size Table */
.size-table-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .size-table-container {
    padding: 0;
  }
}

.size-table-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .size-table-header {
    margin-bottom: 2rem;
  }
}

.size-table-header h2 {
  font-size: 1.125rem;
}

@media (min-width: 640px) {
  .size-table-header h2 {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .size-table-header h2 {
    font-size: 1.5rem;
  }
}

.size-table-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .size-table-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
  }
}

.size-table-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

@media (min-width: 640px) {
  .size-table-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.table-wrapper {
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-soft);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

@media (min-width: 768px) {
  table {
    min-width: auto;
  }
}

thead {
  background: var(--muted);
}

th {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 0.875rem 1rem;
  color: var(--foreground);
  font-size: 0.8125rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  th {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  th {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
}

td {
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  td {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  td {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
}

tr:hover {
  background: hsla(152, 35%, 92%, 0.3);
}

td:first-child {
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
}

.info-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--accent);
  border: 1px solid hsla(152, 45%, 28%, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-box svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.info-box p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.info-box strong {
  color: var(--foreground);
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .specs-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.spec-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .spec-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }
}

@media (min-width: 768px) {
  .spec-card {
    padding: 2rem;
  }
}

.spec-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .spec-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 768px) {
  .spec-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

.spec-list {
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .spec-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
  }
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-list .spec-label {
  color: var(--muted-foreground);
}

.spec-list .spec-value {
  font-weight: 500;
  text-align: right;
}

/* About Page */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .mission-vision {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mission-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elevated);
}

.mission-card.primary {
  background: var(--gradient-hero);
}

.mission-card.primary .mission-icon {
  background: hsla(0, 0%, 100%, 0.2);
}

.mission-card.primary .mission-icon svg {
  color: var(--primary-foreground);
}

.mission-card.primary h2 {
  color: var(--primary-foreground);
}

.mission-card.primary p {
  color: hsla(0, 0%, 100%, 0.9);
}

.mission-card.secondary {
  background: var(--card);
  border: 1px solid var(--border);
}

.mission-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mission-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.mission-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mission-card p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  box-shadow: var(--shadow-elevated);
}

.value-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-left: 4rem;
}

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
    justify-content: center;
  }

  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
  }
}

.timeline-dot {
  position: absolute;
  left: 2rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  border-radius: 9999px;
  border: 4px solid var(--background);
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
  z-index: 10;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
  }
}

.timeline-content {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .timeline-content {
    flex: 1;
    max-width: calc(50% - 2rem);
  }
}

.timeline-year {
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.timeline-event {
  margin-top: 0.5rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .contact-grid {
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-form-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
  }
}

.contact-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

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

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--background);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(152, 45%, 28%, 0.1);
}

textarea {
  resize: none;
  min-height: 120px;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-info > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-elevated);
}

.contact-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.contact-card h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card p, .contact-card a {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--primary);
}

.contact-map {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border);
  min-height: 400px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Utilities */
.text-center { text-align: center; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; padding: 0 1rem; }
@media (min-width: 640px) {
  .max-w-3xl { padding: 0; }
}
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* Additional mobile utilities */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: hsla(215, 50%, 10%, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--background);
  border-radius: 1.5rem;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px hsla(215, 50%, 10%, 0.5);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-body {
  padding: 2rem;
}

.modal-body h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  padding-right: 3rem;
}

.modal-body > p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.modal-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.modal-images img:hover {
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .modal-images {
    grid-template-columns: 1fr;
  }
  
  .modal-images img {
    height: 200px;
  }
}

/* Price Calculator */
.modal-price-calculator {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--muted) 100%);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.modal-price-calculator h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--foreground);
}

.price-selector-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.price-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-selector label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}

.selector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.selector-pill {
  padding: 0.625rem 1rem;
  border: 2px solid var(--border);
  background: var(--background);
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--foreground);
}

.selector-pill:hover:not(.disabled) {
  border-color: var(--primary);
  background: var(--accent);
}

.selector-pill.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.selector-pill.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--muted);
}

.price-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--background);
  border-radius: 0.75rem;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.price-display.has-price {
  border-color: var(--primary);
  background: linear-gradient(135deg, hsla(152, 45%, 28%, 0.05) 0%, var(--background) 100%);
}

.price-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted-foreground);
}

.price-value {
  font-size: 1rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.price-value.has-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
  font-family: 'Outfit', sans-serif;
}

@media (max-width: 480px) {
  .modal-price-calculator {
    padding: 1rem;
  }
  
  .selector-pill {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .price-display {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .price-value.has-price {
    font-size: 1.5rem;
  }
}

.modal-specs {
  margin-bottom: 2rem;
}

.modal-specs h3,
.modal-features h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.modal-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--muted);
  border-radius: 0.75rem;
  overflow: hidden;
}

.modal-table th,
.modal-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.modal-table th {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-table tbody tr:last-child td {
  border-bottom: none;
}

.modal-table tbody tr:hover {
  background: var(--accent);
}

.modal-features {
  margin-bottom: 2rem;
}

.modal-features ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  border-radius: 0.5rem;
  font-weight: 500;
}

.modal-features li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-actions .btn {
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

/* 3D Viewer Modal */
.viewer-3d-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(0, 0%, 0%, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.viewer-3d-modal.active {
  opacity: 1;
  visibility: visible;
}

.viewer-3d-content {
  width: 95%;
  max-width: 1200px;
  height: 85vh;
  max-height: 800px;
  background: var(--background);
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 100px -20px hsla(0, 0%, 0%, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.viewer-3d-modal.active .viewer-3d-content {
  transform: scale(1) translateY(0);
}

.viewer-3d-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--primary-foreground);
}

.viewer-3d-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.viewer-3d-header h2 svg {
  width: 24px;
  height: 24px;
}

.viewer-3d-close {
  width: 40px;
  height: 40px;
  background: hsla(0, 0%, 100%, 0.15);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  transition: all 0.3s ease;
}

.viewer-3d-close:hover {
  background: hsla(0, 0%, 100%, 0.25);
  transform: rotate(90deg);
}

.viewer-3d-close svg {
  width: 20px;
  height: 20px;
}

.viewer-3d-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 768px) {
  .viewer-3d-body {
    flex-direction: row;
  }
}

.viewer-3d-container {
  flex: 1;
  min-height: 300px;
  background: linear-gradient(135deg, hsl(210, 20%, 96%) 0%, hsl(210, 15%, 92%) 100%);
  position: relative;
}

.viewer-3d-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.viewer-3d-controls {
  width: 100%;
  padding: 1.5rem;
  background: var(--muted);
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

@media (min-width: 768px) {
  .viewer-3d-controls {
    width: 320px;
    border-top: none;
    border-left: 1px solid var(--border);
  }
}

.viewer-controls-section {
  margin-bottom: 1.5rem;
}

.viewer-controls-section:last-child {
  margin-bottom: 0;
}

.viewer-controls-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* Color Picker Styles */
.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.color-picker-input {
  width: 60px;
  height: 60px;
  border: 3px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.color-picker-input:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.color-picker-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker-input::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}

.color-picker-input::-moz-color-swatch {
  border: none;
  border-radius: 8px;
}

.hex-input-wrapper {
  flex: 1;
}

.hex-input-wrapper label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.hex-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: monospace;
  text-transform: uppercase;
  background: var(--background);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.hex-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(152, 45%, 28%, 0.15);
}

/* Color Presets */
.color-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.color-preset {
  aspect-ratio: 1;
  border: 3px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.color-preset:hover {
  transform: scale(1.1);
  border-color: var(--foreground);
}

.color-preset.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(152, 45%, 28%, 0.3);
}

.color-preset::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.3) 0%, transparent 50%);
  border-radius: 7px;
}

/* Viewer Instructions */
.viewer-instructions {
  padding: 1rem;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.viewer-instruction {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.viewer-instruction svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* View 3D Button */
.btn-3d {
  background: linear-gradient(135deg, hsl(260, 60%, 50%) 0%, hsl(200, 80%, 45%) 100%);
  color: white;
  box-shadow: 0 4px 15px hsla(230, 70%, 50%, 0.3);
}

.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(230, 70%, 50%, 0.4);
}

.btn-3d svg {
  width: 18px;
  height: 18px;
}

/* Reset View Button */
.btn-reset {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.btn-reset:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-reset svg {
  width: 18px;
  height: 18px;
}

/* Loading state for 3D viewer */
.viewer-3d-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: inherit;
  gap: 1rem;
}

.viewer-3d-loading .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.viewer-3d-loading p {
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ===== Mobile Fit Fixes ===== */

/* Prevent horizontal overflow on all pages */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Break long words/emails/URLs */
a, p, span, td, li {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Product detail mobile spacing */
@media (max-width: 767px) {
  .product-detail {
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .product-detail-content h2 {
    font-size: 1.5rem;
  }

  .product-detail-content > p {
    font-size: 1rem;
  }
}

/* Mission cards mobile padding */
@media (max-width: 639px) {
  .mission-card {
    padding: 1.5rem;
  }

  .mission-card h2 {
    font-size: 1.25rem;
  }

  .mission-card p {
    font-size: 1rem;
  }
}

/* Modal mobile fixes */
@media (max-width: 639px) {
  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .modal-content {
    border-radius: 1rem 1rem 0 0;
    max-height: 95vh;
  }

  .modal-body {
    padding: 1.25rem;
  }

  .modal-body h2 {
    font-size: 1.375rem;
    padding-right: 2.5rem;
  }

  .modal-body > p {
    font-size: 0.9375rem;
  }

  .modal-specs h3,
  .modal-features h3 {
    font-size: 1.0625rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    min-width: auto;
    width: 100%;
  }
}

/* Value cards mobile */
@media (max-width: 639px) {
  .value-card {
    padding: 1.25rem;
  }

  .value-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }

  .value-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .value-card h3 {
    font-size: 1.0625rem;
  }
}

/* Contact cards mobile */
@media (max-width: 639px) {
  .contact-card {
    padding: 1rem;
    gap: 1rem;
  }

  .contact-card-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .contact-card-icon svg {
    width: 1.375rem;
    height: 1.375rem;
  }

  .contact-card h4 {
    font-size: 0.9375rem;
  }

  .contact-card p,
  .contact-card a {
    font-size: 0.875rem;
  }
}

/* Footer email on mobile */
@media (max-width: 480px) {
  .footer-contact a,
  .footer-contact span {
    font-size: 0.8125rem;
  }
}

/* Sizes page table scroll hint */
@media (max-width: 639px) {
  .table-wrapper {
    border-radius: 0.75rem;
  }

  .size-table-container {
    padding: 0;
  }

  .info-box {
    padding: 1rem;
    gap: 0.625rem;
  }

  .info-box p {
    font-size: 0.8125rem;
  }
}

/* CTA buttons full-width on small mobile */
@media (max-width: 480px) {
  .cta-buttons .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }

  .btn-xl {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* 3D viewer modal mobile */
@media (max-width: 767px) {
  .viewer-3d-content {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .viewer-3d-header {
    padding: 1rem;
  }

  .viewer-3d-header h2 {
    font-size: 1rem;
  }

  .viewer-3d-controls {
    padding: 1rem;
    max-height: 40vh;
  }
}

/* Hero section mobile padding */
@media (max-width: 639px) {
  .hero-content {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* About hero mobile */
@media (max-width: 639px) {
  .about-hero {
    min-height: 350px;
  }

  .about-hero .section-subtitle {
    font-size: 0.875rem;
  }
}
