/* Taksi Vaasa Intra — Base + Layout
   Sama nav/hero/section-kieli kuin koulutus.html:ssä. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* NAV — sama keltainen kuin koulutus.html */
.tv-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--gold);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: var(--nav-height);
}
.tv-nav__logo { display: flex; align-items: center; gap: 12px; }
.tv-nav__logo img { height: 44px; width: auto; display: block; }
.tv-nav__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.tv-nav__links { display: flex; gap: 0; align-items: center; }
.tv-nav__links a, .tv-nav__links button {
  color: #000; text-decoration: none; font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600; padding: 8px 16px; border-radius: var(--radius-sm);
  transition: all 0.2s; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; border: 0;
}
.tv-nav__links a:hover, .tv-nav__links button:hover { background: rgba(0, 0, 0, 0.1); }
.tv-nav__links a.active { background: rgba(0, 0, 0, 0.15); }
.tv-nav__badge {
  background: #000; color: var(--gold); font-size: 0.7rem;
  font-weight: 700; padding: 2px 10px; border-radius: 20px;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--font-heading);
}

/* PAGE LAYOUT */
.tv-page {
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
  min-height: 100vh;
}
.tv-container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.tv-container--narrow { max-width: 640px; }

/* SECTION-KIELI */
.tv-section-tag {
  display: inline-block; border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--font-heading);
  padding: 5px 16px; border-radius: 20px; margin-bottom: 0.75rem;
  background: var(--gold-dim);
}
.tv-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600;
  color: var(--text); margin-bottom: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.03em; line-height: 0.98;
}
.tv-section-sub { color: var(--text-dim); font-size: 1rem; max-width: 560px; }

/* KORTIT */
.tv-card {
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.tv-card:hover { border-color: var(--gold-border); }
.tv-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.tv-card__body { color: var(--text-dim); font-size: 0.95rem; }

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

/* NAPIT */
.tv-btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--gold); color: #000; font-weight: 700;
  font-size: 0.95rem; padding: 12px 28px; border-radius: var(--radius-sm);
  text-decoration: none; transition: all 0.2s; letter-spacing: 0.02em;
  border: 0; font-family: var(--font-body);
}
.tv-btn:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.tv-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.tv-btn--ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold-border);
}
.tv-btn--ghost:hover { background: var(--gold-dim); box-shadow: none; }

/* FORMS */
.tv-field { margin-bottom: 1.25rem; }
.tv-field label {
  display: block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.tv-field input, .tv-field select, .tv-field textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.tv-field input:focus, .tv-field select:focus, .tv-field textarea:focus {
  outline: none; border-color: var(--gold);
}

/* HÄLYTYS-LAATIKOT */
.tv-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.tv-alert--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.tv-alert--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #86efac;
}
.tv-alert--info {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
}

/* LOADING */
.tv-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 2rem;
  color: var(--text-dim);
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.tv-loading::after {
  content: ''; margin-left: 12px;
  width: 12px; height: 12px;
  border: 2px solid var(--gold-border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: tv-spin 0.8s linear infinite;
}
@keyframes tv-spin { to { transform: rotate(360deg); } }

/* PIENET NÄYTÖT */
@media (max-width: 720px) {
  .tv-nav { padding: 0 1rem; }
  .tv-nav__title { display: none; }
  .tv-nav__links a, .tv-nav__links button { padding: 8px 10px; font-size: 0.8rem; }
  .tv-container { padding: 0 1rem; }
  .tv-card { padding: 1.5rem; }
}
