/* Untuvan PetSpa: brand and UX overrides (berry/purple, lighter UI, calmer motion) */

:root {
  --tg-theme-primary: #9a4d8f;
  --tg-theme-secondary: #6b3a66;
  --tg-heading-color: #3d2438;
  --tg-body-color: #534858;
  --tg-color-light-blue: #8b6a94;
  --tg-color-gray-1: #c4b3c8;
  --tg-color-gray-3: #b9a3b8;
  --tg-color-gray-4: #f4eef5;
  --tg-color-gray-5: #a894b0;
  --tg-color-gray-6: #ebe2ee;
  --tg-color-dark-blue: #352030;
  --tg-color-dark-blue-2: #2a1828;
  --tg-color-black-1: #2d1f2c;
  --tg-border-3: #d4c8d8;
  --tg-border-4: #e5dce8;
  --tg-border-5: #faf7fb;
}

/* Softer section / card surfaces */
.services__item,
.blog__post-item,
.pricing__box {
  box-shadow: 0 8px 28px rgba(61, 36, 56, 0.06);
  border: 1px solid rgba(154, 77, 143, 0.12);
  background: var(--tg-color-white-default);
}

.pricing__area .pricing__box {
  background: var(--tg-color-white-default);
}

/* Calmer primary buttons: shorter fill animation, less vertical sweep */
.btn::before {
  -webkit-transition-duration: 420ms;
  transition-duration: 420ms;
}

.btn:hover:before,
.btn:focus-visible:before {
  top: -28%;
}

.btn {
  -webkit-transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 12px rgba(61, 36, 56, 0.12);
}

.btn:hover,
.btn:focus-visible {
  box-shadow: 0 4px 16px rgba(61, 36, 56, 0.14);
}

.border-btn {
  box-shadow: none;
}

.border-btn:hover {
  box-shadow: 0 2px 10px rgba(61, 36, 56, 0.08);
}

/* Icon shake on subtitles: disable busy animation */
.shake {
  -webkit-animation: none !important;
  animation: none !important;
}

/* Sticky header: slightly softer bar */
.sticky-menu {
  box-shadow: 0 4px 20px rgba(45, 31, 44, 0.08);
}

/* Header strip + footer: use theme primary (was hardcoded hex in main.css) */
.tg-header__top,
.footer__top {
  background: var(--tg-theme-primary);
}

/* Top bar above main nav: readable white text + depth (gray-1 on purple was too faint) */
.tg-header__top {
  background: linear-gradient(180deg, var(--tg-theme-secondary) 0%, #854a7c 45%, var(--tg-theme-primary) 100%);
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 10, 18, 0.35);
  box-shadow: 0 4px 14px rgba(42, 24, 40, 0.22);
}

.tg-header__top-info li,
.tg-header__top-right > li {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
}

@media (min-width: 1200px) {
  .tg-header__top-info li,
  .tg-header__top-right > li {
    font-size: 16px;
  }
}

.tg-header__top-info li a,
.tg-header__top-right > li a {
  color: rgba(255, 255, 255, 0.98);
}

.tg-header__top-info li a:hover,
.tg-header__top-right > li a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tg-header__top-info li::before,
.tg-header__top-right > li::before {
  background: rgba(255, 255, 255, 0.55);
}

.tg-header__top-info li i,
.tg-header__top-right > li i {
  color: #ffffff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

.tg-header__top-social .list-wrap li a,
.tg-header__top-social .list-wrap li a i {
  color: #ffffff;
  font-size: 16px;
}

.tg-header__top-social .list-wrap li a:hover i {
  opacity: 1;
  color: #fff8dc;
}

/* Home booking form: visible fields, aligned grid, readable footer (card is berry) */
.registration__inner-wrap .form-grp {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}

.registration__inner-wrap .form-grp label {
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 8px;
  line-height: 1.3;
}

.registration__inner-wrap .form-grp input,
.registration__inner-wrap .form-grp.select-grp select {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  color: #ffffff !important;
}

.registration__inner-wrap .form-grp input:focus,
.registration__inner-wrap .form-grp.select-grp select:focus {
  border-color: rgba(255, 255, 255, 0.55) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.registration__inner-wrap .form-grp input::placeholder,
.registration__inner-wrap .form-grp input[type="date"],
.registration__inner-wrap .form-grp.select-grp select {
  color: rgba(255, 255, 255, 0.68) !important;
}

.registration__inner-wrap .form-grp input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.9;
  cursor: pointer;
}

.registration__inner-wrap .form-grp i {
  right: 16px;
  bottom: 15px;
  color: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.registration__inner-wrap .form-grp.select-grp::after {
  color: rgba(255, 255, 255, 0.92);
  bottom: 15px;
  right: 18px;
}

.registration__inner-wrap form > p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.55;
}

.registration__inner-wrap form > p a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.registration__inner-wrap form > p a:hover {
  color: #f4eef5;
}

.registration__inner-wrap .title {
  position: relative;
  z-index: 2;
  padding-top: 4px;
  margin-bottom: 28px;
}

.registration__inner-wrap .shape {
  opacity: 0.45;
  pointer-events: none;
}

.registration__inner-wrap .shape img {
  display: block;
  width: 100%;
  height: auto;
}

.registration__inner-wrap .submit__btn {
  margin-top: 8px;
}

.registration__inner-wrap .form-grp--has-trailing-icon input {
  padding-right: 46px;
}

/* Service page: jump nav wraps cleanly on desktop */
.service-jump-nav .text-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.35rem;
}

.service-jump-nav .btn.border-btn {
  margin: 0 !important;
}

/* Pricing: wider cards on large screens (was 3 narrow columns) */
@media (min-width: 992px) {
  .pricing-page .pricing__area > .container > .row > [class*="col-lg-4"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Services pricing cards: left-align rows (no centered orphan cards); equal card height */
.pricing-page .pricing__area > .container > .row > [class*="col-lg-4"].d-flex .pricing__box.w-100 {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
}

.pricing-page .pricing__area > .container > .row > [class*="col-lg-4"] .pricing__btn {
  margin-top: auto;
}

/* ========== Main navigation: modern pills, clear active + hover ========== */
.tg-header__area {
  background: rgba(255, 255, 255, 0.94) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(154, 77, 143, 0.1);
  box-shadow: 0 4px 24px rgba(45, 31, 44, 0.06) !important;
}

#sticky-header.sticky-menu.tg-header__area {
  box-shadow: 0 8px 32px rgba(45, 31, 44, 0.1) !important;
}

.tg-header__area .tgmenu__nav {
  align-items: center;
}

.tg-header__area .untuvan-nav {
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tg-header__area .untuvan-nav > li {
  margin-right: 0 !important;
}

.tg-header__area .untuvan-nav > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  border-radius: 999px;
  font-size: 15px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tg-theme-secondary) !important;
  line-height: 1 !important;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.28s ease,
    transform 0.2s ease;
}

.tg-header__area .untuvan-nav > li:not(.active) > a:hover {
  color: var(--tg-theme-primary) !important;
  background-color: rgba(154, 77, 143, 0.11) !important;
  transform: translateY(-1px);
}

.tg-header__area .untuvan-nav > li:not(.active) > a:focus-visible {
  outline: 2px solid var(--tg-theme-primary);
  outline-offset: 3px;
}

.tg-header__area .untuvan-nav > li.active > a,
.tg-header__area .untuvan-nav > li.active > a:hover {
  color: #fff !important;
  background: linear-gradient(145deg, var(--tg-theme-primary) 0%, #b86ead 100%) !important;
  box-shadow: 0 4px 18px rgba(154, 77, 143, 0.38);
  transform: none;
}

.tg-header__area .untuvan-nav > li.active > a:focus-visible {
  outline: 2px solid var(--tg-theme-secondary);
  outline-offset: 3px;
}

/* Mobile drawer: same visual language, no left stripe */
.tgmobile__menu .untuvan-nav > li > a {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  border-radius: 12px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  margin: 4px 8px;
  font-weight: 600 !important;
  line-height: 1 !important;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.tgmobile__menu .untuvan-nav > li > a::before,
.tgmobile__menu .untuvan-nav > li.active > a::before {
  display: none !important;
}

.tgmobile__menu .untuvan-nav > li:not(.active) > a:hover {
  color: var(--tg-theme-primary) !important;
  background-color: rgba(154, 77, 143, 0.08) !important;
}

.tgmobile__menu .untuvan-nav > li.active > a {
  color: #fff !important;
  background: linear-gradient(145deg, var(--tg-theme-primary) 0%, #b86ead 100%) !important;
  box-shadow: 0 4px 14px rgba(154, 77, 143, 0.3);
}

@media (max-width: 1199.98px) {
  .tg-header__area .untuvan-nav > li > a {
    font-size: 14px !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ---------- Layout: no horizontal page scroll; off-canvas fully hidden until opened ---------- */
/* Fixed side panel + hero shadows / wide rows can widen the scrollable area; clip x on the root. */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Side contact panel (.offCanvas__info): keep it off-screen + inert until .active (menu icon). */
.offCanvas__info:not(.active) {
  transform: translate3d(100%, 0, 0) !important;
  pointer-events: none;
}

.offCanvas__info.active {
  transform: translate3d(0, 0, 0) !important;
  pointer-events: auto;
}

/* Home about section: embedded intro video */
.about__img--intro-video .about__intro-video-wrap {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(154, 77, 143, 0.18);
  box-shadow: 0 16px 42px rgba(61, 36, 56, 0.1);
  background: var(--tg-color-black-1, #2d1f2c);
}

.about__img--intro-video .about__intro-video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.about__img--intro-video .about__intro-video-label {
  margin: 14px 0 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--tg-theme-primary);
  letter-spacing: 0.02em;
}

/* Services grid: equal card heights in a row (home + about) */
.services__area .row.justify-content-center > [class*="col-"] {
  display: flex;
}

.services__area .services__item {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  /* Pure white so GIF backgrounds match (template blob fill was #fbfbfb) */
  background: #ffffff !important;
}

.services__area .services__shape .shape-one svg {
  color: #ffffff;
}

.services__area .services__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.services__area .services__content .btn {
  margin-top: auto;
  align-self: center;
}

.services__area .services__icon-gif {
  display: block;
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 88px;
  margin: 0 auto;
  object-fit: contain;
}

/* ---------- Counter / “Meidän tiimimme” strip (dark berry): readable text + accents ---------- */
.counter__area .counter__content p {
  color: rgba(255, 255, 255, 0.92);
}

.counter__area .counter__item p {
  color: rgba(255, 255, 255, 0.88);
}

.counter__area .counter__item .count {
  border-bottom-color: rgba(255, 255, 255, 0.38);
}

.counter__area .counter__img-shape svg {
  color: #c9d8f5;
}

.counter__area .section__title.white-title .sub-title {
  color: rgba(255, 255, 255, 0.92);
}

.counter__area .section__title.white-title .sub-title svg,
.counter__area .section__title.white-title .sub-title .injectable {
  opacity: 1;
  filter: brightness(0) invert(1);
}

/* ---------- Brand logo row: light cards so logos read on dark purple ---------- */
.brand__area .brand__item-wrap {
  border-top-color: rgba(255, 255, 255, 0.32);
}

.brand__area .brand__item {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.brand__area .brand__item img {
  opacity: 1;
}

.brand__area .brand__item img:hover {
  opacity: 0.92;
}

/* ---------- Home testimonial (BookSalon): consistent left alignment & layout ---------- */
.testimonial__area .testimonial__item-wrap .section__title {
  text-align: left;
}

.testimonial__area .testimonial__item {
  text-align: left;
}

.testimonial__area .testimonial__icon {
  margin-bottom: 18px;
}

.testimonial__area .testimonial__content .title {
  text-align: left;
  line-height: 1.3;
}

.testimonial__area .testimonial__content p {
  width: 100%;
  max-width: 42rem;
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 992px) {
  .testimonial__area .testimonial__item-wrap {
    padding-right: 0.5rem;
    max-width: 36rem;
  }

  .testimonial__area .testimonial__img {
    text-align: center;
    padding: 8px 12px;
  }

  .testimonial__area .testimonial__img-mask {
    margin-right: auto;
  }
}

/* ---------- Quote slider (“Lemmikin hyvinvointi”): bottom spacing + centered layout ---------- */
.testimonial__area-two {
  padding-top: 40px;
  padding-bottom: 104px;
}

@media (max-width: 767.98px) {
  .testimonial__area-two {
    padding-top: 28px;
    padding-bottom: 72px;
  }
}

.testimonial__area-two .testimonial__item-wrap-two {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  background: #ffffff;
  border: 1px solid rgba(154, 77, 143, 0.14);
  box-shadow: 0 14px 44px rgba(61, 36, 56, 0.08);
  overflow: visible;
}

.testimonial__area-two .testimonial__item-wrap-two .shape {
  display: none;
}

.testimonial__area-two .testimonial__content-two {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.testimonial__area-two .testimonial__content-two .title {
  line-height: 1.28;
  margin-bottom: 18px;
  color: var(--tg-heading-color);
}

.testimonial__area-two .testimonial__content-two p {
  margin-bottom: 22px;
  color: var(--tg-body-color);
}

.testimonial__area-two .testimonial__author-two {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
}

.testimonial__area-two .testimonial__author-two .testimonial__author-thumb {
  margin-bottom: 14px;
}

.testimonial__area-two .testimonial__icon-two {
  margin-bottom: 18px;
}

/* ---------- Footer: readable text on purple + dark bottom bar ---------- */
.footer__top {
  padding-bottom: 88px;
}

@media (max-width: 767.98px) {
  .footer__top {
    padding-bottom: 64px;
  }
}

.footer__content p {
  color: rgba(255, 255, 255, 0.9);
}

.footer__social .title {
  color: rgba(255, 255, 255, 0.88);
}

.footer__link .list-wrap li {
  color: rgba(255, 255, 255, 0.88);
}

.footer__link .list-wrap li a {
  color: rgba(255, 255, 255, 0.92);
}

.footer__link .list-wrap li span {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer__bottom {
  padding-top: 26px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-menu .list-wrap li a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.footer__bottom-menu .list-wrap li::before {
  background: rgba(255, 255, 255, 0.4);
}

.footer__bottom-menu .list-wrap li a:hover {
  color: #ffffff;
}

.copyright-text p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.footer__newsletter {
  border-color: rgba(255, 255, 255, 0.22);
}

/* ---------- Home: Kuvagalleria preview — header + empty state alignment ---------- */
.home-gallery-preview__head {
  margin-bottom: 1.75rem;
}

@media (min-width: 992px) {
  .home-gallery-preview__head {
    margin-bottom: 2.25rem;
  }
}

.home-gallery-preview__empty {
  text-align: left;
  padding: 1.35rem 1.5rem;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--tg-body-color);
  background: var(--tg-color-gray-4);
  border: 1px dashed rgba(154, 77, 143, 0.35);
  border-radius: 16px;
  max-width: 36rem;
}

.home-gallery-preview .home-gallery-preview__grid {
  min-height: 0;
}

@media (max-width: 767.98px) {
  .home-gallery-preview .view__all-btn .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Team section CTA: full-width text as one button (was underlined paragraph + second btn) */
.team__bottom-content .team__bottom-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  max-width: min(100%, 32rem);
  line-height: 1.35;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* About page: stats strip — berry gradient band + light cards + dark type (fixes white-on-white) */
.about-counter-modern.counter__area-bg {
  background-image: none !important;
  background: linear-gradient(
    145deg,
    #3d2445 0%,
    var(--tg-theme-secondary) 42%,
    var(--tg-theme-primary) 100%
  );
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.about-counter-modern.counter__area-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-counter-modern .container {
  position: relative;
  z-index: 1;
}

.about-counter-modern .counter__item-two {
  margin-bottom: 0;
  padding: 2rem 1.25rem 1.75rem;
  border-radius: 20px;
  background: var(--tg-border-5);
  border: 1px solid rgba(154, 77, 143, 0.22);
  box-shadow: 0 14px 36px rgba(45, 31, 44, 0.14);
  isolation: isolate;
}

.about-counter-modern .counter__item-shape img {
  z-index: 0;
  opacity: 0.14;
  max-width: 150px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(15%) hue-rotate(250deg);
}

.about-counter-modern .counter__item-two .count {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
  position: relative;
  z-index: 1;
  color: var(--tg-theme-secondary) !important;
  text-shadow: none;
  font-size: 60px;
}

.about-counter-modern .counter__item-two .count .odometer {
  color: inherit !important;
}

.about-counter-modern .counter__item-two .about-counter-suffix {
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
  color: var(--tg-theme-primary);
  opacity: 1;
}

.about-counter-modern .counter__item-two p {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--tg-body-color) !important;
  text-shadow: none;
}

@media (max-width: 1199.98px) {
  .about-counter-modern .counter__item-two .count {
    font-size: 48px;
  }
}

@media (max-width: 767.98px) {
  .about-counter-modern.counter__area-bg {
    padding: 3.5rem 0 3rem;
  }

  .about-counter-modern .counter__item-two {
    padding: 1.5rem 1rem 1.35rem;
  }

  .about-counter-modern .counter__item-two .count {
    font-size: 40px;
  }
}

/* Contact page: varauslomake + kuva — gutter between columns (main.css used absolute img, no gap) */
.contact-booking-section .registration__img {
  position: relative;
  inset: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-booking-section .registration__img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(61, 36, 56, 0.1);
  border: 1px solid rgba(154, 77, 143, 0.12);
}

@media (max-width: 991.98px) {
  .contact-booking-section .registration__img {
    display: flex;
    margin-top: 0.25rem;
  }
}

/* ---------- Contact page: modern, high-contrast forms (varaus + viesti) ---------- */
.contact-booking-section.registration__area-two {
  background: linear-gradient(180deg, #faf7fb 0%, #ffffff 55%, #f4eef5 100%);
}

.contact-booking-section .registration__form {
  background: #ffffff;
  border: 1px solid rgba(154, 77, 143, 0.18);
  border-radius: 22px;
  box-shadow:
    0 4px 6px rgba(61, 36, 56, 0.04),
    0 22px 50px rgba(61, 36, 56, 0.09);
  padding: 2.5rem 2.75rem 2.75rem;
}

@media (max-width: 1199.98px) {
  .contact-booking-section .registration__form {
    padding: 2rem 2rem 2.25rem;
  }
}

@media (max-width: 767.98px) {
  .contact-booking-section .registration__form {
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 18px;
  }
}

.contact-booking-section .registration__form .title {
  color: var(--tg-heading-color);
  font-size: clamp(1.65rem, 2vw + 1rem, 2.15rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.contact-booking-section .registration__form > span {
  color: var(--tg-body-color);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.contact-booking-section .registration__form .form-grp textarea,
.contact-booking-section .registration__form .form-grp input,
.contact-booking-section .registration__form .form-grp.select-grp select {
  border: 1.5px solid rgba(83, 72, 88, 0.28) !important;
  border-radius: 14px !important;
  background: #fbf9fc !important;
  color: var(--tg-heading-color) !important;
  font-weight: 500;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-booking-section .registration__form .form-grp textarea::placeholder,
.contact-booking-section .registration__form .form-grp input::placeholder {
  color: #6b5f73 !important;
  font-weight: 400;
}

.contact-booking-section .registration__form .form-grp.select-grp select:invalid {
  color: #6b5f73 !important;
}

.contact-booking-section .registration__form .form-grp textarea:focus,
.contact-booking-section .registration__form .form-grp input:focus,
.contact-booking-section .registration__form .form-grp.select-grp select:focus {
  outline: none !important;
  border-color: var(--tg-theme-primary) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(154, 77, 143, 0.22);
}

.contact-booking-section .registration__form .form-grp textarea {
  min-height: 120px !important;
  max-height: 220px !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  resize: vertical;
}

.contact-booking-section .registration__form .form-grp.select-grp::after {
  color: var(--tg-theme-primary);
}

.contact-booking-section .registration__form .btn {
  margin-top: 0.5rem;
  min-height: 52px;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  font-weight: 600;
}

/* Viestilomake + alueen tausta */
.contact__area {
  background: linear-gradient(180deg, #ffffff 0%, var(--tg-color-gray-4) 40%, #ffffff 100%);
}

.contact__area .contact__form-wrap {
  background: #ffffff;
  border: 1px solid rgba(154, 77, 143, 0.18);
  border-radius: 22px;
  box-shadow:
    0 4px 6px rgba(61, 36, 56, 0.04),
    0 22px 50px rgba(61, 36, 56, 0.09);
  padding: 2.5rem 2.75rem 2.75rem;
  margin-left: 0;
}

@media (min-width: 1200px) {
  .contact__area .contact__form-wrap {
    margin-left: 1rem;
  }
}

@media (max-width: 767.98px) {
  .contact__area .contact__form-wrap {
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 18px;
  }
}

.contact__area .contact__form .title {
  color: var(--tg-heading-color);
  font-size: clamp(1.65rem, 2vw + 1rem, 2.15rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.contact__area .contact__form > span {
  color: var(--tg-body-color);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.contact__area .contact__form .form-grp textarea,
.contact__area .contact__form .form-grp input {
  border: 1.5px solid rgba(83, 72, 88, 0.28) !important;
  border-radius: 14px !important;
  background: #fbf9fc !important;
  color: var(--tg-heading-color) !important;
  font-weight: 500;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact__area .contact__form .form-grp textarea::placeholder,
.contact__area .contact__form .form-grp input::placeholder {
  color: #6b5f73 !important;
}

.contact__area .contact__form .form-grp textarea:focus,
.contact__area .contact__form .form-grp input:focus {
  outline: none !important;
  border-color: var(--tg-theme-primary) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(154, 77, 143, 0.22);
}

.contact__area .contact__form .form-grp textarea {
  min-height: 140px !important;
  max-height: 280px !important;
  border-radius: 16px !important;
  resize: vertical;
}

.contact__area .contact__form .btn {
  margin-top: 0.5rem;
  min-height: 52px;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  font-weight: 600;
}

.contact__area .contact-map {
  margin-top: 4rem;
}

.contact__area .contact-map iframe {
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(61, 36, 56, 0.1);
  border: 1px solid rgba(154, 77, 143, 0.12) !important;
}
