/* ── KAINOS PAGE ── */

main {
  padding: 100px 0 0 0;
}

.kainos-page {
  background: #f8faf6;
  min-height: 100vh;
}

.kainos-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 24px 70px;
}

.kainos-header {
  background: linear-gradient(135deg, #4a5639 0%, #5f6e4c 45%, #6b7a58 100%);
  padding: 64px 20px 72px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  clip-path: ellipse(110% 100% at 50% 0%);
}

.kainos-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 280px at 15% 60%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(700px 220px at 85% 30%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events: none;
}

.kainos-header-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-family: 'Nunito', sans-serif;
  position: relative;
}

.kainos-header h1 {
  font-size: 2.8em;
  font-weight: 800;
  margin: 0 0 12px;
  position: relative;
  text-shadow: none;
}

.kainos-header p {
  font-size: 1.05em;
  opacity: 0.82;
  margin: 0;
  position: relative;
}

/* Cards grid */
.kainos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.kainu-kortele {
  background: white;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #e8ede0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kainu-kortele:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

/* Decorative top accent bar */
.kainu-kortele::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #5f6e4c, #6b7a58);
  border-radius: 18px 18px 0 0;
}

.kortele-ikona {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #5f6e4c, #6b7a58);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.kortele-ikona i {
  color: white;
  font-size: 22px;
}

.kainu-kortele h3 {
  color: #2d342b;
  font-size: 1.3em;
  margin: 0 0 16px;
}

.kaina {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.nauja-kaina {
  font-size: 2.2em;
  font-weight: 700;
  color: #5f6e4c;
  line-height: 1;
}

.kaina-menuo {
  color: #6e6e6e;
  font-size: 1em;
  font-weight: 600;
}

.aprasymas {
  color: #666;
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

/* Note box */
.pastaba-box {
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #e8ede0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #555;
  font-style: italic;
  line-height: 1.6;
}

.pastaba-box i {
  color: #5f6e4c;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pastaba-box a {
  color: #5f6e4c;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pastaba-box a:hover,
.pastaba-box a:focus-visible {
  color: #3f4b32;
}

/* Stojamasis card — full width, warm accent */
.stojamasis-kortele {
  background: white;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #e8ede0;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stojamasis-kortele:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.stojamasis-kortele::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #e8a838, #f5c842);
  border-radius: 18px 18px 0 0;
}

.stojamasis-ikona {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #e8a838, #f5c842);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stojamasis-ikona i {
  color: white;
  font-size: 26px;
}

.stojamasis-info h3 {
  color: #2d342b;
  font-size: 1.3em;
  margin: 0 0 10px;
}

.stojamasis-info .kaina {
  margin-bottom: 8px;
}

.stojamasis-info .nauja-kaina {
  color: #e8a838;
}

.stojamasis-info p {
  color: #666;
  font-size: 0.9em;
  margin: 0;
}

/* CTA strip */
.kainos-cta {
  background: linear-gradient(135deg, #4a5639, #5f6e4c);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  margin-top: 28px;
  color: white;
}

.kainos-cta p {
  margin: 0 0 16px;
  font-size: 1.05em;
  opacity: 0.95;
}

.kainos-cta a {
  display: inline-block;
  background: white;
  color: #5f6e4c;
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.kainos-cta a:hover {
  background: #2d342b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* ── TABLET ── */
@media only screen and (min-width: 481px) and (max-width: 1024px) {
  .kainos-container { max-width: 680px; padding: 44px 24px 56px; }
  .kainos-header { padding: 52px 24px 46px; }
  .kainos-header h1 { font-size: 2.3em; }
  .kainos-grid { gap: 18px; }
  .kainu-kortele { padding: 26px 22px; }
  .nauja-kaina { font-size: 1.9em; }
  .stojamasis-kortele { padding: 26px 22px; gap: 20px; }
}

/* ── PHONE ── */
@media only screen and (max-width: 600px) {
  main { padding: 100px 16px 50px 16px; }
  .kainos-header h1 { font-size: 1.8em; }
  .kainos-grid { grid-template-columns: 1fr; gap: 16px; }
  .kainu-kortele { padding: 24px 20px; }
  .nauja-kaina { font-size: 1.8em; }
  .stojamasis-kortele { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .stojamasis-ikona { width: 52px; height: 52px; border-radius: 14px; }
  .stojamasis-ikona i { font-size: 22px; }
}
