/* Tarinan Karisma - style.css */

@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #12345a;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;

  background:
    linear-gradient(
      180deg,
      #f4fbff 0%,
      #eef9ff 35%,
      #e6f6ff 70%,
      #dcefff 100%
    );
  background-attachment: scroll;
}

img,
picture {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 3000;
  background: rgba(245, 251, 255, 0.96);
  border-bottom: 1px solid #c8e5f8;
  box-shadow: 0 2px 14px rgba(14, 74, 130, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a,
.nav a:link,
.nav a:visited,
.nav a:active,
.nav a:focus,
.language-switch a,
.language-switch a:link,
.language-switch a:visited,
.language-switch a:active,
.language-switch a:focus {
  color: #12345a;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.language-switch a:hover {
  color: #0b74bd;
}

.nav a:focus-visible,
.language-switch a:focus-visible,
.menu-button:focus-visible {
  outline: 2px solid #0d6fb8;
  outline-offset: 4px;
  border-radius: 6px;
}

.menu-button {
  display: none;
  padding: 6px 12px;
  background: #fff;
  color: #0d3d7a;
  border: 1px solid #cde9fa;
  border-radius: 12px;
  font-size: 1.7rem;
  line-height: 1.2;
  cursor: pointer;
}

.menu-button:hover {
  background: #eef9ff;
}

.language-switch {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 8px;
  color: #476b8f;
  font-weight: 700;
  white-space: nowrap;
}

.language-switch .active-lang {
  color: #0d6fb8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-link {
  font-weight: 700;
  color: #0d6fb8;
  text-decoration: none;
}

.back-link:hover {
  color: #0a5792;
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  background: #eaf8ff;
  isolation: isolate;
}


.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(244, 251, 255, 0.94) 0%,
    rgba(244, 251, 255, 0.82) 38%,
    rgba(244, 251, 255, 0.28) 66%,
    rgba(244, 251, 255, 0) 84%
  );
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-background-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
}

.hero-content {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: center;
  align-items: center;

  width: min(1050px, calc(100% - 40px));
  min-height: 260px;

  margin: 0 auto;

  text-align: center;
}


/* Sections */
main {
  margin: 0;
  padding: 0;
  background: transparent;
}

.section {
  padding: 45px 0;
  scroll-margin-top: 90px;
}

.section-light {
  background: transparent;
}

.section h2 {
  margin: 0 0 24px;
  color: #0d3d7a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.section-intro {
  max-width: 760px;
  margin: 0 0 40px;
  color: #476b8f;
  font-size: 1.08rem;
}

/* Shared boxes */
.text-box,
.service-card,
.price-card,
.photo-card,
.about-text,
.education-box,
.contact-form,
.contact-info-box,
.note-box {
  min-width: 0;
  max-width: 100%;
  background: #fff;
  border: 1px solid #cde9fa;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(13, 94, 160, 0.1);
  overflow-wrap: anywhere;
}

.text-box {
  width: 100%;
  padding: 32px;
  margin: 0 0 28px;
}

.text-box p,
.price-card p,
.about-text p {
  color: #476b8f;
}

.text-box p {
  margin-top: 0;
  font-size: 1.07rem;
}

.text-box p:last-child,
.about-text p:last-child {
  margin-bottom: 0;
}

/* Services and pricing */
.service-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.level-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}



.service-card,
.price-card {
  padding: 30px;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(93, 167, 223, 0.18), transparent 70%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.service-card h3,
.price-card-header h3 {
  position: relative;
  margin: 0 0 14px;
  color: #0d6fb8;
  font-size: 1.28rem;
  line-height: 1.25;
}

.service-card p, 
.service-card ul,
.service-card li {
  position: relative;
  margin: 0 0 16px;
  color: #476b8f;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.featured-price {
  border-color: #b9def5;
}

.price-card-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #cde9fa;
}

.price-card-header span {
  display: inline-block;
  padding: 6px 14px;
  background: #eaf8ff;
  color: #0d6fb8;
  border: 1px solid #b9def5;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
  border-bottom: 1px solid #eef7fd;
}

.price-row span {
  color: #476b8f;
}

.price-row strong {
  color: #0d6fb8;
  font-size: 1.15rem;
  white-space: nowrap;
}

.price-note {
  margin: 20px 0 0;
  color: #476b8f;
  font-size: 0.98rem;
}

.note-box {
  margin-top: 24px;
  padding: 24px 28px;
}

.note-box h3 {
  margin: 0 0 12px;
  color: #0d6fb8;
  font-size: 1.25rem;
}

.note-box p {
  margin: 0 0 12px;
  color: #476b8f;
}

.note-box p:last-child {
  margin-bottom: 0;
}


/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "photo text" "education text";
  align-items: stretch;
  gap: 24px 42px;
}

.photo-card {
  grid-area: photo;
  padding: 14px;
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  grid-area: text;
  height: 100%;
  padding: 34px;
  color: #476b8f;
}

.about-text p {
  margin-top: 0;
  font-size: 1.07rem;
}

.education-box {
  grid-area: education;
  padding: 28px;
}

.education-box h3 {
  margin: 0 0 18px;
  color: #0d6fb8;
  font-size: 1.32rem;
}

.education-box ul {
  margin: 0;
  padding-left: 20px;
  color: #476b8f;
}

.education-box li {
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials-section {
  background: transparent;
}

.testimonial-bubble {
  position: relative;
  min-width: 0;
  padding: 30px;
  background: #fff;
  border: 1px solid #cde9fa;
  border-radius: 28px;
  box-shadow: 0 14px 36px rgba(13, 94, 160, 0.1);
  overflow-wrap: anywhere;
}

.testimonial-bubble::after {
  position: absolute;
  bottom: -16px;
  left: 34px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-right: 1px solid #cde9fa;
  border-bottom: 1px solid #cde9fa;
  border-bottom-right-radius: 8px;
  content: "";
  transform: rotate(45deg);
}

.testimonial-bubble p {
  margin: 0 0 18px;
  color: #476b8f;
  font-size: 1.04rem;
  line-height: 1.65;
}

.testimonial-bubble p:last-child {
  margin-bottom: 0;
}

.testimonial-bubble span {
  display: block;
  margin-bottom: 4px;
  color: #0d6fb8;
  font-size: 0.95rem;
  font-weight: 700;
}

/* =========================
   Varaa tunti
========================= */

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;

  margin-bottom: 28px;
}

.booking-intro h3 {
  margin: 0 0 12px;

  color: #0d6fb8;
  font-size: 2rem;
}

.booking-intro p {
  margin: 0;

  color: #476b8f;
  font-size: 1.05rem;
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  min-height: 58px;

  padding: 16px 34px;

  background: #52a6ee;
  color: #fff;

  border-radius: 999px;

  text-decoration: none;
  font-weight: 700;

  box-shadow: 0 10px 24px rgba(63, 150, 227, 0.25);

  transition: all .25s ease;
}

.booking-button:hover {
  background: #2f88d7;
  transform: translateY(-2px);
}

.booking-features {
  display: grid;
  gap: 14px;
}

.booking-feature {
  position: relative;

  padding: 16px 20px 16px 58px;

  background: #ffffff;

  border: 1px solid #dcefff;
  border-radius: 18px;

  box-shadow: 0 6px 18px rgba(13,94,160,.05);

  color: #476b8f;
}

.booking-feature::before {
  content: "✓";

  position: absolute;

  left: 18px;
  top: 50%;

  transform: translateY(-50%);

  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #0d6fb8;
  color: #fff;

  border-radius: 50%;

  font-size: .85rem;
  font-weight: 700;
}

@media (max-width: 900px) {

  .booking-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .booking-intro h3 {
    font-size: 1.6rem;
  }

  .booking-button {
    width: 100%;
    max-width: 320px;
  }

  .booking-feature {
    padding: 14px 18px 14px 54px;
  }
}

@media (max-width: 480px) {

  .booking-intro h3 {
    font-size: 1.4rem;
  }

  .booking-feature {
    font-size: 0.96rem;
  }
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 32px;
}

.contact-info-box,
.contact-form {
  padding: 30px;
}

.contact-info-box h3 {
  margin: 0 0 22px;
  color: #0d6fb8;
  font-size: 1.35rem;
}

.contact-info-item {
  padding: 16px 0;
  border-bottom: 1px solid #eef7fd;
}

.contact-info-item:first-of-type {
  padding-top: 0;
}

.contact-info-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-info-item span {
  display: block;
  margin-bottom: 6px;
  color: #0d3d7a;
  font-weight: 700;
}

.contact-info-item p {
  margin: 0;
  color: #476b8f;
}

.contact-form {
  display: grid;
  width: 100%;
  max-width: 650px;
  gap: 14px;
}

.contact-form label {
  color: #12345a;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 14px;
  background: #fff;
  color: #12345a;
  border: 1px solid #b9def5;
  border-radius: 12px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #69829b;
  opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #0d6fb8;
  outline: 3px solid rgba(99, 185, 240, 0.35);
}

.contact-form select {
  cursor: pointer;
}

.contact-form select:invalid {
  color: #69829b;
}

.contact-form select option {
  color: #12345a;
}

.hidden {
  display: none !important;
}

.privacy-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #476b8f !important;
  font-weight: 400 !important;
  line-height: 1.5;
  cursor: pointer;
}

.contact-form .privacy-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: #0d6fb8;
  cursor: pointer;
}

.privacy-consent span {
  min-width: 0;
}

/* Links */
.text-box a:not(.button),
.service-card a,
.note-box a,
.about-text a,
.contact-info-box a,
.price-card a,

.text-box a:not(.button):visited,
.service-card a:visited,
.note-box a:visited,
.about-text a:visited,
.contact-info-box a:visited,
.price-card a:visited {
  color: #0d6fb8;
  font-weight: 700;
  text-decoration: none;
}

.text-box a:not(.button):hover,
.service-card a:hover,
.note-box a:hover,
.about-text a:hover,
.contact-info-box a:hover,
.price-card a:hover {
  color: #0a5792;
  text-decoration: underline;
}

/* Buttons */
.button,
a.button,
button.button,
.return-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 48px;
  padding: 14px 28px;
  appearance: none;
  -webkit-appearance: none;
  background: #0d6fb8;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(13, 111, 184, 0.22);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.return-home-button:hover {
  background: #0a5792;
  transform: translateY(-1px);
}

.button:focus-visible,
.return-home-button:focus-visible {
  outline: 3px solid rgba(99, 185, 240, 0.45);
  outline-offset: 3px;
}

.primary-button {
    display: inline-block;
    margin: 20px 0;

    padding: 14px 28px;

    background: #0b63b6;
    color: #ffffff;

    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;

    border-radius: 999px;

    box-shadow: 0 4px 12px rgba(11, 99, 182, 0.25);

    transition: all 0.25s ease;
}

.primary-button:hover {
    background: #094f92;
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(11, 99, 182, 0.35);
}

.primary-button:active {
    transform: translateY(0);
}

/* Thank-you pages */
.confirmation-page {
  display: grid;
  min-height: 100vh;
  align-items: center;
}

.confirmation-box {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-box h1 {
  margin: 0 0 20px;
  color: #0d3d7a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
}

.confirmation-box p {
  margin: 0 0 28px;
  color: #476b8f;
}

.confirmation-box .return-home-button {
  min-width: 180px;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  background: #0d3d7a;
  color: #fff;
  border-top: 1px solid rgba(13, 61, 122, 0.16);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 4px;
}

/* Tablet and mobile */
@media (max-width: 900px) {
  .hero {
    height: clamp(360px, 100vw, 450px);
    min-height: 0;
    max-height: 450px;
  }

  .hero-background {
    overflow: hidden;
  }

  .hero-background-image {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: calc(100% + 80px);
    object-fit: cover;
    object-position: center 70%;
    transform: translateY(-55px) scale(1.04);
    transform-origin: center bottom;
  }

  .hero-content {
    width: calc(100% - 24px);
    height: 100%;
    min-height: 0;
    padding: clamp(46px, 12vw, 64px) 12px 14px;
  }

 
  .section {
    padding: 40px 0;
  }

  .section h2 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .service-grid,
  .pricing-grid,
  .testimonial-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  

  .level-grid {
    grid-template-columns: 1fr;
  }


  .about-layout {
    grid-template-areas: "photo" "text" "education";
  }

  .text-box {
    padding: 22px;
    margin-bottom: 24px;
  }

  .service-card,
  .price-card,
  .testimonial-bubble,
  .education-box,
  .contact-info-box,
  .contact-form {
    padding: 24px;
  }

  .about-text {
    height: auto;
    padding: 26px;
  }

  .nav-container {
    display: grid;
    min-height: 66px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    z-index: 3100;
  }

  .language-switch {
    grid-column: 3;
    margin-left: 0;
    z-index: 3100;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 3200;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 16px;
    background: #fff;
    border: 1px solid #cde9fa;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(13, 94, 160, 0.16);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 4px 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero {
    height: clamp(220px, 18vw, 320px);
    max-height: 420px;
  }

  .hero-background-image {
    height: calc(100% + 90px);
    transform: translateY(-65px) scale(1.05);
  }

  .hero-content {
    padding-top: clamp(44px, 11.5vw, 58px);
  }


  .section {
    padding: 34px 0;
  }

  .text-box,
  .service-card,
  .price-card,
  .about-text,
  .education-box,
  .contact-info-box,
  .contact-form,
  .note-box,
  .testimonial-bubble {
    padding: 20px;
    border-radius: 20px;
  }

  .photo-card {
    padding: 10px;
    border-radius: 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 13px;
  }

  .button,
  .return-home-button {
    padding: 13px 22px;
  }
}

/* Bannerin ja Palvelut-osion yhtenäinen siirtymä */
#palvelut {
  position: relative;
  border-top: 0;
  box-shadow: none;
  background: transparent;
}

/* =====================================
   HERO
===================================== */

.hero {
  min-height: 300px;
}

.hero-content {
  justify-content: center;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  text-align: center;
}

.hero-logo-image {
  display: block;

  width: min(480px, 60vw);
  height: auto;

  margin-top: -25px;
  margin-bottom: -5px;

  filter: drop-shadow(
    0 2px 8px rgba(0,0,0,.06)
  );
}

.hero-slogan {
  margin-top: -45px;

  color: #0754ad;

  font-family: "Sacramento", cursive;

  font-size: clamp(1.8rem, 1.8vw, 2.2rem);

  font-weight: 400;
  line-height: 1;

  letter-spacing: 0.01em;

  text-align: center;

  transform: skewX(-3deg);
}

/* Tablet */

@media (max-width: 900px) {

  .hero {
    min-height: 230px;
  }

  .hero-logo-image {
    width:340px;
  }

  .hero-slogan {
    font-size: 1.6rem;
  }
}

/* Mobile */
@media (max-width: 480px) {

  .hero {
    min-height: 320px;
  }

  .hero-brand {
    transform: translateY(-50px);
  }

  .hero-logo-image {
    width: 290px;

    margin-top: -15px;
    margin-bottom: 8px;
  }

  .hero-slogan {
    font-size: 1.6rem;

    margin-top: -25px;

    line-height: 1;
  }

  .hero + .section {
    position: relative;
    z-index: 2;

    margin-top: -60px;
    padding-top: 24px;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .return-home-button {
    transition: none;
  }

  .button:hover,
  .return-home-button:hover {
    transform: none;
  }
}

/* =========================
   Kiitossivujen painike
========================= */

.confirmation-box .return-home-button,
.confirmation-box a.return-home-button,
.confirmation-box button.return-home-button,
.confirmation-box .return-home-button:link,
.confirmation-box .return-home-button:visited,
.confirmation-box .return-home-button:hover,
.confirmation-box .return-home-button:active,
.confirmation-box .return-home-button:focus {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: auto !important;
  min-width: 180px;
  min-height: 48px;
  padding: 14px 28px;

  appearance: none;
  -webkit-appearance: none;

  background-color: #0d6fb8 !important;
  background-image: none !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  border: 0;
  border-radius: 999px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;

  text-align: center;
  text-decoration: none !important;
  text-shadow: none !important;

  opacity: 1 !important;
  visibility: visible !important;

  box-shadow: 0 10px 24px rgba(13, 111, 184, 0.22);
  cursor: pointer;
}

/* Varmistaa myös mahdollisen painikkeen sisäisen tekstielementin */

.confirmation-box .return-home-button span,
.confirmation-box .return-home-button strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hover ja kosketustila */

.confirmation-box .return-home-button:hover,
.confirmation-box .return-home-button:active {
  background-color: #0a5792 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Näppäimistökohdistus */

.confirmation-box .return-home-button:focus-visible {
  outline: 3px solid rgba(99, 185, 240, 0.5);
  outline-offset: 3px;
}

/* Mobiili */

@media (max-width: 900px) {
  .confirmation-box .return-home-button,
  .confirmation-box a.return-home-button,
  .confirmation-box button.return-home-button {
    display: inline-flex !important;
    width: auto !important;
    max-width: calc(100% - 32px);
    min-width: 180px;
    min-height: 50px;

    padding: 14px 26px;

    background-color: #0d6fb8 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;

    opacity: 1 !important;
  }
}

.contact-form .privacy-consent a,
.contact-form .privacy-consent a:link,
.contact-form .privacy-consent a:visited,
.contact-form .privacy-consent a:active {
  color: #0d6fb8 !important;
  -webkit-text-fill-color: #0d6fb8 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.contact-form .privacy-consent a:hover,
.contact-form .privacy-consent a:focus-visible {
  color: #0a5792 !important;
  -webkit-text-fill-color: #0a5792 !important;
}


/* =========================
   Yhtenäinen sivutausta
========================= */

html {
  min-height: 100%;
  background-color: #dcefff;
}

body {
  min-height: 100vh;
  background-color: #f4fbff;
}

main {
  background:
    linear-gradient(
      180deg,
      #f4fbff 0%,
      #eef9ff 35%,
      #e6f6ff 70%,
      #dcefff 100%
    ) !important;
}

main > section.section {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.services-intro-heading {
  color: #0d6fb8 !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;

  margin: 0 0 18px !important;
  padding: 0 !important;

  background: transparent !important;
  background-color: transparent !important;

  display: block !important;
}

.text-box > h3.services-intro-heading {
  background: transparent !important;
  background-color: transparent !important;
  color: #0d6fb8 !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
}



.level-card p,
.level-card li {
  color: #476b8f;
}