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

:root {
  --primary: #1a1a2e;
  --accent: #d4a574;
  --light: #f5f5f0;
  --text: #2d2d2d;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-unique {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  position: relative;
  transition: all 0.3s;
  z-index: 99;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

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

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #2d2d45 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../sisustuskuvat/hero-living-room.png') center/cover;
  opacity: 0.15;
  z-index: 0;
}

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

.hero-content {
  max-width: 650px;
  color: #fff;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero-highlight {
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
}

section {
  padding: 40px 0;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 700;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--secondary);
}

p {
  margin-bottom: 12px;
}

.features {
  background: var(--light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  background: #fff;
  padding: 30px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.category-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  border: 2px solid transparent;
}

.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.category-card h3 {
  margin-bottom: 10px;
}

.category-card p {
  margin-bottom: 16px;
  font-size: 13px;
}

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

.benefits-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
}

.benefits-list li:before {
  content: '';
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: 10px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  line-height: 50px;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 20px;
}

.showcase {
  background: var(--light);
  text-align: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.showcase-item {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.showcase-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.testimonial {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

.testimonial h2 {
  color: #fff;
}

.testimonial-content {
  max-width: 700px;
  margin: 30px auto 0;
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  margin-top: 20px;
  font-weight: 600;
  color: var(--accent);
}

.newsletter {
  background: var(--light);
  text-align: center;
}

footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--accent);
}

.footer-col p {
  font-size: 13px;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.85;
  transition: all 0.3s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  opacity: 0.8;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d2d45 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(212, 165, 116, 0.1) 100%
  );
}

.page-hero h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 15px;
  opacity: 0.95;
}

.products {
  background: var(--light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
}

.product-card h3 {
  padding: 16px 16px 8px;
  font-size: 18px;
}

.product-card p {
  padding: 0 16px;
  font-size: 13px;
}

.product-card .price {
  padding: 8px 16px;
  font-size: 20px;
  font-weight: bold;
  color: var(--accent);
}

.product-card .btn {
  margin: 16px;
  display: block;
  text-align: center;
}

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

.features-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
}

.features-list li:before {
  content: '';
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: 10px;
}

.cta-secondary {
  background: var(--light);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.info-item {
  margin-bottom: 20px;
}

.info-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.info-item p {
  font-size: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.checkbox-group input[type='checkbox'] {
  margin-top: 4px;
}

.checkbox-group span {
  font-size: 13px;
}

.checkbox-group a {
  color: var(--accent);
}

.map-section {
  background: var(--light);
}

.map-wrapper {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thankyou-page,
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  padding: 20px;
}

.thankyou-content,
.error-content {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.thankyou-icon {
  font-size: 60px;
  color: var(--success);
  margin-bottom: 20px;
}

.error-content h1 {
  font-size: 80px;
  color: var(--primary);
  margin-bottom: 10px;
}

.error-content h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.thankyou-actions,
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.thankyou-extra {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.phone-highlight {
  font-size: 18px;
  font-weight: bold;
  color: var(--accent);
}

.policy-page {
  padding: 40px 0;
}

.policy-page h1 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--primary);
}

.policy-page h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--primary);
}

.policy-page h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--secondary);
}

.policy-page ul,
.policy-page ol {
  margin-left: 20px;
  margin-bottom: 12px;
}

.policy-page li {
  margin-bottom: 6px;
  font-size: 14px;
}

.policy-page a {
  color: var(--accent);
  text-decoration: underline;
}

.update-date {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 20px;
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 20px;
  z-index: 1000;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.privacy-popup.show {
  display: block;
}

.privacy-content {
  max-width: 1200px;
  margin: 0 auto;
}

.privacy-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--accent);
}

.privacy-content p {
  margin: 0 0 16px 0;
  font-size: 13px;
  line-height: 1.6;
}

.privacy-content a {
  color: var(--accent);
  text-decoration: underline;
}

.privacy-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-accept,
.btn-reject,
.btn-settings {
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

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

.btn-accept:hover {
  background: #c49564;
}

.btn-reject {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-settings {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-settings:hover {
  background: rgba(212, 165, 116, 0.1);
}

.cookie-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  max-width: 500px;
  width: 90%;
  display: none;
}

.cookie-settings.show {
  display: block;
}

.settings-content h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary);
}

.cookie-option {
  margin-bottom: 16px;
  padding: 12px;
  background: var(--light);
  border-radius: 6px;
}

.cookie-option label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.cookie-option input[type='checkbox'] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cookie-option input[type='checkbox']:disabled {
  cursor: not-allowed;
}

.cookie-option span {
  font-size: 13px;
  line-height: 1.5;
}

.btn-save {
  width: 100%;
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s;
}

.btn-save:hover {
  background: #c49564;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
  }
  .nav.active {
    display: flex;
  }
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
  h2 {
    font-size: 24px;
  }
  .product-grid,
  .category-grid,
  .feature-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .thankyou-content,
  .error-content {
    padding: 30px 20px;
  }
  .error-content h1 {
    font-size: 60px;
  }
  .thankyou-actions,
  .error-actions {
    flex-direction: column;
  }
  .privacy-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
  .hero {
    min-height: 60vh;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
  section {
    padding: 30px 0;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 16px;
  }
  .btn,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 13px;
  }
  .feature-item,
  .category-card {
    padding: 20px;
  }
  .product-card h3 {
    font-size: 16px;
  }
  .product-card .price {
    font-size: 18px;
  }
  .showcase-number {
    font-size: 28px;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }
  .hero {
    min-height: 50vh;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero p {
    font-size: 14px;
  }
  h2 {
    font-size: 20px;
  }
  .logo {
    font-size: 16px;
  }
  .btn,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 12px;
  }
  .feature-item,
  .category-card,
  .showcase-item {
    padding: 16px;
  }
}
