@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --clr-bg: #FBFBFA;
  --clr-surface: #F6F5F4;
  --clr-text: #111214;
  --clr-accent: #2A6F8F;
  --clr-accent-2: #C87E3A;
  --clr-muted: #9DA7A2;
  --clr-white: #FFFFFF;
  --clr-black: #000000;
  
  --font-display: 'Crimson Pro', serif;
  --font-body: 'DM Sans', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  
  --shadow-sm: 0 1px 3px rgba(17, 18, 20, 0.08);
  --shadow-md: 0 4px 12px rgba(17, 18, 20, 0.1);
  --shadow-lg: 0 8px 24px rgba(17, 18, 20, 0.15);
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  
  --baseline: 0.5rem;
  --grid-gap: 2rem;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

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

a:hover {
  color: var(--clr-accent-2);
}

a:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

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

@media (max-width: 968px) {
  img {
    max-width: 100%;
    height: auto;
  }
  
  .card img,
  .product-image img,
  .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  align-items: start;
}

.grid-full { grid-column: 1 / -1; }
.grid-half { grid-column: span 6; }
.grid-third { grid-column: span 4; }
.grid-two-thirds { grid-column: span 8; }
.grid-quarter { grid-column: span 3; }

header {
  position: relative;
  background: var(--clr-white);
  border-bottom: 1px solid rgba(17, 18, 20, 0.08);
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: '';
  width: 3px;
  height: 24px;
  background: linear-gradient(to bottom, var(--clr-accent), var(--clr-accent-2));
  display: block;
}

nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  color: var(--clr-text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-accent);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.contact-email {
  padding: var(--space-xs) var(--space-md);
  background: var(--clr-accent);
  color: var(--clr-white);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.contact-email:hover {
  background: var(--clr-accent-2);
  color: var(--clr-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  transition: all var(--transition);
  display: block;
}

main {
  min-height: 60vh;
}

section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.hero {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--clr-surface) 0%, var(--clr-bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(42, 111, 143, 0.02) 10px,
    rgba(42, 111, 143, 0.02) 20px
  );
  pointer-events: none;
}

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

.hero h1 {
  margin-bottom: var(--space-md);
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--clr-muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.btn-primary {
  background: var(--clr-accent);
  color: var(--clr-white);
}

.btn-primary:hover {
  background: var(--clr-accent-2);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--clr-text);
  border: 2px solid var(--clr-text);
}

.btn-secondary:hover {
  background: var(--clr-text);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--clr-muted);
  margin-top: var(--space-sm);
}

.card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  border: 1px solid rgba(17, 18, 20, 0.06);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-2));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(17, 18, 20, 0.06);
  position: relative;
}

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

.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--clr-surface);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.product-swatches {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  display: flex;
  gap: var(--space-xs);
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clr-white);
  border: 2px solid var(--clr-white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.swatch:hover {
  transform: scale(1.15);
}

.product-info {
  padding: var(--space-md);
}

.product-badges {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.badge {
  padding: 0.25rem 0.75rem;
  background: var(--clr-surface);
  color: var(--clr-text);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-accent {
  background: var(--clr-accent);
  color: var(--clr-white);
}

.badge-thermal {
  background: #E57373;
  color: var(--clr-white);
}

.badge-acoustic {
  background: #81C784;
  color: var(--clr-white);
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.product-description {
  color: var(--clr-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clr-accent);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  position: relative;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--clr-accent),
    var(--clr-accent-2)
  );
}

.timeline-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.timeline-number {
  width: 80px;
  height: 80px;
  background: var(--clr-white);
  border: 3px solid var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-accent);
  margin: 0 auto var(--space-md);
  position: relative;
  box-shadow: var(--shadow-md);
}

.timeline-step h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.timeline-step p {
  color: var(--clr-muted);
  font-size: 0.95rem;
}

.spec-matrix {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

.spec-matrix table {
  width: 100%;
  border-collapse: collapse;
}

.spec-matrix th,
.spec-matrix td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--clr-surface);
}

.spec-matrix th {
  background: var(--clr-accent);
  color: var(--clr-white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.spec-matrix tbody tr:hover {
  background: var(--clr-surface);
}

.spec-matrix td:first-child {
  font-weight: 600;
  color: var(--clr-text);
}

.spec-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(17, 18, 20, 0.06);
  box-shadow: var(--shadow-sm);
}

.spec-card h4 {
  color: var(--clr-accent);
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.spec-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--clr-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.spec-label {
  color: var(--clr-muted);
  font-size: 0.95rem;
}

.spec-value {
  font-weight: 600;
  color: var(--clr-text);
}

.demo-container {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.blind-demo {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 400px;
}

.blind-window {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #87CEEB, #E0F6FF);
  position: relative;
}

.blind-shade {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #3A3A3A, #2A2A2A);
  position: absolute;
  top: 0;
  left: 0;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.blind-shade.closed {
  height: 100%;
}

.demo-controls {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--clr-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(17, 18, 20, 0.15);
  border-radius: var(--radius-md);
  background: var(--clr-white);
  color: var(--clr-text);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(42, 111, 143, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.cta-strip {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-2));
  color: var(--clr-white);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-strip h2 {
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.cta-strip .btn {
  background: var(--clr-white);
  color: var(--clr-accent);
}

.cta-strip .btn:hover {
  background: var(--clr-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 18, 20, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--clr-white);
  color: var(--clr-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.1);
}

footer {
  background: var(--clr-text);
  color: var(--clr-white);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  color: var(--clr-white);
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.legal-page {
  max-width: 800px;
  margin: var(--space-2xl) auto;
  padding: 0 var(--space-lg);
  font-family: sans-serif;
  line-height: 1.6;
  color: #000;
  background: #fff;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page p {
  margin-bottom: var(--space-md);
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content h1 {
  font-size: 6rem;
  color: var(--clr-accent);
  margin-bottom: var(--space-md);
}

@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 var(--space-lg);
  }
  
  .grid {
    gap: var(--space-md);
  }
  
  h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
  
  .product-card {
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .grid {
    gap: var(--space-md);
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .section-header {
    max-width: 100%;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--clr-white);
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    opacity: 0;
    transition: all var(--transition);
    gap: var(--space-md);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
  }
  
  .mobile-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .grid-half,
  .grid-third,
  .grid-two-thirds,
  .grid-quarter {
    grid-column: 1 / -1;
  }
  
  .timeline::before {
    display: none;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  section {
    padding: var(--space-xl) 0;
  }
  
  h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.2;
  }
  
  h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.3;
  }
  
  h3 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    line-height: 1.3;
  }
  
  .hero {
    padding: var(--space-lg) 0 var(--space-xl);
  }
  
  .hero h1 {
    max-width: 100%;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .section-header {
    margin-bottom: var(--space-lg);
    max-width: 100%;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .card {
    padding: var(--space-md);
    margin-bottom: var(--space-md);
  }
  
  .card img {
    max-width: 100%;
    height: auto;
    margin-bottom: var(--space-md);
  }
  
  .product-card {
    margin-bottom: var(--space-lg);
  }
  
  .product-image {
    aspect-ratio: 4/3;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .product-info {
    padding: var(--space-md);
  }
  
  .timeline {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-step {
    margin-bottom: var(--space-md);
  }
  
  .spec-matrix {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-lg) 0;
  }
  
  .spec-matrix table {
    font-size: 0.85rem;
    min-width: 600px;
  }
  
  .spec-matrix th,
  .spec-matrix td {
    padding: var(--space-sm);
    white-space: nowrap;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .gallery-item {
    width: 100%;
  }
  
  .legal-page {
    padding: 0 var(--space-md);
    max-width: 100%;
  }
  
  .legal-page h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .legal-page h2 {
    font-size: 1.5rem;
    margin-top: var(--space-lg);
    line-height: 1.4;
  }
  
  .legal-page p {
    line-height: 1.7;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .footer-section {
    margin-bottom: var(--space-md);
  }
  
  .cta-strip {
    padding: var(--space-xl) 0;
  }
  
  .cta-strip h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .cta-strip p {
    font-size: 1rem;
  }
  
  .demo-container {
    padding: var(--space-lg);
  }
  
  .blind-demo {
    max-width: 100%;
    height: 300px;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xs: 0.4rem;
    --space-sm: 0.8rem;
    --space-md: 1.2rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  section {
    padding: var(--space-lg) 0;
  }
  
  .header-content {
    padding: var(--space-sm) 0;
    flex-wrap: wrap;
  }
  
  .logo {
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  nav {
    flex-shrink: 0;
  }
  
  .nav-links {
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-sm);
  }
  
  .nav-links a {
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
    display: block;
    width: 100%;
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  .hero {
    padding: var(--space-md) 0 var(--space-lg);
  }
  
  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    line-height: 1.5;
  }
  
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  
  .card {
    padding: var(--space-md);
    margin-bottom: var(--space-md);
  }
  
  .card img {
    width: 100%;
    height: auto;
    margin-bottom: var(--space-sm);
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
  }
  
  .product-card {
    margin-bottom: var(--space-md);
  }
  
  .product-image {
    aspect-ratio: 4/3;
  }
  
  .product-info {
    padding: var(--space-sm);
  }
  
  .product-price {
    font-size: 1.1rem;
  }
  
  .section-header {
    margin-bottom: var(--space-md);
    padding: 0 var(--space-xs);
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer-section {
    margin-bottom: var(--space-md);
  }
  
  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
  }
  
  .footer-links {
    font-size: 0.9rem;
  }
  
  .legal-page {
    padding: 0 var(--space-sm);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .legal-page h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    line-height: 1.3;
  }
  
  .legal-page h2 {
    font-size: 1.25rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
  }
  
  .legal-page p {
    margin-bottom: var(--space-sm);
    line-height: 1.6;
  }
  
  .legal-page ul {
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
  }
  
  .legal-page li {
    margin-bottom: var(--space-xs);
    line-height: 1.6;
  }
  
  .form-group {
    margin-bottom: var(--space-md);
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: var(--space-sm);
    font-size: 0.95rem;
    width: 100%;
  }
  
  .spec-matrix {
    font-size: 0.75rem;
    margin: var(--space-md) 0;
  }
  
  .spec-matrix table {
    min-width: 500px;
  }
  
  .spec-matrix th,
  .spec-matrix td {
    padding: var(--space-xs);
    font-size: 0.75rem;
  }
  
  .timeline {
    gap: var(--space-sm);
    padding: var(--space-md) 0;
  }
  
  .timeline-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }
  
  .timeline-step h3 {
    font-size: 1.1rem;
  }
  
  .timeline-step p {
    font-size: 0.9rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .gallery-item {
    margin-bottom: var(--space-sm);
  }
  
  .product-swatches {
    bottom: var(--space-xs);
    left: var(--space-xs);
    gap: 0.25rem;
  }
  
  .swatch {
    width: 22px;
    height: 22px;
  }
  
  .cta-strip {
    padding: var(--space-lg) 0;
  }
  
  .cta-strip h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }
  
  .cta-strip p {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
  }
  
  .demo-container {
    padding: var(--space-md);
  }
  
  .blind-demo {
    height: 250px;
    margin-bottom: var(--space-md);
  }
  
  .demo-controls {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .demo-controls .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  section {
    padding: var(--space-lg) 0;
  }
  
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .hero {
    padding: var(--space-md) 0 var(--space-lg);
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
  }
  
  .spec-matrix {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .spec-matrix table {
    min-width: 550px;
  }
  
  .demo-controls {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .demo-controls .btn {
    width: 100%;
  }
  
  .card img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 360px) {
  :root {
    --space-xs: 0.35rem;
    --space-sm: 0.7rem;
    --space-md: 1rem;
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
    --space-2xl: 2.5rem;
    --grid-gap: 0.875rem;
  }
  
  .container {
    padding: 0 var(--space-xs);
  }
  
  .header-content {
    padding: var(--space-xs) 0;
  }
  
  .logo {
    font-size: 1.15rem;
  }
  
  .nav-links {
    padding: var(--space-sm);
    gap: var(--space-xs);
  }
  
  .nav-links a {
    font-size: 0.85rem;
  }
  
  .contact-email {
    font-size: 0.75rem;
    padding: 0.25rem var(--space-xs);
  }
  
  h1 {
    font-size: 1.85rem;
    margin-bottom: var(--space-sm);
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
  }
  
  .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.85rem;
  }
  
  .card {
    padding: var(--space-sm);
  }
  
  .product-info {
    padding: var(--space-xs);
  }
  
  .product-price {
    font-size: 1rem;
  }
  
  .section-header {
    margin-bottom: var(--space-sm);
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .footer-section h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
  }
  
  .footer-links {
    font-size: 0.85rem;
  }
  
  .legal-page {
    padding: 0 var(--space-xs);
    font-size: 0.9rem;
  }
  
  .legal-page h1 {
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
  }
  
  .legal-page h2 {
    font-size: 1.15rem;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-xs);
  }
  
  .legal-page p {
    margin-bottom: var(--space-xs);
    line-height: 1.5;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: var(--space-xs);
    font-size: 0.9rem;
  }
  
  .spec-matrix {
    font-size: 0.75rem;
  }
  
  .spec-matrix th,
  .spec-matrix td {
    padding: 0.25rem;
  }
  
  .timeline-number {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }
  
  .gallery-item {
    margin-bottom: var(--space-sm);
  }
  
  .product-swatches {
    bottom: var(--space-xs);
    left: var(--space-xs);
  }
  
  .swatch {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 320px) {
  :root {
    --space-xs: 0.3rem;
    --space-sm: 0.6rem;
    --space-md: 0.9rem;
    --space-lg: 1.1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --grid-gap: 0.75rem;
  }
  
  .container {
    padding: 0 var(--space-xs);
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .nav-links a {
    font-size: 0.8rem;
  }
  
  .contact-email {
    font-size: 0.7rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.15rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .btn {
    font-size: 0.8rem;
    padding: 0.4rem var(--space-xs);
  }
  
  .legal-page h1 {
    font-size: 1.5rem;
  }
  
  .legal-page h2 {
    font-size: 1.1rem;
  }
  
  .spec-matrix {
    font-size: 0.7rem;
  }
  
  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

