:root{
  --dark:#443E3B;
  --gold:#de9e00;
  --bg:#f6f3ee;
  --white:#fff;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:'Montserrat', sans-serif;
  font-size:18px;
  line-height:1.7;
  background:var(--bg);
  color:var(--dark);
}

header{
  background:#fff;
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 4px 20px rgba(0,0,0,.08);
  position:sticky;
  top:0;
  z-index:10;
}

.logo{
  height:58px;
  max-width:220px;
  object-fit:contain;
}

nav a{
  margin-left:22px;
  color:var(--dark);
  font-size:1rem;
  font-weight:800;
  text-decoration:none;
}

nav a:hover{
  color:var(--gold);
}

.hero{
  max-width:1400px;
  margin:auto;
  padding:55px 22px 20px;
  text-align:center;
}

h1{
  font-size:clamp(2.2rem,4vw,4.5rem);
  line-height:1.05;
  margin:0 0 18px;
  font-weight:900;
}

.lead{
  font-size:clamp(1.1rem,1.8vw,1.5rem);
  max-width:850px;
  margin:0 auto 28px;
  line-height:1.55;
}

.hero-buttons{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:35px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 26px;
  border-radius:999px;
  font-size:1.05rem;
  font-weight:900;
  text-decoration:none;
  transition:.2s;
}

.btn-primary{
  background:var(--gold);
  color:var(--dark);
}

.btn-primary:hover{
  background:var(--dark);
  color:#fff;
  transform:translateY(-2px);
}

.btn-secondary{
  background:#fff;
  color:var(--dark);
  border:2px solid rgba(68,62,59,.16);
}

.btn-secondary:hover{
  border-color:var(--gold);
  transform:translateY(-2px);
}

/* 3D / AR */

.viewer-section{
  max-width:1400px;
  margin:25px auto 45px;
  padding:0 20px;
}

.viewer-card{
  background:#fff;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 48px rgba(0,0,0,.14);
}

.viewer-header{
  text-align:center;
  padding:32px 20px 20px;
}

.viewer-badge{
  display:inline-block;
  background:#de9e00;
  color:#443E3B;
  font-weight:900;
  padding:10px 20px;
  border-radius:999px;
  margin-bottom:16px;
}

.viewer-header h1{
  margin:0 0 10px;
  font-size:clamp(2.4rem,6vw,5rem);
  color:#443E3B;
}

.viewer-header h2{
  margin:0 0 8px;
  font-size:clamp(1.6rem,3vw,3rem);
  font-weight:900;
}

.viewer-header p{
  max-width:760px;
  margin:0 auto;
  font-size:clamp(1.05rem,2vw,1.35rem);
  line-height:1.5;
  color:#5f5753;
  font-weight:700;
}

model-viewer{
  width:100%;
  height:650px;
  background:linear-gradient(
    180deg,
    #f8fafc 0%,
    #eef2f7 100%
  );
}

#ar-button{
  background:#de9e00;
  color:#443E3B;
  border:none;
  border-radius:999px;
  padding:14px 24px;
  font-weight:900;
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}

.viewer-info{
  width:100%;
  display:block;
  text-align:center;
  margin:0 auto;
  padding:24px;
  background:#443E3B;
  color:#fff;
}

.viewer-info strong{
  display:block;
  text-align:center;
  color:#de9e00;
  font-size:1.3rem;
  margin-bottom:10px;
}

.viewer-info span{
  display:block;
  text-align:center;
  max-width:850px;
  margin:0 auto;
  color:#fff;
  line-height:1.6;
}

/* Yleiset osiot */

.section{
  max-width:1400px;
  margin:0 auto 45px;
  padding:0 22px;
}

/* Hyötykortit */

.benefits{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
  margin:50px auto;
}

.card{
  background:#fff;
  border-radius:24px;
  padding:30px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:.25s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.card h3{
  color:#443E3B;
  margin-top:0;
  margin-bottom:15px;
  font-size:clamp(1.2rem,2vw,1.6rem);
}

.card p{
  color:#555;
  font-size:1rem;
  line-height:1.7;
}

/* Hintakortti */

.price-card{
  background:#fff;
  border-radius:28px;
  padding:34px 24px;
  text-align:center;
  box-shadow:0 14px 38px rgba(0,0,0,.12);
}

.price-label{
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.05em;
}

.price-title{
  font-size:clamp(1.6rem,4vw,3rem);
  font-weight:900;
  margin-top:8px;
}

.price-number{
  color:var(--gold);
  font-size:clamp(3rem,8vw,5rem);
  font-weight:900;
  line-height:1;
}

.price-note{
  max-width:620px;
  margin:18px auto;
  line-height:1.5;
  color:#615954;
}

/* Mallikortit */

.models{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

.model-card{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  text-decoration:none;
  color:var(--dark);
  box-shadow:0 5px 28px rgba(0,0,0,.1);
  transition:.25s;
}

.model-card:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 38px rgba(0,0,0,.16);
}

.model-card img{
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
}

.model-card strong{
  display:block;
  padding:16px;
  font-size:1.15rem;
}

/* Lataukset */

.downloads-intro{
  text-align:center;
  max-width:700px;
  margin:0 auto 35px;
  color:#666;
}

.downloads{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.download-card{
  background:#fff;
  border-radius:24px;
  padding:30px;
  text-align:center;
  text-decoration:none;
  color:#443E3B;
  font-weight:900;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:.25s;
}

.download-card:hover{
  color:var(--gold);
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.download-icon{
  font-size:3rem;
  margin-bottom:15px;
}

.download-card h3{
  margin:0 0 10px;
  color:#443E3B;
}

.download-card p{
  margin:0;
  color:#666;
  font-size:1rem;
  line-height:1.6;
}

/* Asiakasarviot */

.testimonials{
  max-width:900px;
  margin:60px auto;
}

.testimonial-card{
  background:#fff;
  padding:40px;
  border-radius:28px;
  text-align:center;
  box-shadow:0 15px 40px rgba(0,0,0,.10);
}

.testimonial-rating{
  font-size:2rem;
  margin-bottom:15px;
}

.testimonial-card h2{
  color:#443E3B;
  margin-bottom:25px;
}

.testimonial-card blockquote{
  font-size:1.2rem;
  line-height:1.8;
  font-style:italic;
  color:#555;
  max-width:700px;
  margin:0 auto 25px;
}

.testimonial-author{
  font-weight:700;
  color:#443E3B;
  font-size:1.1rem;
}

.testimonial-count{
  margin-top:10px;
  color:#777;
  font-size:.95rem;
}

/* Footer */

footer{
  background:var(--dark);
  color:#fff;
  text-align:center;
  padding:35px 20px;
  margin-top:50px;
}

/* Mobiili */

@media (min-width:1600px){

  body{
    font-size:20px;
  }

  .hero,
  .section,
  .viewer-section{
    max-width:1400px;
  }

  .lead,
  .viewer-info span{
    max-width:850px;
  }
}

@media (min-width:2200px){

  .hero,
  .section,
  .viewer-section{
    max-width:1500px;
  }

  model-viewer{
    height:720px;
  }
}

@media (max-width:800px){

  body{
    font-size:16px;
  }

  header{
    flex-direction:column;
    gap:12px;
  }

  nav a{
    margin:0 8px;
    font-size:.9rem;
  }

  model-viewer{
    height:460px;
  }

  .benefits,
  .models,
  .downloads{
    grid-template-columns:1fr;
  }

  .viewer-section{
    padding:0 12px;
  }

  .viewer-card{
    border-radius:20px;
  }

  .viewer-info{
    padding:20px 14px;
  }
}