:root {
  --ks-plum: #77526a;
  --ks-plum-2: #78566f;
  --ks-sage: #9cbfa7;
  --ks-green-dark: #7d9785;
  --ks-green-light: #c9efcb;
  --ks-pink: #f5e6eb;
  --ks-pink-2: #fce4ec;
  --ks-btn: #90778f;
  --ks-white: #ffffff;
  --ks-black: #000000;
  --ks-font-body: "Manrope", Helvetica, Arial, sans-serif;
  --ks-font-display: "Montserrat", Helvetica, Arial, sans-serif;
  --ks-font-ui: "Manrope", Helvetica, Arial, sans-serif;
  --ks-font: var(--ks-font-body);
  --ks-display: var(--ks-font-display);
  --ks-max: 1120px;
  --ks-ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ks-font-body);
  color: var(--ks-white);
  background: var(--ks-plum);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }

/* Header */
.ks-header {
  background: var(--ks-plum);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ks-header__inner {
  position: relative;
  width: min(100% - 2rem, var(--ks-max));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ks-logo { flex: 0 0 auto; z-index: 1; }
.ks-logo img { width: 39px; height: 39px; object-fit: contain; }

.ks-lang {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .45rem;
  justify-content: center;
  z-index: 1;
}

.ks-social {
  display: flex;
  gap: .55rem;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}

.ks-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: .28rem .7rem;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.ks-lang__btn.is-active,
.ks-lang__btn:hover { background: rgba(255,255,255,.28); }

.ks-lang__btn img { width: 22px; height: 14px; object-fit: cover; border-radius: 2px; }

.ks-social {
  display: flex;
  gap: .55rem;
  justify-content: flex-end;
  align-items: center;
}

.ks-social a img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

/* Hero */
.ks-hero {
  position: relative;
  min-height: clamp(280px, 38vw, 420px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ks-plum);
}

.ks-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.08);
  opacity: .85;
}

.ks-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--ks-max));
  margin: 0 auto;
  padding: 3rem 0 2.5rem;
}

.ks-hero__rainbow {
  position: absolute;
  left: 0;
  top: 48%;
  transform: translateY(-50%);
  width: min(78%, 780px);
  height: 56px;
  z-index: 0;
  overflow: hidden;
  border-radius: 2px;
  background:
    linear-gradient(
      90deg,
      #e40303 0%,
      #ff8c00 14%,
      #ffed00 28%,
      #008026 42%,
      #24408e 57%,
      #732982 72%,
      #75ebff 88%,
      #ff9ace 100%
    );
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}

.ks-hero__rainbow img {
  display: none;
}

.ks-hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--ks-font-display);
  font-weight: 900;
  font-size: clamp(42px, 7.2vw, 83px);
  letter-spacing: -0.02em;
  line-height: .95;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
}

.ks-hero__subtitle {
  position: relative;
  z-index: 1;
  margin: .85rem 0 0;
  font-family: var(--ks-font-body);
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 30px);
  color: #fff;
}

/* Values */
.ks-values {
  background: var(--ks-plum-2);
  padding: 2.5rem 0 3rem;
}

.ks-values__inner {
  width: min(100% - 2rem, var(--ks-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.ks-values__photo img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
}

.ks-values__list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding-top: .25rem;
}

.ks-value {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: .9rem;
  align-items: start;
}

.ks-value__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
  margin-top: .15rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 1.25rem;
}
.ks-value__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.ks-value__title {
  margin: 0 0 .35rem;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  font-family: var(--ks-font-body);
}

.ks-value__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: #fff;
  font-weight: 400;
  font-family: var(--ks-font-body);
}

/* Banner */
.ks-banner {
  position: relative;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ks-banner__pattern {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ks-banner__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.2rem 1rem;
  text-align: center;
  color: #fff;
  font-family: var(--ks-font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 80px);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}

/* Product */
.ks-product {
  background: var(--ks-sage);
  color: var(--ks-plum);
  padding: 2rem 0 2.5rem;
}

.ks-product__inner {
  width: min(100% - 2rem, var(--ks-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.5rem;
  align-items: start;
}

.ks-slider {
  position: relative;
  background: rgba(255,255,255,.25);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.ks-slider__viewport { overflow: hidden; }
.ks-slider__track {
  display: flex;
  transition: transform .4s var(--ks-ease);
}
.ks-slider__slide {
  min-width: 100%;
  aspect-ratio: 4/3;
  background: #dfeadf;
}
.ks-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ks-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(119,82,106,.75);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.ks-slider__nav--prev { left: 10px; }
.ks-slider__nav--next { right: 10px; }

.ks-slider__dots {
  display: flex;
  gap: .4rem;
  justify-content: center;
  padding: .65rem 0 .85rem;
}
.ks-slider__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(119,82,106,.35);
  cursor: pointer;
  padding: 0;
}
.ks-slider__dots button.is-active { background: var(--ks-plum); }

.ks-card {
  background: var(--ks-pink);
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.2rem;
  color: var(--ks-plum);
  margin-bottom: 1rem;
}

.ks-card--dashed {
  border: 2px dashed var(--ks-green-dark);
  background: var(--ks-pink-2);
}

.ks-card--form { background: #e8d6e3; }

.ks-card__title {
  margin: 0 0 .35rem;
  font-family: var(--ks-font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.ks-card__desc,
.ks-card__intro,
.ks-card__support,
.ks-card__note {
  margin: 0;
  font-family: var(--ks-font-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ks-plum);
}

.ks-card__intro { margin-bottom: .75rem; }
.ks-card__support { font-weight: 400; }
.ks-card__desc { margin-bottom: .85rem; }

.ks-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.ks-card__action { display: flex; flex-direction: column; gap: .35rem; align-items: center; }
.ks-card__note { font-size: 12px; text-align: center; line-height: 1.25; }

.ks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: .55rem 1.15rem;
  border-radius: 50px;
  background: var(--ks-btn);
  color: #000 !important;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--ks-font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  width: 100%;
  transition: filter .2s var(--ks-ease), transform .15s var(--ks-ease), background .2s ease;
}
.ks-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ks-btn:active { transform: translateY(0); }
.ks-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.ks-btn--wide { width: 100%; margin-top: .35rem; }

.ks-form__field {
  display: block;
  margin-bottom: .65rem;
  font-family: var(--ks-font-body);
}
.ks-form__field span {
  display: block;
  font-size: 13px;
  margin-bottom: .25rem;
}
.ks-form__field input {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: .7rem .85rem;
  background: #fff;
  color: #222;
  font-family: var(--ks-font-body);
}
.ks-form__hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
}
.ks-form { position: relative; }
.ks-form__status {
  margin: .6rem 0 0;
  font-size: 14px;
  font-weight: 600;
}
.ks-form__status.is-ok { color: #1f6b3a; }
.ks-form__status.is-err { color: #8b1e1e; }

/* Months */
.ks-months {
  background: var(--ks-sage);
  padding: 0 0 2.5rem;
}

.ks-months__tabs {
  width: min(100% - 1rem, var(--ks-max));
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 .25rem;
}

.ks-months__tab {
  border: 0;
  border-radius: 999px;
  background: var(--ks-btn);
  color: #000;
  font-family: var(--ks-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .55rem .9rem;
  cursor: pointer;
  transition: filter .2s var(--ks-ease), box-shadow .2s ease, transform .15s var(--ks-ease);
}
.ks-months__tab.is-active,
.ks-months__tab:hover { filter: brightness(1.08); box-shadow: inset 0 0 0 2px rgba(0,0,0,.18); }

.ks-months__panel {
  width: min(100% - 2rem, var(--ks-max));
  margin: 0 auto;
  background: var(--ks-green-dark);
  border-radius: 16px;
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem;
  min-height: 420px;
  transition: opacity .22s ease;
}
.ks-months__panel.is-switching { opacity: 0; }

.ks-months__content {
  background: var(--ks-green-light);
  border-radius: 12px;
  padding: 1.25rem 1.35rem 1.5rem;
  color: #000;
  font-family: var(--ks-font-body);
  min-width: 0;
  overflow: hidden;
}

.ks-months__title {
  margin: 0;
  font-family: var(--ks-font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.5vw, 60px);
  letter-spacing: -.02em;
  line-height: .95;
  color: #000;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.ks-months__subtitle {
  margin: .35rem 0 1rem;
  font-family: var(--ks-font-body);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  color: #000;
}

.ks-months__body {
  font-family: var(--ks-font-body);
  font-size: 16px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.ks-months__meta {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
  font-size: 14px;
  opacity: .85;
}
.ks-months__meta span { display: inline-block; }

.ks-months__art {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: var(--ks-green-light);
  border-radius: 12px;
  padding: .85rem 1rem 1rem;
  text-align: right;
}

.ks-months__art-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 220px;
}

.ks-months__art img {
  max-height: 320px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.ks-months__author {
  margin: .65rem 0 0;
  font-family: var(--ks-font-body);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.25;
  text-align: right;
  color: #000;
}

.ks-months__label {
  margin: .1rem 0 0;
  font-family: var(--ks-font-display);
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 68px);
  letter-spacing: -.02em;
  line-height: .95;
  text-align: right;
  color: #000;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Footer */
.ks-footer {
  background: var(--ks-plum);
  color: #fff;
  padding: 2rem 0 2.5rem;
}

.ks-footer__inner {
  width: min(100% - 2rem, var(--ks-max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 16px;
}

.ks-footer__links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ks-footer__links a { text-decoration: none; }
.ks-footer__links a:hover { text-decoration: underline; }

.ks-footer__contact {
  text-align: right;
}
.ks-footer__contact p { margin: .2rem 0 0; }
.ks-footer__contact a { text-decoration: none; }

/* Privacy */
.ks-privacy-main {
  background: var(--ks-plum);
  color: #fff;
  padding: 2.5rem 0 3.5rem;
}
.ks-privacy-main__inner {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
}
.ks-privacy-main h1 {
  margin: 0 0 .5rem;
  font-size: 36px;
  font-weight: 400;
}
.ks-privacy-main__updated { opacity: .85; margin-bottom: 1.5rem; }
.ks-privacy-main__content p { margin: 0 0 1rem; line-height: 1.5; }
.ks-privacy-main__content ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.ks-privacy-main__content a { color: #ffe3f2; }

/* Responsive */
@media (max-width: 900px) {
  .ks-header__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: .65rem;
    padding: .55rem 0;
  }
  .ks-lang {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .ks-values__inner,
  .ks-product__inner,
  .ks-months__panel { grid-template-columns: 1fr; overflow: hidden; min-width: 0; }
  .ks-months__art { padding: .75rem .85rem .9rem; min-width: 0; }
  .ks-months__title { font-size: clamp(28px, 8vw, 48px); }
  .ks-months__label { font-size: clamp(28px, 9vw, 48px); }
  .ks-months__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    width: min(100% - 1.25rem, var(--ks-max));
  }
  .ks-months__tab {
    width: 100%;
    min-width: 0;
    font-size: 10px;
    letter-spacing: .01em;
    padding: .5rem .2rem;
  }
  .ks-values__photo { max-width: 320px; margin: 0 auto; }
  .ks-card__actions { grid-template-columns: 1fr; }
  .ks-footer__inner { flex-direction: column; }
  .ks-footer__contact { text-align: left; }
  .ks-hero__rainbow { width: 92%; height: 34px; }
  .ks-hero { min-height: 240px; }
}

@media (max-width: 600px) {
  .ks-lang__btn span { display: none; }
  .ks-months__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ks-months__tab { font-size: 9px; padding: .45rem .15rem; letter-spacing: 0; }
  .ks-months__subtitle { font-size: 20px; }
  .ks-months__label { font-size: clamp(24px, 8.5vw, 36px); }
  .ks-months__title { font-size: clamp(28px, 9vw, 42px); }
  .ks-value { grid-template-columns: 36px 1fr; }
  .ks-value__icon { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ks-slider__track,
  .ks-months__panel,
  .ks-btn,
  .ks-months__tab {
    transition: none !important;
  }
  .ks-months__panel.is-switching { opacity: 1; }
  .ks-btn:hover,
  .ks-months__tab:hover { transform: none; }
}
