/* MŠ Korálek – homepage
   Sekce: hero-v2, glimpse */

/* ═══ HERO ═══ */
.koralek-hero-v2,
.koralek-hero-v2 * {
  box-sizing: border-box;
}

.koralek-hero-v2 {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  padding: clamp(65px, 7vw, 108px) 5% clamp(70px, 8vw, 115px);
  background:
    radial-gradient(circle at 8% 17%, rgba(255, 224, 102, .42) 0 105px, transparent 106px),
    radial-gradient(circle at 89% 16%, rgba(135, 206, 235, .28) 0 170px, transparent 171px),
    linear-gradient(135deg, #fffdf4 0%, #effbf6 49%, #edf8ff 100%);
  color: var(--k-ink);
  font-family: var(--k-font);
}

.koralek-hero-v2::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .32;
  pointer-events: none;
  background-image: radial-gradient(#9edfc5 1.4px, transparent 1.4px);
  background-size: 23px 23px;
  mask-image: linear-gradient(to right, #000 0%, transparent 43%, transparent 65%, #000 100%);
  content: "";
}

.koralek-v2-beads {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.koralek-v2-bead {
  position: absolute;
  width: var(--size);
  animation: koralek-v2-float var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
  filter: drop-shadow(0 10px 12px rgba(28, 72, 55, .12));
}

.koralek-v2-bead img {
  display: block;
  width: 100%;
  height: auto;
}

.koralek-v2-bead--1 {
  --size: 62px;
  --duration: 6.5s;
  --delay: -1.5s;
  top: 20%;
  left: 3%;
}

.koralek-v2-bead--2 {
  --size: 48px;
  --duration: 7.5s;
  --delay: -3s;
  right: 8%;
  bottom: 16%;
}

.koralek-v2-bead--3 {
  --size: 38px;
  --duration: 5.5s;
  --delay: -2s;
  top: 52%;
  left: 45%;
}

.koralek-v2-bead--4 {
  --size: 72px;
  --duration: 8s;
  --delay: -4s;
  top: 35%;
  right: 2%;
}

@keyframes koralek-v2-float {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }

  50% {
    transform: translateY(-17px) rotate(8deg);
  }
}

.koralek-hero-v2__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(560px, .98fr) minmax(500px, 1.02fr);
  gap: clamp(38px, 5vw, 82px);
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.koralek-hero-v2__content {
  width: 100%;
  max-width: 720px;
}

.koralek-v2-title {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--k-ink);
  font-size: clamp(3.15rem, 4.15vw, 5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.koralek-v2-title span {
  position: relative;
  display: inline;
  color: var(--k-green);
  white-space: nowrap;
}

.koralek-v2-title span::after {
  position: absolute;
  right: 1%;
  bottom: -5px;
  left: 1%;
  z-index: -1;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 224, 102, .76);
  transform: rotate(-2deg);
  content: "";
}

.koralek-v2-text {
  max-width: 610px;
  margin: 0 0 31px;
  color: var(--k-muted);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.75;
}

.koralek-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.koralek-v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 53px;
  padding: 14px 25px;
  border: 2px solid transparent;
  border-radius: 100px;
  font-family: var(--k-font);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.koralek-v2-btn:hover {
  transform: translateY(-8px);
}

.koralek-v2-btn--primary {
  background: var(--k-green);
  box-shadow: 0 10px 22px rgba(39, 140, 98, .28);
  color: #fff;
}

.koralek-v2-btn--primary:hover {
  box-shadow: 0 16px 29px rgba(39, 140, 98, .38);
}

.koralek-v2-btn--secondary {
  border-color: rgba(39, 140, 98, .2);
  background: rgba(255, 255, 255, .72);
  color: var(--k-green);
}

.koralek-v2-btn--secondary:hover {
  background: #fff;
  box-shadow: 0 12px 24px rgba(25, 73, 52, .12);
}

.koralek-v2-visual {
  position: relative;
  width: 100%;
  min-height: 550px;
}

.koralek-v2-main-photo {
  position: absolute;
  top: 0;
  right: 6%;
  width: min(82%, 530px);
  height: min(39vw, 545px);
  min-height: 460px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, .92);
  border-radius: 48% 52% 40% 60% / 43% 40% 60% 57%;
  background: #d7f2e5;
  box-shadow: 0 22px 50px rgba(32, 83, 60, .17);
  transform: rotate(2.5deg);
  transition: transform .3s ease, box-shadow .3s ease;
}

.koralek-v2-main-photo:hover {
  transform: rotate(3.5deg) translateY(-8px);
  box-shadow: 0 28px 52px rgba(32, 83, 60, .22);
}

.koralek-v2-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform .5s ease;
}

.koralek-v2-main-photo:hover img {
  transform: scale(1.08);
}

.koralek-v2-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 215px;
  padding: 10px 14px 10px 10px;
  border: 4px solid rgba(255, 255, 255, .92);
  border-radius: 22px;
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 16px 32px rgba(35, 83, 60, .16);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.koralek-v2-card--broucci {
  bottom: 11%;
  left: 0;
  transform: rotate(-4deg);
}

.koralek-v2-card--delfini {
  top: 11%;
  right: -1%;
  transform: rotate(4deg);
}

.koralek-v2-card--broucci:hover {
  transform: translateY(-8px) rotate(-8deg);
  box-shadow: 0 24px 43px rgba(32, 83, 60, .18);
}

.koralek-v2-card--delfini:hover {
  transform: translateY(-8px) rotate(8deg);
  box-shadow: 0 24px 43px rgba(32, 83, 60, .18);
}

.koralek-v2-card__img {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 17px;
}

.koralek-v2-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.koralek-v2-card:hover .koralek-v2-card__img img {
  transform: scale(1.08);
}

.koralek-v2-card small {
  display: block;
  margin-bottom: 1px;
  color: var(--k-muted);
  font-size: .74rem;
  font-weight: 800;
}

.koralek-v2-card strong {
  display: block;
  color: var(--k-ink);
  font-size: 1rem;
  font-weight: 900;
}

@media (max-width: 1180px) and (min-width: 821px) {
  .koralek-hero-v2__inner {
    grid-template-columns: minmax(465px, 1fr) minmax(400px, .95fr);
    gap: 35px;
  }

  .koralek-v2-title {
    font-size: clamp(3rem, 4.35vw, 4.35rem);
  }

  .koralek-v2-visual {
    min-height: 500px;
  }

  .koralek-v2-main-photo {
    width: 86%;
    min-height: 420px;
  }

  .koralek-v2-card--delfini {
    right: -5%;
  }
}

@media (max-width: 820px) {
  .koralek-hero-v2 {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .koralek-hero-v2__inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .koralek-hero-v2__content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .koralek-v2-title {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.75rem, 8vw, 4.25rem);
  }

  .koralek-v2-text {
    margin-right: auto;
    margin-left: auto;
  }

  .koralek-v2-actions {
    justify-content: center;
  }

  .koralek-v2-visual {
    max-width: 610px;
    min-height: 460px;
    margin: 0 auto;
  }

  .koralek-v2-main-photo {
    right: 8%;
    width: 78%;
    height: 455px;
    min-height: 0;
  }

  .koralek-v2-card--delfini {
    right: 0;
  }

  .koralek-v2-bead--3 {
    display: none;
  }
}

@media (max-width: 520px) {
  .koralek-hero-v2 {
    padding: 58px 20px 65px;
  }

  .koralek-v2-title {
    font-size: clamp(2.55rem, 11vw, 3.35rem);
    line-height: 1.06;
  }

  .koralek-v2-title span {
    white-space: normal;
  }

  .koralek-v2-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .koralek-v2-btn {
    width: 100%;
  }

  .koralek-v2-visual {
    min-height: 390px;
  }

  .koralek-v2-main-photo {
    right: 4%;
    width: 82%;
    height: 360px;
  }

  .koralek-v2-card {
    width: 178px;
    gap: 8px;
    padding: 7px 10px 7px 7px;
  }

  .koralek-v2-card__img {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .koralek-v2-card strong {
    font-size: .86rem;
  }

  .koralek-v2-card small {
    font-size: .67rem;
  }

  .koralek-v2-card--broucci {
    bottom: 2%;
    left: 0;
  }

  .koralek-v2-card--delfini {
    top: 3%;
    right: 0;
  }

  .koralek-v2-bead--1 {
    left: -3%;
  }

  .koralek-v2-bead--4 {
    right: -5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .koralek-v2-bead {
    animation: none !important;
  }
}

/* ═══ GLIMPSE ═══ */
.koralek-glimpse,
.koralek-glimpse * {
  box-sizing: border-box;
}

.koralek-glimpse {
  position: relative;
  overflow: hidden;
  padding: 100px 5%;
  background:
    radial-gradient(circle at 5% 12%, rgba(255, 224, 102, .28) 0 120px, transparent 121px),
    linear-gradient(135deg, #f0fbf7 0%, #f6fcff 100%);
  font-family: var(--k-font);
}

.koralek-glimpse__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.koralek-glimpse__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.koralek-glimpse__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--k-green);
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.koralek-glimpse__eyebrow::before {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--k-yellow);
  box-shadow: 0 0 0 5px rgba(255, 224, 102, .25);
  content: "";
}

.koralek-glimpse__title {
  margin: 0;
  color: var(--k-ink);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.koralek-glimpse__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 19px;
  border: 2px solid rgba(39, 140, 98, .2);
  border-radius: 100px;
  color: var(--k-green);
  font-size: .97rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.koralek-glimpse__link:hover {
  background: #fff;
  box-shadow: 0 10px 22px rgba(39, 140, 98, .13);
  transform: translateY(-8px);
}

.koralek-glimpse__grid {
  display: grid;
  grid-template-columns: 1fr 1fr .9fr;
  gap: 22px;
}

.koralek-glimpse-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, .86);
  border-radius: 33px;
  background: #fff;
  box-shadow: 0 15px 32px rgba(32, 83, 60, .12);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.koralek-glimpse-card:hover {
  box-shadow: 0 24px 43px rgba(32, 83, 60, .18);
  transform: translateY(-8px);
}

.koralek-glimpse-card__photo {
  height: 205px;
  overflow: hidden;
}

.koralek-glimpse-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.koralek-glimpse-card:hover .koralek-glimpse-card__photo img {
  transform: scale(1.08);
}

.koralek-glimpse-card__body {
  flex: 1;
  padding: 19px 21px 20px;
}

.koralek-glimpse-card__icon {
  position: absolute;
  top: 177px;
  right: 19px;
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--k-yellow);
  font-size: 1.55rem;
  box-shadow: 0 6px 15px rgba(45, 52, 54, .12);
}

.koralek-glimpse-card--delfini .koralek-glimpse-card__icon {
  background: var(--k-blue);
}

.koralek-glimpse-card--team .koralek-glimpse-card__icon {
  background: var(--k-rose);
}

.koralek-glimpse-card__title {
  margin: 0 0 7px;
  color: var(--k-ink);
  font-size: 1.45rem;
  font-weight: 900;
}

.koralek-glimpse-card__text {
  margin: 0;
  color: var(--k-muted);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.58;
}

.koralek-glimpse-card__more {
  display: inline-block;
  margin-top: 15px;
  color: var(--k-green);
  font-size: .9rem;
  font-weight: 900;
}

.koralek-glimpse-card--team {
  justify-content: center;
  padding: 34px 27px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 170, 187, .47) 0 54px, transparent 55px),
    radial-gradient(circle at 11% 85%, rgba(135, 206, 235, .35) 0 73px, transparent 74px),
    #fffdf6;
}

.koralek-glimpse-card--team .koralek-glimpse-card__icon {
  position: static;
  width: 72px;
  height: 72px;
  margin-bottom: 21px;
  font-size: 2rem;
}

.koralek-glimpse-card--team .koralek-glimpse-card__title {
  font-size: 1.75rem;
}

@media (max-width: 900px) {
  .koralek-glimpse__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .koralek-glimpse-card--team {
    grid-column: span 2;
    min-height: 250px;
  }
}

@media (max-width: 650px) {
  .koralek-glimpse {
    padding: 70px 20px;
  }

  .koralek-glimpse__top {
    display: block;
    margin-bottom: 26px;
  }

  .koralek-glimpse__link {
    margin-top: 20px;
  }

  .koralek-glimpse__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .koralek-glimpse-card {
    display: grid;
    grid-template-columns: 132px 1fr;
    min-height: 175px;
    border-width: 5px;
    border-radius: 23px;
  }

  .koralek-glimpse-card__photo {
    height: 100%;
    min-height: 165px;
  }

  .koralek-glimpse-card__body {
    padding: 17px 15px;
  }

  .koralek-glimpse-card__icon {
    top: auto;
    right: 13px;
    bottom: 13px;
    width: 43px;
    height: 43px;
    border-width: 3px;
    font-size: 1.2rem;
  }

  .koralek-glimpse-card__title {
    padding-right: 40px;
    font-size: 1.2rem;
  }

  .koralek-glimpse-card__text {
    font-size: .88rem;
  }

  .koralek-glimpse-card__more {
    margin-top: 8px;
    font-size: .82rem;
  }

  .koralek-glimpse-card--team {
    display: block;
    grid-column: auto;
    min-height: 210px;
    padding: 27px 22px;
  }

  .koralek-glimpse-card--team .koralek-glimpse-card__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    font-size: 1.55rem;
  }

  .koralek-glimpse-card--team .koralek-glimpse-card__title {
    padding: 0;
    font-size: 1.45rem;
  }
}
/* ═══ NEWS (2. sekce HP) ═══ */
.koralek-news,
.koralek-news * {
  box-sizing: border-box;
}

.koralek-news {
  position: relative;
  overflow: hidden;
  padding: 100px 5%;
  background: #fff;
  font-family: var(--k-font);
}

.koralek-news::before {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(135, 206, 235, .16);
  content: "";
}

.koralek-news::after {
  position: absolute;
  bottom: -150px;
  left: -115px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 224, 102, .18);
  content: "";
}

.koralek-news__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.koralek-news__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.koralek-news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  color: var(--k-green);
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.koralek-news__eyebrow::before {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--k-rose);
  box-shadow: 0 0 0 5px rgba(255, 170, 187, .22);
  content: "";
}

.koralek-news__title {
  margin: 0;
  color: var(--k-ink);
  font-size: clamp(2.25rem, 3.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.koralek-news__all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 12px 19px;
  border: 2px solid rgba(39, 140, 98, .19);
  border-radius: 100px;
  color: var(--k-green);
  font-size: .98rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.koralek-news__all:hover {
  background: #effbf6;
  box-shadow: 0 10px 22px rgba(39, 140, 98, .13);
  transform: translateY(-8px);
}

.koralek-news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.koralek-news-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(30, 70, 55, .08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 71, 55, .07);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.koralek-news-card:hover {
  box-shadow: 0 21px 42px rgba(31, 71, 55, .14);
  transform: translateY(-8px);
}

.koralek-news-card__photo {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #dff6eb;
}

.koralek-news-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.koralek-news-card:hover .koralek-news-card__photo img {
  transform: scale(1.08);
}

.koralek-news-no-image {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 224, 102, .45), transparent 55%),
    #dff6eb;
}

.koralek-news-card__label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 11px;
  border-radius: 100px;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.koralek-news-card--yellow .koralek-news-card__label { background: #d99400; }
.koralek-news-card--green .koralek-news-card__label { background: var(--k-green); }
.koralek-news-card--blue .koralek-news-card__label { background: #2386bd; }
.koralek-news-card--rose .koralek-news-card__label { background: #d7507d; }

.koralek-news-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px 20px 20px;
}

.koralek-news-card__date {
  margin-bottom: 8px;
  color: var(--k-muted);
  font-size: .82rem;
  font-weight: 800;
}

.koralek-news-card__title {
  margin: 0 0 11px;
  color: var(--k-ink);
  font-size: 1.13rem;
  font-weight: 900;
  line-height: 1.3;
}

.koralek-news-card__excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--k-muted);
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.koralek-news-card__more {
  display: inline-flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--k-green);
  font-size: .88rem;
  font-weight: 900;
}

.koralek-news-card--yellow { border-bottom: 5px solid var(--k-yellow); }
.koralek-news-card--green { border-bottom: 5px solid #8fdbba; }
.koralek-news-card--blue { border-bottom: 5px solid var(--k-blue); }
.koralek-news-card--rose { border-bottom: 5px solid var(--k-rose); }

@media (max-width: 1100px) {
  .koralek-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .koralek-news-card {
    min-height: 315px;
  }
}

@media (max-width: 650px) {
  .koralek-news {
    padding: 70px 20px;
  }

  .koralek-news__heading {
    display: block;
    margin-bottom: 27px;
  }

  .koralek-news__all {
    margin-top: 20px;
  }

  .koralek-news__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .koralek-news-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    min-height: 0;
  }

  .koralek-news-card__photo {
    height: 100%;
    min-height: 174px;
  }

  .koralek-news-card__content {
    padding: 15px;
  }

  .koralek-news-card__excerpt {
    display: none;
  }

  .koralek-news-card__more {
    padding-top: 10px;
  }
}
/* ═══ CONTACT (4. sekce HP) ═══ */
.koralek-contact-v2,
.koralek-contact-v2 * {
  box-sizing: border-box;
}

.koralek-contact-v2 {
  position: relative;
  overflow: hidden;
  padding: 100px 5% 80px;
  background:
    radial-gradient(circle at 95% 8%, rgba(135, 206, 235, .22) 0 150px, transparent 151px),
    radial-gradient(circle at 3% 93%, rgba(255, 224, 102, .23) 0 155px, transparent 156px),
    #fffdf8;
  color: var(--k-ink);
  font-family: var(--k-font);
}

.koralek-contact-v2::before {
  position: absolute;
  top: 18%;
  right: 7%;
  width: 140px;
  height: 140px;
  border: 2px dashed rgba(39, 140, 98, .18);
  border-radius: 50%;
  content: "";
  transform: rotate(15deg);
}

.koralek-contact-v2__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.koralek-contact-v2__heading {
  max-width: 650px;
  margin: 0 auto 42px;
  text-align: center;
}

.koralek-contact-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--k-green);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.koralek-contact-v2__eyebrow::before {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--k-rose);
  box-shadow: 0 0 0 5px rgba(255, 170, 187, .25);
  content: "";
}

.koralek-contact-v2__title {
  margin: 0 0 11px;
  color: var(--k-ink);
  font-size: clamp(2.3rem, 3.8vw, 3.65rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.koralek-contact-v2__intro {
  margin: 0;
  color: var(--k-muted);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.6;
}

.kc-top {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 23px;
  align-items: stretch;
}

.kc-main {
  position: relative;
  overflow: hidden;
  padding: clamp(27px, 4vw, 48px);
  border-radius: 30px;
  background: var(--k-green);
  box-shadow: 0 18px 38px rgba(39, 140, 98, .22);
  color: #fff;
}

.kc-main::after {
  position: absolute;
  right: -50px;
  bottom: -65px;
  width: 235px;
  height: 235px;
  border: 30px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
}

.kc-main__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .17);
}

.kc-main__icon svg,
.kc-small__icon svg,
.kc-address__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.kc-main h3 {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 900;
  line-height: 1.14;
}

.kc-main p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .84);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.58;
}

.kc-main__links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.kc-main__links a {
  display: inline-flex;
  align-items: center;
  min-height: 47px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .95rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .3s ease, background .3s ease;
}

.kc-main__links a:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-8px);
}

.kc-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 23px;
}

.kc-small {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 25px;
  border: 1px solid rgba(40, 83, 64, .08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 71, 55, .07);
  transition: transform .3s ease, box-shadow .3s ease;
}

.kc-small:hover {
  box-shadow: 0 16px 32px rgba(31, 71, 55, .12);
  transform: translateY(-8px);
}

.kc-small__icon {
  display: grid;
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  place-items: center;
  border-radius: 17px;
}

.kc-small--absence .kc-small__icon {
  background: rgba(255, 170, 187, .48);
  color: #a23859;
}

.kc-small--office .kc-small__icon {
  background: rgba(135, 206, 235, .46);
  color: #2576a4;
}

.kc-small__body {
  min-width: 0;
}

.kc-small h3 {
  margin: 0 0 4px;
  color: var(--k-ink);
  font-size: 1.13rem;
  font-weight: 900;
}

.kc-small p {
  margin: 0;
  color: var(--k-muted);
  font-size: .89rem;
  font-weight: 600;
  line-height: 1.45;
}

.kc-small a {
  display: inline-block;
  margin-top: 7px;
  color: var(--k-green);
  font-size: .9rem;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.kc-small a:hover {
  text-decoration: underline;
}

.kc-address {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 38px;
  align-items: center;
  margin-top: 23px;
  padding: clamp(28px, 4vw, 45px);
  border: 1px solid rgba(40, 83, 64, .08);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 71, 55, .07);
}

.kc-address__content {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.kc-address__icon {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 224, 102, .62);
  color: #976f00;
}

.kc-address h3 {
  margin: 0 0 7px;
  color: var(--k-ink);
  font-size: 1.38rem;
  font-weight: 900;
}

.kc-address p {
  margin: 0;
  color: var(--k-muted);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.58;
}

.kc-address__action {
  display: flex;
  justify-content: flex-end;
}

.kc-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 100px;
  background: var(--k-green);
  box-shadow: 0 10px 21px rgba(39, 140, 98, .22);
  color: #fff;
  font-size: .98rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.kc-map-btn:hover {
  background: #1e7350;
  box-shadow: 0 15px 28px rgba(39, 140, 98, .31);
  transform: translateY(-8px);
}

.kc-details {
  margin-top: 23px;
  overflow: hidden;
  border: 1px solid rgba(40, 83, 64, .09);
  border-radius: 23px;
  background: rgba(255, 255, 255, .72);
}

.kc-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  color: var(--k-ink);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.kc-details summary::-webkit-details-marker {
  display: none;
}

.kc-details summary::after {
  width: 9px;
  height: 9px;
  margin-left: 15px;
  border-right: 2px solid var(--k-green);
  border-bottom: 2px solid var(--k-green);
  content: "";
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s ease;
}

.kc-details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.kc-details__inside {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 24px 24px;
}

.kc-detail {
  padding: 16px;
  border-radius: 15px;
  background: #f7fcf9;
}

.kc-detail strong,
.kc-detail span {
  display: block;
}

.kc-detail strong {
  margin-bottom: 5px;
  color: var(--k-ink);
  font-size: .92rem;
  font-weight: 900;
}

.kc-detail span {
  color: var(--k-muted);
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.5;
}

.kc-detail a {
  color: var(--k-green);
  text-decoration: none;
}

.kc-detail a:hover {
  text-decoration: underline;
}

.kc-gdpr {
  margin: 28px 0 0;
  color: #84929c;
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.kc-gdpr a {
  color: #64748b;
}

@media (max-width: 850px) {
  .koralek-contact-v2 {
    padding: 75px 5% 62px;
  }

  .kc-top,
  .kc-address {
    grid-template-columns: 1fr;
  }

  .kc-address__action {
    justify-content: flex-start;
  }

  .kc-details__inside {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .koralek-contact-v2 {
    padding-right: 20px;
    padding-left: 20px;
  }

  .koralek-contact-v2__heading {
    margin-bottom: 28px;
  }

  .kc-main {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .kc-main__links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kc-main__links a {
    justify-content: center;
  }

  .kc-side {
    gap: 15px;
  }

  .kc-small {
    gap: 13px;
    padding: 19px 16px;
    border-radius: 20px;
  }

  .kc-small__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .kc-small__icon svg {
    width: 22px;
    height: 22px;
  }

  .kc-address {
    gap: 22px;
    margin-top: 15px;
    padding: 24px 19px;
    border-radius: 24px;
  }

  .kc-address__content {
    gap: 13px;
  }

  .kc-address__icon {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
    border-radius: 14px;
  }

  .kc-address__icon svg {
    width: 23px;
    height: 23px;
  }

  .kc-map-btn {
    width: 100%;
  }

  .kc-details {
    margin-top: 15px;
  }

  .kc-details summary {
    padding: 18px;
  }

  .kc-details__inside {
    grid-template-columns: 1fr;
    padding: 0 15px 15px;
  }
}