/* ===============================
   ROOT (White + Gold)
================================ */
:root {
  --bg: #fbfbf8;
  /* lämmin valkoinen */
  --surface: #ffffff;
  /* kortit */
  --text: #111827;
  /* lähes musta */
  --muted: rgba(17, 24, 39, .70);
  --border: rgba(17, 24, 39, .12);

  /* Kulta */
  --accent: #b38728;
  /* primary gold */
  --accent-2: #d6b35a;
  /* highlight gold */
  --accent-soft: rgba(179, 135, 40, .16);

  --radius: 16px;
  --max: 1080px;
  --shadow: 0 18px 60px rgba(17, 24, 39, .12);
  --focus: 0 0 0 4px rgba(179, 135, 40, .22);
}

/* ===============================
   RESET + BASE
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);

  /* BODYLLA EI OLE GRADIENTTIA */
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

/* ===============================
   AINOA TAUSTA (ZOOM-SAFE)
================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* Vaalea pohja + kultainen hehku */
  background:
    radial-gradient(1200px 720px at 10% -10%, rgba(214, 179, 90, .22), transparent 58%),
    radial-gradient(900px 620px at 90% 0%, rgba(179, 135, 40, .16), transparent 60%),
    radial-gradient(1100px 700px at 50% 110%, rgba(17, 24, 39, .06), transparent 60%),
    var(--bg);

  background-repeat: no-repeat;
}

/* ===============================
   LAYOUT
================================ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding-bottom: 32px;
}

/* ===============================
   HEADER
================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(251, 251, 248, .72);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;

  background: rgba(179, 135, 40, .12);
  border: 1px solid rgba(179, 135, 40, .40);
  box-shadow: 0 10px 24px rgba(179, 135, 40, .10);
}

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

.menu a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.menu a:hover {
  color: var(--text);
  border-color: rgba(179, 135, 40, .25);
  background: rgba(179, 135, 40, .06);
}

/* ===============================
   TYPO / SECTIONS
================================ */
.hero {
  padding: 44px 0 26px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

.muted {
  color: var(--muted)
}

.hint {
  font-size: 14px;
  color: rgba(17, 24, 39, .55)
}

/* ===============================
   CARD (AINOA VISUAALINEN PINTA)
================================ */
.card {
  margin: 18px auto;
  padding: 22px;
  border-radius: var(--radius);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .82));

  border: 1px solid rgba(17, 24, 39, .12);
  box-shadow: var(--shadow);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 4rem;
}

.info-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 1.6rem 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.info-card p {
  margin: 0 0 1rem;
  color: #555;
  font-size: 0.95rem;
}

.info-card a {
  font-weight: 600;
  text-decoration: none;
  color: #c9a24d;
  /* sama kultainen sävy kuin CTA */
}

.info-card a:hover {
  text-decoration: underline;
}

/* Responsiivisuus */
@media (max-width: 900px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

/* Kevyt kultainen "sheen" kortin reunalle */
.card::before {
  content: "";
  display: block;
  height: 2px;
  margin: -22px -22px 18px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, rgba(179, 135, 40, .0), rgba(179, 135, 40, .55), rgba(214, 179, 90, .0));
}

/* ===============================
   FORMS
================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.field-label {
  font-size: 13px;
  color: rgba(17, 24, 39, .78);
}

.input,
.textarea {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, .14);
  background: rgba(255, 255, 255, .9);
  color: var(--text);
  outline: none
}

.textarea {
  min-height: 120px;
  resize: vertical;
  border-radius: 10px
}

.input:focus,
.textarea:focus {
  box-shadow: var(--focus);
  border-color: rgba(179, 135, 40, .55);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-group {
  display: grid;
  gap: 10px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, .12);
  background: rgba(179, 135, 40, .05);
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ===============================
   BUTTONS
================================ */
.btn {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, .14);
  background: rgba(255, 255, 255, .9);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  border-color: rgba(179, 135, 40, .28);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .10);
}

.btn.primary {
  border-color: rgba(179, 135, 40, .55);
  color: #2a1d00;
  background:
    linear-gradient(180deg, rgba(214, 179, 90, .70), rgba(179, 135, 40, .38));
}

.btn.primary:hover {
  border-color: rgba(179, 135, 40, .70);
  box-shadow: 0 18px 40px rgba(179, 135, 40, .18);
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* ===============================
   FOOTER
================================ */
.footer {
  border-top: 1px solid rgba(17, 24, 39, .12);
  background: rgba(251, 251, 248, .75);
}

.footer-inner {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(179, 135, 40, .45);
  text-underline-offset: 3px;
}

.small {
  font-size: 13px
}

/* ===============================
   COOKIE POPUP
================================ */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: none;
}

.cookie.show {
  display: block
}

.cookie-box {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, .14);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(17, 24, 39, .14);
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.cookie p {
  margin: 0;
  font-size: 14px;
  color: rgba(17, 24, 39, .72);
}

.cookie strong {
  color: var(--text)
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width:760px) {
  .grid2 {
    grid-template-columns: 1fr
  }

  .topbar-inner {
    height: auto;
    padding: 14px 0
  }

  .cookie-box {
    flex-direction: column
  }

  .cookie-actions {
    width: 100%
  }
}

.hero {
  position: relative;
}

.price-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;

  background: linear-gradient(135deg, #e9c88b, #d9b36c);
  color: #1f2937;

  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;

  transform: rotate(-6deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;

  font-weight: 700;
  z-index: 3;
}

.price-badge .price {
  font-size: 1.4rem;
  line-height: 1;
}

.price-badge .price-note {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}