/* ===========================
   TAINA-SIVU
   =========================== */

/* HERO */
.ta-hero {
  background: var(--white);
  padding: 100px 0 80px;
  border-bottom: 1px solid #eee;
}
.ta-hero__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
}
.ta-hero__photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.ta-hero__photo {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.ta-hero__photo-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: 50%;
  padding: 10px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ta-hero__photo-badge img { width: 100%; height: 100%; object-fit: contain; }
.ta-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.ret-back--teal { color: var(--teal); }
.ret-back--teal:hover { color: var(--teal-dark); }
.ta-hero__label {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ta-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.ta-hero h1 span { color: var(--teal); }
.ta-hero__intro {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 28px;
}
.ta-hero__facts {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ta-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  background: var(--light);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--teal);
}
.ta-fact__num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.ta-fact__label {
  font-size: 0.75rem;
  color: var(--mid);
  font-weight: 500;
}
.ta-hero__social { display: flex; gap: 10px; flex-wrap: wrap; }

/* TARINA */
.ta-story {
  padding: 96px 0;
  background: var(--light);
}
.ta-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ta-story__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}
.ta-story__text p {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.ta-story__text p strong { color: var(--dark); }
.ta-quote {
  background: var(--dark);
  color: var(--white);
  border-radius: 20px;
  padding: 32px 36px;
  margin: 0 0 24px;
  position: relative;
}
.ta-quote::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  font-family: Georgia, serif;
  opacity: 0.6;
}
.ta-quote p {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--white);
  padding-top: 28px;
  margin: 0 0 12px;
}
.ta-quote cite {
  font-size: 0.85rem;
  color: var(--teal);
  font-style: normal;
  font-weight: 600;
}
.ta-story__philosophy {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 32px;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
}
.ta-story__philosophy h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.ta-story__philosophy p {
  font-size: 0.93rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 10px;
}
.ta-story__philosophy p:last-child { margin-bottom: 0; }

/* AIKAJANA */
.ta-timeline {
  padding: 96px 0;
  background: var(--dark);
}
.ta-tl {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 16px;
}
.ta-tl::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), rgba(0,188,188,0.1));
}
.ta-tl__item {
  display: grid;
  grid-template-columns: 72px 20px 1fr;
  gap: 0 20px;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}
.ta-tl__item:last-child { margin-bottom: 0; }
.ta-tl__dot {
  grid-column: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  margin-top: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.ta-tl__dot--accent {
  background: var(--teal);
  border-color: var(--teal);
  width: 18px;
  height: 18px;
  margin-left: -2px;
  box-shadow: 0 0 12px rgba(0,188,188,0.5);
}
.ta-tl__year {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  padding-top: 2px;
  padding-right: 4px;
}
.ta-tl__content {
  grid-column: 3;
  grid-row: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  transition: var(--transition);
}
.ta-tl__content:hover {
  background: rgba(0,188,188,0.08);
  border-color: rgba(0,188,188,0.3);
}
.ta-tl__content strong {
  display: block;
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.ta-tl__content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0;
}

/* PALVELUT */
.ta-services {
  padding: 96px 0;
  background: var(--white);
}
.ta-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ta-svc-card {
  background: var(--light);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid transparent;
  transition: var(--transition);
}
.ta-svc-card:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.ta-svc-card__icon { font-size: 2.2rem; }
.ta-svc-card h3 { font-size: 1.1rem; font-weight: 700; }
.ta-svc-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.55; flex: 1; }
.ta-svc-card__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.ta-svc-card__links span {
  font-size: 0.78rem;
  color: var(--teal-dark);
  font-weight: 500;
}

/* CTA */
.ta-cta {
  padding: 80px 0;
  background: var(--teal);
}
.ta-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.ta-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ta-cta p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.ta-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .ta-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .ta-hero__photo-wrap { max-width: 380px; margin: 0 auto; }
  .ta-hero__content { align-items: center; text-align: center; }
  .ta-hero__facts { justify-content: center; }
  .ta-hero__social { justify-content: center; }
  .ta-story__inner { grid-template-columns: 1fr; gap: 40px; }
  .ta-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ta-services__grid { grid-template-columns: 1fr; }
  .ta-cta__inner { flex-direction: column; text-align: center; }
  .ta-cta__btns { justify-content: center; }
  .ta-tl::before { left: 56px; }
  .ta-tl__item { grid-template-columns: 56px 20px 1fr; }
}
