/* ===== PREMIUM TAUSTA ===== */

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1a1a1a;

  background:
    linear-gradient(
      180deg,
      #463b00 0%,
      #f5d77a 20%,
      #f9be72 55%,
      #d6d6d6 80%,
      #a8a8a8 100%
    ),
    url("kuvat/tausta.webp");

  background-blend-mode: overlay;
  background-size: cover;
  background-attachment: fixed;
}

/* ===== NAV ===== */

.nav {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem !important;
  letter-spacing: 1px;
  transition: color 0.25s ease;
  cursor: pointer;
}

.logo a:hover {
  color: #fff45c; /* kultainen */
}

.nav .logo {
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-size: 0.95rem;
}

.nav a:hover {
  opacity: 0.8;
}
/* ===== HAMBURGER ===== */

.nav-toggle {
  display: none; /* näkyy vain mobiilissa */
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
}

/* Desktop: linkit rivissä */
.nav-links {
  display: flex;
  align-items: center;
}

/* Mobiili */
@media (max-width: 900px) {
  .nav {
    position: sticky; /* tai fixed, jos haluat koko ajan näkyviin */
    top: 0;
    z-index: 9999;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px; /* säädä jos navin korkeus muuttuu */
    left: 0;
    right: 0;
    z-index: 10000;

    display: none;
    background: rgba(0, 0, 0, 0.96);
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links a {
    margin-left: 0;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-links.open {
    display: flex;
  }
}

/* ===== YLEINEN ===== */

.container {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

h2 {
  margin-top: 80px;
  font-size: 2.2rem;
}

.hero {
  text-align: center;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 20px auto;
}

.cta-btn {
  display: inline-block;
  margin-top: 25px;
  background: #000;
  color: #fff;
  padding: 18px 50px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #333;
}

/* ===== LUOTTAMUSOSIO ===== */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.trust-box {
  background: rgba(0, 0, 0, 0.84);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 35px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.trust-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* ===== HINNAT ===== */

.price-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.price-image img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
}

.price-text {
  font-size: 1.1rem;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: bold;
}

/* ===== YHTEYSTIEDOT ===== */

footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 25px;
  margin-top: 80px;
  font-size: 0.9rem;
}

#yhteystiedot h2 {
  margin-top: 0;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  .price-item {
    flex-direction: column;
    text-align: center;
  }

  .price-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
  }
}

.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.contact {
  background: rgba(0, 0, 0, 0.84);
  padding: 50px;
  border-radius: 15px;
  margin-top: 70px;
  max-width: 100%;
  box-sizing: border-box;
  color: #fff;
}
.contact a {
  color: lightskyblue;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .contact {
    padding: 22px;
  }

  .contact-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .contact-image img {
    width: 140px;
    height: 140px;
  }
}

.contact-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
}
.hero-badges {
  position: relative;
  margin-top: 30px;
}

/* Yleinen tyyli */
.badge {
  position: absolute;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
  padding: 14px 26px;
  border-radius: 146px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  max-width: 146px;
  font-weight: bold;
  color: #fff;
  padding: 16px;
  height: 146px;
  display: flex;
  align-items: anchor-center;
}
.badge-left {
  left: -13%;
  top: -30px;
  transform: rotate(-4deg);
}

.badge-right {
  right: -11%;
  top: 60px;
  transform: rotate(4deg);
}
@media (max-width: 1368px) {
  .badge {
    position: static;
    transform: none;
    margin: 10px auto;
    display: flex;
  }

  .hero-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
.page-content {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .page-content {
    padding: 25px;
  }
}
.notice {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.781);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  color: #fff;
}
.notice strong {
  color: red;
}

.notice strong {
  margin-right: 6px;
}

.muted {
  display: block;
  opacity: 0.75;
  font-size: 0.95rem;
  margin-top: 6px;
}
/* ===== TURVALÄHETYS: VAIHEET + PÄÄTÖS ===== */

.steps {
  margin: 20px 0 0;
  padding-left: 22px;
}

.steps li {
  margin: 14px 0;
  line-height: 1.5;
}

/* Päätöslaatikot */

.decision {
  padding: 28px 30px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.91);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  position: relative;
  margin: 0 0 2% 0;
  color: #fff;
}

/* Leveämpi vasen palkki */
.decision-yes {
  border-left: 10px solid #2fbf71;
}

.decision-no {
  border-left: 10px solid #e25c4a;
}

/* Otsikon tyyli */
.decision h3 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pieni värillinen neliö */
.decision-yes h3::before,
.decision-no h3::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}

.decision-yes h3::before {
  background: #2fbf71;
}

.decision-no h3::before {
  background: #e25c4a;
}
/* ===== YHTEYDENOTTOLOMAKE ===== */

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-form label {
  font-weight: 600;
  margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.75);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 0, 0, 0.35);
}

.form-btn {
  width: 100%;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 12px 0 0;
  font-size: 0.95rem;
  opacity: 0.75;
}

.quick-contact a {
  color: inherit;
}

@media (max-width: 768px) {
  .form-btn {
    padding: 16px 20px;
  }
}
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.form-status.show {
  display: block;
}

.form-status.success {
  border-left: 8px solid #2fbf71;
}

.form-status.error {
  border-left: 8px solid #e25c4a;
}

.form-status.info {
  border-left: 8px solid rgba(0, 0, 0, 0.25);
}

.form-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.contact-form label.required::after {
  content: " *";
  font-weight: 800;
  color: #e25c4a;
}
