/* =======================================
   (Jo Designs – typografia & värit)
======================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Jost', sans-serif;
  --color-text: #333333;
  --color-accent: #604573; /* violetti */
  --color-link: #5f2c91;
  --color-link-contrast: #4b2e6a; /* varaväri tummemmille taustoille */
  --faq-accent: #b58b4c; /* Golden ochre */
  font-size: clamp(1rem, 0.9vw + 0.6rem, 1.125rem); /* ~16px mobiilissa, max n. 18px desktopilla */

  /* --- Peruspaletti --- */
  --canyon-rose: #e9d9d1;      /* lämmin rosé */
  --golden-ochre: #b58b4c;     /* syvä hunaja */
  --sand-beige: #f3eeea;       /* luonnollinen beige */
  --linen-white: #f9f7f6;      /* paperinen valkoinen */
  --muted-brown: #5e514a;      /* lämmin tummanruskea */
  --terracotta: #ba7b55;
  /* --- Light-versiot --- */
  --canyon-rose-light: #f6eeea;     /* pehmeä rosé */
  --golden-ochre-light: #e9d6b6;    /* kevyt okra */
  --sand-beige-light: #faf7f5;      /* neutraali */
  --linen-white-light: #fdfcfc;     /* lähes valkoinen */
  --sage-brush: #b7c5a6; /* pehmeä vihreäharmaa – tuo rytmiä */
  --sage-brush-light: #c9d3ba;
  --deep-olive: #6b6543;
  /* --- Kategoria-taustat --- */
  --brand-bg: var(--canyon-rose-light);     /* Brändi */
  --content-bg: var(--linen-white-light);   /* Viestintä & sisältö */
  --canva-bg: var(--sand-beige-light);      /* Canva */
  --training-bg: #f7f3ef;                   /* Koulutus */
}

body {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: clamp(1.2, 1vw + 1.1, 1.4);
  margin-bottom: 0.8em;
  font-style: normal;
  font-weight: 500;
}

h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

p, li, span {
  font-family: var(--font-body);
  line-height: 1.7;
  hyphens: auto;
  overflow-wrap: break-word;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover
{
	text-decoration: underline;
	color: var(--color-accent);
}

a:focus-visible,
.btn:focus-visible,
.jo-btn:focus-visible,
.button-custom:focus-visible {
  text-decoration: underline;
	outline: 1px solid var(--golden-ochre);     /* lämmin kultainen kehys */
  outline-offset: 3px;
  border-radius: 0;
  box-shadow: 0 0 0 4px rgba(185,149,93,0.35); /* pehmeä hehku */
  text-decoration: none;
  transition: box-shadow 0.25s ease, outline 0.25s ease;
}

.btn:hover:focus-visible,
.jo-btn:hover:focus-visible,
.button-custom:hover:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.services-hero h1,
.hero-intro__text h1,
.brand-hero h1,
.marketing-hero h1,
.web-hero h1,
.va-hero h1,
.author-hero h1,
.contact-hero h1 {
  font-family: var(--font-heading);
  color: #604573;
  line-height:1.25;
  margin-bottom: clamp(0.5rem, 0.8vw, 0.8rem);
  word-break: break-word;
}

@media (max-width: 768px) {
.services-hero h1,
.hero-intro__text h1,
.brand-hero h1,
.marketing-hero h1,
.web-hero h1,
.va-hero h1,
.author-hero h1,
.contact-hero h1,
.divider-title {
 font-size: 1.8rem;
 line-height: 1.15;
 word-break: break-word;}
}
		
/* =======================================
   EYEBROW-TYYLIT – Jo Designs
======================================= */

.eyebrow,
.intro-eyebrow,
.web--eyebrow,
.hello-eyebrow,
.section-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: clamp(0.08em, 0.15vw, 0.12em);
  font-size: clamp(0.78rem, 0.5vw + 0.5rem, 0.85rem);
  font-weight: 500;
  display: block;
  margin-bottom: clamp(0.4rem, 0.4vw + 0.3rem, 0.6rem);
  color: #b9955d; /* golden ochre */
}

/* Pehmeämpi violetti versio */
.eyebrow--soft {
  color: #8a7d92;
  letter-spacing: clamp(0.07em, 0.12vw, 0.1em);
  font-size: clamp(0.7rem, 0.4vw + 0.4rem, 0.8rem);
}

/* Lempeä sage brush -sävy */
.web--eyebrow {
  color: #7a8b74; /* lempeä sage brush */
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: clamp(0.08em, 0.15vw, 0.12em);
  font-size: clamp(0.78rem, 0.5vw + 0.5rem, 0.85rem);
  font-weight: 500;
  display: block;
  margin-bottom: clamp(0.4rem, 0.4vw + 0.3rem, 0.6rem);
}

.divider-eyebrow {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b39b8f;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* =======================================
   NAPIT – Jo Designs
======================================= */
/* Perustyyli kaikille napeille */
.btn,
.jo-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.85rem, 1vw + 0.6rem, 1rem);
  padding: clamp(0.6rem, 1vw + 0.4rem, 0.9rem) clamp(1.2rem, 1.8vw + 0.5rem, 1.8rem);
  border: none;
  border-radius: 0;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn:hover,
.jo-btn:hover{
  color: #fff;
  text-decoration: none;
}

.btn:focus-visible,
.jo-btn:focus-visible {
  outline: 2px solid #b9955d; /* Golden ochre focus */
  outline-offset: 3px;
}

/* --- Värivariaatiot --- */
.btn--rose,
.jo-btn--rose {
  background-color: #B67861; /* Canyon rose */
}
.btn--rose:hover,
.jo-btn--rose:hover {
  background-color: #9F5F4C;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Sage brush */
.btn--sage,
.jo-btn--sage {
  background-color: #9EA184;
}
.btn--sage:hover,
.jo-btn--sage:hover {
  background-color: #8A8E74;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Golden ochre */
.btn--ochre,
.jo-btn--ochre {
  background-color: #A7844E;
}
.btn--ochre:hover,
.jo-btn--ochre:hover {
  background-color: #946F3C;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* --- Custom pastelli (esim. korttinapit) --- */
.button-custom {
  background-color: #d6c7c3;
  color: #333;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  padding: clamp(0.6rem, 1vw + 0.4rem, 1rem);
  font-size: clamp(0.9rem, 1vw + 0.4rem, 1rem);
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}
.button-custom:hover {
  background-color: #b9aaa7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  cursor: pointer;
}

/* --- Fokus-tila saavutettavuuteen --- */
a:focus-visible,
.btn:focus-visible,
.jo-btn:focus-visible {
  outline: clamp(2px, 0.25vw, 3px) solid var(--color-accent);
  outline-offset: clamp(2px, 0.3vw, 4px);
  border-radius: 0; 
  box-shadow: 0 0 0 clamp(2px, 0.3vw, 4px) rgba(185, 149, 93, 0.4); /* Golden ochre hehku */
}


/* --- CTA-kontit (hero, osiot, footer jne.) --- */
.cta-buttons,
.cta-final__buttons {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 1.2rem);
  flex-wrap: wrap;
  margin-top: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
}

.cta-buttons--compact {
  gap: clamp(0.4rem, 1vw, 0.8rem);
  margin-top: clamp(1rem, 1.5vw, 1.5rem);
  margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
}

@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center; 
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .cta-buttons .btn,
  .cta-buttons .jo-btn,
  .cta-buttons .button-custom {
    width: 85%;
    max-width: 260px; 
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }
}



/* ==== Menu === */

.main-navigation a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #292929;
  transition: color 0.3s ease, background-color 0.3s ease;
  outline-offset: 3px;
  padding: 0.6em 1em;
  display: inline-block;
}

/* --- Hover- ja focus-tilat --- */
.main-navigation a:hover,
.main-navigation a:focus {
  color: #292929;
  background-color: #D8DCCF; /* vaalea sage hover-tausta */
  text-decoration: none;
}

/* --- Näkyvä focus-viiva näppäimistönavigointiin (WCAG) --- */
.main-navigation a:focus-visible {
  outline: 2px solid #b9955d; /* Golden ochre */
  background-color: #F5F3ED;
}

/* --- Aktiivinen sivu (esim. Palvelut) --- */
.main-navigation .current-menu-item > a {
  color: #b9955d; /* Golden ochre */
  background-color: transparent;
}

/* --- Estä Palvelut-linkin korostus alasivuilla --- */
.main-navigation .current-menu-parent > a {
  color: #292929;
}

/* --- Korosta vain aktiivinen alasivu kullalla --- */
.main-navigation .current-menu-parent .current-menu-item > a {
  color: #b9955d;
}

/* --- Estä hover-efekti aktiivisella linkillä --- */
.main-navigation .current-menu-item > a:hover,
.main-navigation .current-menu-parent .current-menu-item > a:hover {
  color: #b9955d;
  background-color: transparent;
}

/* --- Mobiilivalikko yhtenäiseksi --- */
@media (max-width: 768px) {
  /* --- Tausta ja perusasetukset --- */
  #mobile-navigation,
  .main-navigation.toggled ul {
    background-color: #f9f8f7; /* cream-tausta */
  }

  #mobile-navigation a {
    font-family: var(--font-body);
    color: #292929 !important;
    opacity: 1 !important;
    font-size: 1.05rem;
    font-weight: 500;
    display: block;
    padding: 0.55em 1.1em;
    background: transparent;
    transition: color 0.25s ease, background-color 0.25s ease;
    border-bottom: 1px solid rgba(183,197,166,0.35); /* hento sage brush -viiva */
  }

  /* --- Hover- ja focus-tilat --- */
  #mobile-navigation a:hover,
  #mobile-navigation a:focus {
    color: #b9955d;
    background-color: #EAE8E0;
  }

  /* --- Aktiivinen sivu kullalla --- */
  #mobile-navigation .current-menu-item > a,
  #mobile-navigation .current-menu-parent .current-menu-item > a {
    color: #b9955d;
    background: transparent;
  }

  /* --- Estä Palvelut-linkin korostus alasivuilla --- */
  #mobile-navigation .current-menu-parent > a {
    color: #292929;
  }

  #mobile-navigation a:focus-visible {
    outline: 2px solid #b9955d;
    background-color: #F5F3ED;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* ==  Väliotsikot & siirtymäosiot == */
.section-divider {
  background: linear-gradient(180deg, #f6f7f3 0%, #fff 100%);
  border-top: 1px solid rgba(158,161,132,0.25);
}

.divider-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #3a2f2a;
  margin-bottom: 1rem;
  position: relative;
 text-align:center;
}

.divider-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: #d3b8aa;
  display: block;
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-transition-hero {
  background-color: #f4f1ec;
  padding: 80px 20px;
  text-align: center;
}

.section-transition-hero h2 {
  font-family: var(--font-heading);
  color: #3a2f2a;
  margin-bottom: 1rem;
}

.section-transition-hero p {
  font-size: 1.1rem;
  color: #5a524c;
  max-width: 600px;
  margin: 0 auto;
}

.web-mini-note {
  font-size: 0.95rem;
  color: #604573; /* brändivioletti */
  font-style: italic;
  margin-top: -0.4em;
  margin-bottom: 2em;
}

.web-mini-cta {
		text-align: center;
}

/*---- hinnat -----*/

.price {
  font-family: var(--font-body);
  font-weight: 600;
  color: #604573; /* violetti, yhtenäinen sävy */
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* Hintahuomautus tai pieni lisäteksti */
.note {
  font-size: 0.9rem;
  color: #555;
  background: #f5f1eb;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 10px;
  font-family: var(--font-body);
}

/* ==== ETUSIVU ===== */
.hero-section {
  text-align: center;
  color: #2c2c2c;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.hero-intro__text {
  max-width: 760px;
  width: 90%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  padding: 60px 20px 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  box-sizing: border-box;
  text-align: center;
}

/* Otsikot */
.hero-intro__text .eyebrow {
  display: block;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: #b9955d;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.hero-intro__text p {
  font-family: var(--font-body);
  color: #444;
  margin-bottom: 2rem;
}

/* Mobiili */
@media (max-width: 768px) {
  .hero-section {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 40px 16px !important;
  box-sizing: border-box;
  overflow: hidden;
  }
		
  .hero-intro__text {
   max-width: 100%;
    padding: 24px 16px;
    border-radius: 0; /* jos käytössä */
  }
}

/* = HELLO-BLOCK = */
.hello-block {
  position: relative;
  overflow: hidden;
  background: #f9f9f9 url('https://jo-designs.net/wp-content/uploads/2025/10/elegant_marble_background_with_gold_glitter_2605-scaled-e1760091937502.jpg') center/cover no-repeat;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.hello-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.hello-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  pointer-events: none;
  z-index: 1;
}

.hello-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
  pointer-events: none;
  z-index: 2;
}

.hello-heading {
  font-family: var(--font-heading);
  font-style: italic;
  max-width: 850px;
}

.hello-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.hello-columns p {
  color: #444;
  margin: 0;
}

/* --- Mobiili ja saavutettavuus --- */
@media (max-width: 900px) {
  .hello-block {
    padding: 60px 16px 50px;
    text-align: center;
  }

.hello-heading {
    font-size: 1.5rem;
  }

  .hello-block::after {
    height: 50px;
  }

  /* Palstat päällekkäin */
  .hello-columns {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .hello-columns p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* --- Kenelle -- */
.for-who-split {
  width: 100%;
  background-color: #fdf7f6;
  display: flex;
  align-items: center;
  min-height: 600px; /* Voit säätää haluamaksesi korkeudeksi */
  padding: 0;
}

/* --- SISÄINEN GRID --- */
.for-who-split .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0; 
  width: 100%;
  align-items: stretch;
}

.for-who__image {
  height: 100%;
}

.for-who__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.for-who__content {
  background-color: #ffffff;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* --- TYPOGRAFIA --- */
.for-who__content .eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b7956e;
  display: block;
}

.for-who__content h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
	margin-top: 0.95rem;
	color: var(--color-accent);
	line-height: 1.5;
}

.for-who__content ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.5rem 0;
}

.for-who__content ul li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.4rem;
  font-family: var(--font-body);
}

.for-who__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background-color: #b7956e;
  border-radius: 50%;
}

.for-who__content p {
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
}

/* --- NAPPI --- */
.cta-buttons {
  margin-top: 1rem;
}

/* --- MOBIILINA ALLEKKAIN --- */
@media (max-width: 768px) {
  .for-who-split .inner {
    grid-template-columns: 1fr;
  }

  .for-who__image {
    order: -1;
  }

  .for-who__content {
    padding: 40px 24px;
  }

  .for-who__content h3 {
    font-size: 1.2rem;
  }

  .for-who-split {
    min-height: auto;
    padding: 40px 0;
  }
}

.servicesfront {
  text-align: center;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  max-width: 900px;
}

.servicesfront h2 {
  font-size: 2.2rem;
  color: var(--violet);
  margin-bottom: 1.2rem;
}

.servicesfront .lead {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .servicesfront h2 {
    font-size: 1.7rem;
  }
  .servicesfront .lead {
    font-size: 1rem;
    line-height: 1.65;
  }
}



/* ==== PALVELUKORTIT ==== */

.jo-offer__grid--two {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* aina 2 saraketta */
  gap: 1.8rem;
  max-width: 1150px;
  margin: 70px auto 0;
  padding: 0 20px;
}

/* Mobiilissa yksi per rivi */
@media (max-width: 900px) {
  .jo-offer__grid--two {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 94%;
  }
}

/* ==== PALVELUKORTIT ==== */

/* Kortti – perusmuotoilu */
.jo-offer__card {
  position: relative;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  border: 1px solid #b9955d;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1;
  transform: none; 
}

/* Hover-efekti */
.jo-offer__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  background-color: #f5f1eb; /* lempeä beige hover-tausta */
}

/* Klikattava linkki koko kortille */
.jo-offer__card .stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
}

.jo-offer__body,
.jo-offer__title,
.jo-offer__text,
.jo-btn {
  position: relative;
  z-index: 2;
}

/* Kuva */
.jo-offer__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.05) contrast(0.95) saturate(0.95) sepia(0.03);
}

/* Sisältö */
.jo-offer__body {
  padding: 2rem 1.6rem 2.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Eyebrow */
.jo-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b9955d;
  margin-bottom: 0.6rem;
}

/* Otsikko */
.jo-offer__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 1rem 0 0.75rem;
  color: #604573 !important;
  text-align: left;
  position: relative;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* Teksti */
.jo-offer__text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0.3rem;
  flex-grow: 1;
}

/* Tiivistetään listan aloitusta */
.jo-offer__card ul {
  padding-left: 1.2rem;
}

/* Otsikko ja johdanto yläpuolella */
.jo-offer h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #604573;
  text-align: center;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  position: relative;
}

/* Yleinen johdantoteksti otsikon alla */
.jo-offer > p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555;
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* Korttien sisäiset kappaleet */
.jo-offer__card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555;
  text-align: left;
  margin-bottom: 0.6rem;
  line-height: 1.8;
  max-width: 100%; /* tai poista kokonaan */
}

.jo-offer__card .jo-link {
  display: inline-block;
  margin-top: 1.2rem;
  position: relative;
  padding-top: 1rem;
}

.jo-offer__card .jo-link::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: rgba(96, 69, 115, 0.25); /* hillitty violetti */
  margin: 0 auto 0.8rem;
}

.jo-offer__card ul {
  max-width: 750px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.jo-offer__card li {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #555;
  line-height: 1.8;
}

/* Responsiivisuus */

@media (max-width: 900px) {
  .jo-offer__card {
    border-width: 1px;
    padding: 0;
  }

  .jo-offer__body {
    padding: 1.6rem 1.4rem 2rem;
  }

  .jo-offer__title {
    font-size: 1.15rem;
    hyphens: none; /* estää tekstin katkeilun */
    word-break: normal;
  }

  .jo-offer__card p,
  .jo-offer__card li {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .jo-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .jo-offer__img {
    height: 180px;
  }
}

/* Pehmeä siirtymä Palvelut > Portfolio */
.jo-offer {
  background: transparent;
  padding-bottom: 80px;
  position: relative;
}

/* ===  CTA – Etusivu ==== */
.cta-final {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    url('https://jo-designs.net/wp-content/uploads/2025/10/elegant_marble_background_with_gold_glitter_2605-scaled-e1760091937502.jpg')
    center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid #b9955d;
  border-bottom: 1px solid rgba(185,149,93,0.2);
  color: #3a1460;
	margin-bottom: 0;
}

.cta-final__inner {
  max-width: 760px;
  margin: 0 auto;
}

.cta-final h2 {
  font-family: var(--font-heading);
  color: #604573;
  margin-bottom: 1.2rem;
}

.cta-final p {
  font-family: var(--font-body);
  color: #333;
  margin: 1.5rem auto 2.5rem;
  max-width: 720px;
}

/* === CTA – Alasivujen kompakti ===== */
.cta-section {
  background-color: #f4f6f2; /* vaalea sage brush */
  border-top: 4px solid #b7c5a6;
  text-align: center;
  padding: 50px 20px;
  margin: 0;
}

.cta-section h2 {
  font-family: var(--font-heading);
  color: #3a1460;
  margin-bottom: 1rem;
}

.cta-section p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ===   FAQ / USEIN KYSYTYT === */

/* Perusrakenne */
.jo-faq {
  padding: 80px 20px;
  text-align: left;
  background-color: var(--color-cream);
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  color: var(--golden-ochre)!important;
  margin-bottom: 3rem;
  position: relative;
}

.faq-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-color, #B9955D);
  margin: 12px auto 0;
  border-radius: 2px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 0;
  margin-bottom: 0; 
  overflow: hidden;
  box-shadow: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-item:first-of-type {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.faq-item:last-of-type {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Summary (otsikko) */
.faq-item summary {
  cursor: pointer;
  padding: 1.2rem 1.5rem 1.2rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: #2E2E2E;
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Ikoni vasemmalle */
.faq-item summary i {
  color: var(--accent-color, #B9955D);
  font-size: 1.1rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Plus / X merkki oikealle */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  font-size: 1.2rem;
  color: var(--accent-color, #B9955D);
  font-weight: 700;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] summary::after {
  content: "×";
  transform: rotate(90deg);
  color: #604573;
}

/* Vastauksen teksti */
.faq-item p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  background: #fff;
  margin: 0;
  padding: 1rem 2rem 1.5rem 3.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item ul {
  margin: 0.5rem 0 1rem 4.8rem;
  padding: 0;
  list-style-position: outside;
}

.faq-item li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* Hover ja focus */
.faq-item summary:hover,
.faq-item summary:focus-visible {
  background-color: rgba(0,0,0,0.03);
  outline: none;
}

/* Responsiivisuus */
@media (max-width: 600px) {
  .jo-faq {
    padding: 40px 4vw; /* lähes reunasta reunaan, mutta ei aivan kiinni */
    background-color: var(--color-cream);
  }

  .jo-faq .faq-item {
    margin: 0;
    border-radius: 4px; /* kevyt pehmeys mobiiliin */
    border-left: none;
    border-right: none;
  }

  .jo-faq .faq-item summary {
    padding: 0.9rem 0.8rem 0.9rem 1.4rem; /* sisämarginaali pienemmäksi */
    font-size: 0.97rem;
  }

  .jo-faq .faq-item p {
    padding: 1rem 1.4rem 1.2rem 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .faq-title {
    font-size: 1.55rem;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 4vw; /* sama marginaali kuin korttien */
  }
}

/* ==============================
   TEMAATTISET VÄRIT
============================== */

/* Brändi */
.theme-brand .jo-faq {
  background: var(--color-cream);
  --accent-color: var(--color-golden-ochre);
}

/* Palvelut (yleinen palvelusivu) */
.theme-services .jo-faq {
  background: var(--color-sand-dune);
  --accent-color: var(--color-golden-ochre);
}

/* ======================================
   Accessibility-safe FAQ animations
====================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item p,
  .faq-item ul,
  .faq-item ol {
    animation: fadeIn 0.3s ease;
  }
}

/* FOOTER */
.site-footer {
  margin-top: 0 !important;
  padding-top: 30px;
}
		
/* ===== FOOTER MOBILE ===== */
@media (max-width: 768px) {
  footer, 
  #colophon, 
  .site-footer {
    padding-left: 25px !important;
    padding-right: 25px !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Jos footerin sisällä on tekstiblokkeja tai rivejä */
  .site-footer .widget,
  .site-footer .textwidget,
  .site-footer .panel-grid,
  .site-footer .panel-grid-cell {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.site-info {
  display: none !important;
}
/* =======================================
   BRANDI-— Premium minimalistinen look
======================================= */
.brand-hero {
  background-image: url('https://jo-designs.net/wp-content/uploads/2025/09/pexels-fotios-photos-1989304-scaled.jpg');
  background-size: cover;
  background-position: 60% center;
  background-repeat: no-repeat;
  position: relative;
  padding: 160px 20px 140px;
  text-align: center;
  overflow: hidden;
}

/* Kevyt sävyoverlay */
.brand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 243, 242, 0.88); /* lämmin valkoinen */
  backdrop-filter: blur(1px);
}

/* Sisältö */
.brand-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.brand-hero .eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b9955d;
  margin-bottom: 1rem;
}

.brand-hero .lead {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Mobiili */
@media (max-width: 768px) {
  .brand-hero {
    padding: 100px 20px;
    background-position: center;
  }
  .brand-hero .lead {
    font-size: 1rem;
  }
}
			

/* ====  Yhteinen rakenne korteille ===== */

.brand-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
	margin-bottom: 1rem;
  align-items: center;
  text-align: center;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* =======================================
   BRÄNDIPAKETIT (brandpackage)
======================================= */

.brandpackage {
  background-color: #F9F3F3;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 3rem 0;
}

.brand-packages-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

.brand-packages-grid {
  display: grid;
 grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .brand-packages-grid {
    grid-template-columns: 1fr;
  }
}

.brandpackage .brand-card {
  background-color: #f3eeea;
  border: 1px solid rgba(185,149,93,0.35);
  padding: 1.5rem 1rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.brandpackage .brand-card:hover {
  background-color: #f9f7f6;
  border-color: rgba(185,149,93,0.55);
}

.brandpackage .brand-icon {
  background-color: #ffffff;
  border: 1px solid rgba(185,149,93,0.25);
  color: #b9955d;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.brandpackage .brand-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #604573;
  margin: 0.3rem 0 0.6rem;
	text-align:center;
}

.brandpackage .brand-card .price {
  font-family: var(--font-body);
  color: #604573;
  margin-bottom: 1rem;
  font-size: 1.05rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-top: 1rem;
  padding-top: 0.75rem;
}

.brand-desc {
  padding: 0 0.15rem; 
  line-height: 1.6;
  color: #4a3f35;
  margin-bottom: 1rem;
	text-align: left;
}

.brandpackage .brand-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.brandpackage .brand-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  line-height: 1.6;
  font-size: 1rem;
}

.brandpackage .brand-list li::before {
  content: "♦";
  color: var(--golden-ochre);
  font-size: 0.7rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.brand-compare {
  margin: 4rem auto;
  max-width: 1100px;
  padding: 2rem 1rem;
  background-color: #f9f7f4;
  border: 1px solid rgba(185,149,93,0.3);
  border-radius: 0;
  overflow-x: auto; /* estää leviäminen */
}

.brand-compare h2 {
  text-align: center;
  font-family: var(--font-heading);
  color: #604573;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.compare-intro {
  text-align: center;
  font-family: var(--font-body);
  color: #3a2d3e;
  margin-bottom: 2rem;
}

.brand-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.97rem;
  table-layout: fixed;
}

.brand-table th,
.brand-table td {
  border-bottom: 1px solid rgba(185,149,93,0.25);
  padding: 0.75rem 1rem;
  text-align: center;
  word-wrap: break-word;
}

.brand-table th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: #3a2d3e;
  background-color: #f3f0ea;
}

.brand-table thead th {
  background-color: #f3e9e7;
  font-weight: 700;
  color: #604573;
  font-family: var(--font-body);
}

.brand-table tr:nth-child(even) td {
  background-color: #f8f6f3;
}

@media (max-width: 768px) {
  .brand-compare {
    overflow-x: auto;
  }

  .brand-table {
    min-width: 600px; /* estää sarakkeiden ahtautumisen */
  }

  .brand-compare::-webkit-scrollbar {
    height: 8px;
  }

  .brand-compare::-webkit-scrollbar-thumb {
    background-color: rgba(96, 69, 115, 0.3);
    border-radius: 4px;
  }
}

/* ===== BRANDINFO BLOCK ===== */

.brandinfo-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #f8f5f2;
  border: 1px solid rgba(96, 69, 115, 0.15);
  padding: 1.2rem 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.brandinfo-block i {
  color: #604573;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.brandinfo-block p {
  margin: 0;
  font-size: 1.05rem;
  color: #3b2c3d;
  line-height: 1.6;
}

.brandinfo-block a {
  color: #604573;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(96, 69, 115, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.brandinfo-block a:hover {
  color: #8b6fa7;
  border-color: rgba(96, 69, 115, 0.6);
}

.brandinfo-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

@media (max-width: 850px) {
  .brandinfo-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- Keskitetty CTA osion alle --- */
.cta-centered {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.info-block {
  background: #f5f1eb;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  color: #3a1460;
}
.info-block h3 {
  margin-top: 0;
  font-size: 1.3rem;
}
.info-block ul {
  padding-left: 20px;
}
.info-block li {
  margin-bottom: 0.5em;
}

.tooltip {
  text-decoration: underline dotted;
  cursor: help;
  position: relative;
  color: #3a1460;
}

.tooltip:focus {
  outline: 2px solid #3a1460;
  outline-offset: 2px;
}

/* ==== PORTFOLIO ==== */
#portfolio-intro {
  background-color: #f5f1eb; /* Cream */
  padding: 4rem 1rem 2rem;
  color: #333;
  text-align: left;
  max-width: 1150px;
  margin: 0 auto;
}

#portfolio-intro .section-title {
  font-family: var(--font-heading);
  color: #604573;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

#portfolio-intro .lead {
  font-size: 1.1rem;
  color: #3a3a3a;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

#portfolio-intro p {
  font-family: var(--font-body);
   max-width: 850px;
}

.portfolio-categories {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.portfolio-category h2 {
  font-family: var(--font-heading);
  color: #604573;
  margin-bottom: 0.4rem;
}

.portfolio-category p {
  font-family: var(--font-body);
  color: #333;
}

/* Mobiilissa */
@media (max-width: 768px) {
  #portfolio-intro {
    padding: 3rem 1rem 1rem;
  }
  .portfolio-categories {
    gap: 1.5rem;
  }
}

.portfolio-cta-final {
  text-align: center;
  margin: 6rem auto 4rem;
  padding: 3rem 2rem;
  max-width: 720px;
  background: none;
}

.portfolio-cta-final h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--deep-olive);
  margin-bottom: 1rem;
}

.portfolio-cta-final p {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.portfolio-cta-final .link-elegant {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--golden-ochre);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.portfolio-cta-final .link-elegant::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--golden-ochre);
  opacity: 0.5;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.portfolio-cta-final .link-elegant:hover {
  color: var(--deep-olive);
}

.portfolio-cta-final .link-elegant:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.portfolio-cta-final .arrow {
  margin-left: 6px;
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.portfolio-cta-final .link-elegant:hover .arrow {
  transform: translateX(4px);
}

/* Responsiivisuus */
@media (max-width: 768px) {
  .portfolio-cta-final {
    margin: 4rem auto 3rem;
    padding: 2rem 1.5rem;
  }

  .portfolio-cta-final h3 {
    font-size: 1.5rem;
  }

  .portfolio-cta-final p {
    font-size: 1rem;
  }
}

/*----- PALVELUT HERO -----*/
.services-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  text-align: center;
  color: #2c2c2c;  
  box-sizing: border-box;
  padding: clamp(5rem, 10vw, 8rem) 5vw clamp(6rem, 12vw, 9rem);
}

.services-hero__inner {
  max-width: clamp(900px, 85vw, 1400px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  padding: clamp(50px, 5vw, 80px) clamp(20px, 4vw, 60px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 0;
  text-align: center;
}

.services-hero .lead {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: clamp(1.5, 2vw, 1.7);
  color: #444;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

/* ===== PALVELUT – vuorotteleva layout ===== */

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Jokainen palvelukortti */
.service-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /*gap: clamp(2rem, 4vw, 4rem);*/
	gap: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0;
  max-width: 1200px;        /* tämä on uusi */
  margin-inline: auto;      /* keskitys */
  width: 100%;              /* skaalautuu täyteen leveyteen */
}

/* Vaihdetaan järjestys tarvittaessa */
.service-card.reverse {
  flex-direction: row-reverse;
}

/* Kuvapuoli ja tekstipuoli – yhteiset */
.service-image,
.service-text {
  flex: 1 1 300px;
  min-width: 0;
  box-sizing: border-box;
}

/* Kuvan sisällä oleva kuva */
.service-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
}

/* Tekstipuoli tarkemmin */
.service-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.5;
}

/* Otsikko */
.service-text h3 {
  font-family: var(--font-heading);
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* Teksti ja lista */
.service-text p,
.service-text li {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.5;
}

.service-text li {
  margin-bottom: clamp(0.4rem, 0.8vw, 0.75rem);
}

/* Listan marginaalit */
.services-grid ul,
.services-grid ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  list-style-position: outside;
}

/* Otsikkolohko yläosassa */
.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: 0 1rem;
}

.services-header .eyebrow {
  display: block;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
  margin-top: 15px;
}

.services-header p {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.services-intro {
  background-color: #E1E2D5;
  padding: 40px 10px 60px;
  text-align: center;
  font-family: var(--font-body);
  color: #3a2d3e;
  position: relative;
  overflow: hidden;
}

.services-intro::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #b9955d;
  margin: 24px auto 0;
  border-radius: 2px;
  opacity: 0.8;
}

.services-intro p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.9;
}
/* Hover-efekti kevyesti lämpimämpään suuntaan */
.services-intro:hover {
  background-color: #E1E2D5; /* erittäin kevyt lämpeneminen hoverissa */
  transition: background-color 0.4s ease;
}

/* --- Mobiiliasetukset: Services Intro --- */
@media (max-width: 768px) {
  .services-intro {
    padding: 16px 14px 24px;
    text-align: center;
  }

  .services-intro p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .services-intro::after {
    width: 50px;
    height: 2px;
  margin: 24px auto 0;
  }
}
/* miten työskentelen - palvelut prosessi */

.palvelut-prosessi {
  padding: 40px 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.palvelut-prosessi-steps li {
  list-style: none;
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

/* numeropallo */
.palvelut-prosessi-steps .numero {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* värit */
.palvelut-prosessi-steps .step-ochre .numero {
  background-color: #d4a35e; /* Golden ochre */
}

.palvelut-prosessi-steps .step-rose .numero {
  background-color: #b45c47; /* Terracotta */
}

/* otsikot */
.palvelut-prosessi-steps strong {
  color: #b45c47; /* Terracotta otsikoihin */
  font-family: var(--font-body);
  font-weight: 600;
}

/* === MARKKINOINTIMATERIAALIT ==== */

.marketing-hero {
  background-image: url('https://jo-designs.net/wp-content/uploads/2025/10/de8ed2a6-2e1d-4db5-a83f-bbe2cdd48192-scaled.jpg');
  background-size: cover;
  background-position: 60% center;
  background-repeat: no-repeat;
  position: relative;
  padding: 160px 20px 140px;
  text-align: center;
  overflow: hidden;
}

/* Kevyt sävyoverlay */
.marketing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 243, 242, 0.88); /* lämmin valkoinen */
  backdrop-filter: blur(1px);
}

/* Sisältö */
.marketing-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.marketing-hero .eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b9955d;
  margin-bottom: 1rem;
}

.marketing-hero h1 {
  font-family: var(--font-heading);
  color: #604573;
}

.marketing-hero .lead {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Mobiili */
@media (max-width: 768px) {
  .marketing-hero {
    padding: 70px 0;
    background-position: center;
  }
  .marketing-hero .lead {
    font-size: 1rem;
		margin-left: 1.5rem;
  }
}

/* --- LISTAT: Materiaalit & Sisältyvät palvelut --- */

.page-id-3321 .section-divider {
 /*background: linear-gradient(180deg, #f5e5dd 0%, #fbf8f4 100%) !important;*/
  border-top: 1px solid rgba(185, 149, 93, 0.3); /* golden ochre */
}

.marketing-section {
  max-width: 900px;           
  margin: 0 auto 3rem;         
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: left;
}

.marketing-bg {
 background-color: #F9F8F7 !important;
}

.subtle {
  font-family: var(--font-body);
  line-height: 1.6;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Otsikot – Brändimateriaalit, Digitaaliset, jne. */
.pricing-section h2,
.includes-section h2,
.material-notes h2 {
  font-family: var(--font-heading);
  margin: 2.5rem auto 1.2rem;
  text-align: left;
  max-width: 900px;
  padding: 0;
  line-height: 1.3;
}

.includes-section h2::after,
.material-notes h2::after {
  content: "";
  display: block;
  width: 60px;             
  height: 1px;   
  background-color: #b9955d; 
  margin-top: 0.6rem;
}

.material-list,
.includes-list {
  list-style: none;
  /*padding: 0 1rem !important;*/
  margin: 0 auto 2rem;
  max-width: 900px;
  text-align: left;
}

/* --- Rivit --- */
.material-list li,
.includes-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(107, 101, 67, 0.25); /* Deep Olive -tyylinen ohut raja */
  padding-top: 6px;
  padding-left: 6px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #333;
  line-height: 1.75;
  background-color: #f9f7f6; /* perusvaalea */
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

/* --- Vuorottelu rivien taustaan --- */
.material-list li:nth-child(odd) {
  background-color: #f3eee8; /* pehmeä lämmin beige */
}
.material-list li:nth-child(even) {
  background-color: #f9f7f6; /* hieman vaaleampi sävy */
}

/* --- Hover (ja focus) --- */
.textwidget .material-list li:hover,
.textwidget .includes-list li:hover,
.material-list li:focus-within,
.includes-list li:focus-within {
  background-color: #c9d3ba; /* haalea golden ochre */
  color: var(--deep-olive);
}

/* --- Strong-elementit (hinnat tms.) --- */
.material-list li strong,
.includes-list li strong {
  color: var(--golden-ochre);
  font-weight: 600;
  white-space: nowrap;
  padding: 0 1rem !important;
  transition: color 0.4s ease;
}

/* --- Hover-väri hinnalle --- */
.textwidget .material-list li:hover strong,
.textwidget .includes-list li:hover strong {
  color: var(--color-accent); /* violetti hover */
}

/* --- Väli rivien väliin --- */
.material-list li + li {
  margin-top: 4px;
}

/* --- NOTES & HUOMAUTUKSET --- */
.material-notes {
  border-top: 1px solid #b9955d;
  padding-top: 30px;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 30px;
  text-align: left;
}

.material-notes p {
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 10px;
}

/* --- Symbolilista (esim. huomautusluettelot) --- */
.material-notes ul {
  list-style: none !important;
  padding-left: 0;
  margin: 10px 0 0;
}

.material-notes li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 0.4rem;
}

.material-notes li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: #b7c5a6; /* Sage */
  font-size: 1.1rem;
  line-height: 1;
	content: "";
}

/* --- Pricing note: tiivistetty "Mitä hintaan sisältyy" -teksti --- */
.pricing-note {
  max-width: 900px;
  margin: 2rem auto 3rem;
  padding: 0 1.2rem;
  font-size: 0.95rem;
  color: #5b4c4c;
  line-height: 1.7;
  opacity: 0.9;
  text-align: left;
  font-style: italic;
  border-top: 1px solid rgba(185, 149, 93, 0.4);
  padding-top: 1.2rem;
}

/* responsiivisuus */
@media (max-width: 768px) {
  .pricing-note {
    padding: 0 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
		
 .pricing-note.subtle {
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 0.8rem 1.2rem 1rem;
    margin: 1.4rem auto 0;
    color: #5b4c4c;
    text-align: left;
    font-style: italic;
    border-top: 1px solid rgba(185, 149, 93, 0.4);
    opacity: 0.9;
  }
}

/* --- Responsiivisuus --- */
@media (max-width: 768px) {
  .pricing-section h2,
  .material-list {
    margin-top: 1rem;
		margin-bottom: 0;
    padding-top: 0px;
		padding-left: 0px;
		padding-right: 1rem;
		padding-bottom:0px;
    max-width: 100%;
  }
	
  .material-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
		
.material-list li strong {
    display: block;       
    text-align: left;      
    padding: 0 !important; 
    white-space: normal;  
    margin-top: 4px;
}
}

/* == NETTISIVUT == */
.web-hero {
  background-size: cover;
  background-position: 60% center;
  background-repeat: no-repeat;
  position: relative;
  padding: 160px 20px 140px;
  text-align: center;
  overflow: hidden;
}

/* Kevyt overlay */
.web-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 243, 242, 0.88);
  backdrop-filter: blur(1px);
}

/* Sisältö */
.web-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.web-hero .lead {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
/* Mobiili */
@media (max-width: 768px) {
  .web-hero {
    padding: 80px 20px;
    background-position: center;
  }

  .web-hero__inner {
    display: block !important;
    padding: 1.5rem 1rem !important;
  }

  .web-hero h1 {
    font-size: 2rem !important;
    line-height: 1.25;
    letter-spacing: 0.02em;
     margin-bottom: 1.2rem;
  }

  .web-hero .lead {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 95%;
    margin: 0 auto 1.8rem; /* väli ennen nappeja */
  }
}

/* ---- NETTISIVUPAKETIT ---- */

.nettisivut-section {
  padding: 2rem 1rem;
}

.nettisivut-inner {
  max-width: 1250px;
  margin: 15px 15px;
  text-align: center;
}

.nettisivut-section .divider-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.nettisivut-section .intro {
  max-width: 850px;
  margin: 0 auto 1.5rem;
  color: #3b2c3d;
  line-height: 1.5;
	text-align: left;
}

/* --- Grid layout --- */
.nettisivut-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

/* --- Kortit --- */
/* Kortti */
.nettisivu-card {
  background-color: #f4ede8; /* lämmin hiekka – erottuu taustasta */
  border: 1px solid rgba(185,149,93,0.3);
  padding: 1.5rem 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.nettisivu-card:hover {
  transform: translateY(-3px);
  background-color: #efe5dd; /* hieman syvempi beige hoverilla */
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  border-color: rgba(185,149,93,0.55);
}

/* Otsikko ja hinta */
.nettisivu-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 0.3rem;
}

.nettisivu-card .price {
  text-align: center;
  font-weight: 700;
  color: #b58b4c; /* golden ochre */
  margin-bottom: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-top: 1rem;
  padding-top: 1rem;
}

/* Ikoni */
.nettisivu-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.25rem;
  color: var(--deep-olive);
  background-color: #f9f3ef; /* vähän tummempi tausta */
  border: 1px solid rgba(96, 69, 115, 0.2);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}

.nettisivu-card:hover .nettisivu-icon {
  background-color: #f2e8e1;
  border-color: rgba(185,149,93,0.5);
  transform: scale(1.05);
}

/* Lista */
/* --- Luettelot timanttimerkillä --- */
.nettisivu-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.nettisivu-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
  color: #4a3a3d;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(185,149,93,0.2);
  padding-bottom: 0.3rem;
}

/* --- Timanttimerkki keskitetty tekstin ensimmäiseen riviin --- */
.nettisivu-list li::before {
  content: "♦";
  position: absolute;
  left: 0;
  top: 50%;
	transform: translateY(-50%);  /* tasaa täydellisesti keskelle */
  color: var(--golden-ochre);
  font-size: 0.7rem;
  line-height: 1;
}

/* --- Viimeinen ilman rajaa --- */
.nettisivu-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Hover-värit */
.nettisivu-card:hover h3 {
  color: #4a395c; /* syvempi laventeli */
}

.nettisivu-card:hover .price {
  color: #a77d42; /* tummempi okra */
}

/* Näytetään pehmeä emoji, jos FA ei lataudu */
.nettisivu-icon i::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome", sans-serif;
  content: attr(data-icon);
}

.nettisivu-icon[data-fallback]::before {
  content: attr(data-fallback);
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--golden-ochre);
  line-height: 1;
  display: block;
  text-align: center;
}

/* Jos Font Awesome ei lataudu ollenkaan */
.nettisivu-icon:not(:has(i))::before {
  content: "?"; /* fallback-symboli */
  font-size: 1.4rem;
  color: #b9955d;
}

/* --- Responsiivisuus --- */
@media (max-width: 768px) {
  .nettisivut-section {
    padding: 3rem 1rem;
  }

  .nettisivu-card {
    width: 95%;
    margin: 0 auto;  
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }

  .nettisivu-icon {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }
}

/* ===== MITÄ HINTAAN SISÄLTYY ===== */
.web-included {
  background-color: #faf9f8; /* kevyt kontrasti paketteihin */
  padding: 60px 20px 50px;
  text-align: center;
  border-top: 1px solid rgba(185,149,93,0.25);
}

/* --- Otsikko ja viiva --- */
.web-included h2 {
  font-family: var(--font-heading);
  margin-bottom: 1.6rem;
  position: relative;
}

.web-included h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--golden-ochre);
  margin: 1rem auto 0;
}

/* --- Johdantoteksti --- */
.web-included p {
  font-family: var(--font-body);
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: left;
}

/* --- Lista keskitettynä --- */
.web-included ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 700px; 
  text-align: left;
  border-top: 1px solid rgba(185,149,93,0.25);
}

.web-included li {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  position: relative;
  padding: 0.4rem 0 0.6rem 1.4rem;
  border-bottom: 1px solid rgba(185,149,93,0.25);
}

/* --- Timantti vasempaan reunaan keskitettynä --- */
.web-included li::before {
  content: "♦";
  font-family: 'Arial Unicode MS', 'Segoe UI Symbol', sans-serif;
  color: var(--golden-ochre);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  line-height: 1;
}

/* --- Poistetaan viimeisen rivin alaviiva --- */
.web-included li:last-child {
  border-bottom: none;
}

/* --- Huomautusteksti --- */
.web-included small {
  display: block;
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

/* --- Mobiili --- */
@media (max-width: 768px) {
  .web-included li {
    display: block;
    align-items: initial;
    padding: 0.8rem 0.6rem 0.8rem 1.4rem;
    border-bottom: 1px solid rgba(185,149,93,0.15);
    line-height: 1.6;
  }

  .web-included li::before {
    position: absolute;
    content: "♦";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--golden-ochre);
  }
}

/* =====  LISÄPALVELUT – Nettisivut ==== */
.extras-section {
  background-color: #fefdfc;
  /*padding: 80px 20px;*/
  border-top: 1px solid rgba(185, 149, 93, 0.4); /* hillitty kultainen */
}

/* Taulukon tyyli */
.extras-table {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  row-gap:0;
 padding: 0 1rem; 
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #333;
 width: 100%;
}

/* Yleinen rivien asettelu */
.extras-row {
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  font-size: 0.95rem; 
  line-height: 1.4;    
}

/* Otsikkorivi */
.extras-head {
 font-weight: 600;
  background-color: #f8f5f1;
  color: #604573;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem;
}
.extras-row span {
  color: #333;
  font-family: var(--font-body);
  font-weight: 400;
}

.extras-row span:first-child {
  font-weight: 600;
  color: #2f1f3b; /* tumma violetti */
}

.extras-row span:last-child {
  color: #7a8b74; /* sage sävy hinnalle */
  font-weight: 500;
  text-align: right;
}

/* Lisähuomautus */
.extras-note {
  text-align: center;
  font-size: 1.05rem;
  color: #2c2c2c;
  margin-top: 2.5rem;
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 768px) {
  .extras-table {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

 .extras-row {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1rem;
    margin-bottom: 0;
    border-radius: 0;
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .extras-head {
    display: none; 
  }

  .extras-row span {
    display: block;
    margin-bottom: 0.3rem;
  }
  .extras-row:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  .extras-row:last-child {
    border-bottom: none;
  }
}

		
/* ===  VIESTINNÄN KUMPPANI */
.va-hero {
  background-image: url('https://jo-designs.net/wp-content/uploads/2025/04/woman-in-a-creative-workspace-using-a-laptop-and-tablet-for-calligraphy.-artistic-and-tech-driven-environment.-4348404-scaled.jpg');
  background-size: cover;
  background-position: 60% center;
  background-repeat: no-repeat;
  position: relative;
  padding: 160px 20px 140px;
  text-align: center;
  overflow: hidden;
}

.va-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 243, 242, 0.88);
  backdrop-filter: blur(1px);
}

.va-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.va-hero .eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b9955d;
  margin-bottom: 1rem;
}

.va-hero .lead {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .va-hero {
    padding: 100px 20px;
    background-position: center;
  }
  .va-hero .lead {
    font-size: 1rem;
  }
}

/* HINNASTO / PRICING */

.va-section {
  background-color: #eadece;
  padding: 5rem 1rem;
  text-align: center;
  font-family: var(--font-body);
}

.section-lead {
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.section-lead h2 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
	line-height: 1.5;
}
.section-lead .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4e4e4e;
}

@media (max-width: 768px) {
.section-lead h2  {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    line-height: 1.15;
  }
}

.va-pricing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1rem;
  text-align: center;
}

.va-pricing__cta {
  margin-top: 3rem;
  text-align: center;
}
		
/* --- Yleisrakenne --- */
.card-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  align-items: start;
  margin-top: 2rem;
  margin-bottom: 15px;
}

/* --- Kortin pohja --- */
.va-card {
  background-color: #f9f7f4;
  border: 1px solid rgba(185, 149, 93, 0.25);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: none;
  border-radius: 0;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* --- Ikonipallo --- */
.va-card .service-icon,
.nettisivu-card .service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  font-size: 1.5rem;
}

/* --- Tekstit --- */
.va-card h3 {
	font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #532f63;
  margin-bottom: 1rem;
}

.va-kk-intro {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: left;
}

.va-kk {
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(185,149,93,0.25);
	background-color: none!important;
}

.va-card p {
  color: #2f2f2f;
  margin: 0.5rem 0;
	font-family: var(--font-body);
	text-align: left;
}

.va-card .price {
  font-weight: 600;
  color: #532f63;
  font-family: var(--font-body);
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-top: 1rem;
  padding-top: 0.75rem;
	text-align: center;
}

@media (max-width: 768px) {
  .va-kk {
    padding: 2rem 1rem;
    text-align: left;
  }

  .va-kk-intro {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* --- Listamuotoilu korttien sisällä --- */
.va-card ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.va-card li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}

/* --- Tyylikäs piste tai merkki ennen jokaista kohtaa --- */
.va-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.45em; 
  color: #b9955d;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.9;
}

/* --- Pieni erotus viimeisen kohdan jälkeen --- */
.va-card li:last-child {
  margin-bottom: 0;
}

/* --- Mobiilissa vähän tiiviimpi asettelu --- */
@media (max-width: 768px) {
  .va-card ul {
    margin-top: 1rem;
    font-size: 0.95rem;
  }
  .va-card li {
    margin-bottom: 0.5rem;
  }
}
/* == TOIMITUSEHDOT JA KÄYTÄNNÖT ==== */

.terms-hero {
  background-color: #f7eeec;
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 2px solid #b9955d;
}

.terms-hero .lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: #2e2d2c;
  line-height: 1.8;
  font-family: var(--font-body);
}

.terms-section {
  padding: 5rem 2.5rem 5rem;
  max-width: 1150px;
  margin: 0 auto;
  border-top: 1px solid #b9955d; 
}

.terms-section h2 {
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: 2.5rem;
}
		
.terms-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.terms-group {
  background-color: #faf7f3;
  border: 1px solid rgba(185,149,93,0.25);
  padding: 2.8rem 2.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-group:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.terms-group h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(185,149,93,0.4);
  padding-bottom: 0.5rem;
}

.terms-group ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.terms-group li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 1.1rem;
  color: #2e2d2c;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
}

.terms-group li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #b9955d;
  font-size: 1.4rem;
  line-height: 1;
}

.terms-group li strong {
  color: #3a1460;
  font-weight: 600;
}

@media (max-width: 992px) {
  .terms-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .terms-section {
    padding: 3.5rem 1.5rem;
  }
  .terms-group {
    padding: 2.2rem 1.8rem;
  }
}

/* ===== FAQ – */
.faq-terms {
  background-color: #f7eeec;
  padding: 4rem 2rem 5rem;
  border-top: 2px solid #b9955d;
  max-width: 1150px;
  margin: 0 auto;
}

.faq-terms h2 {
  color: #604573;
  font-family: var(--font-heading);
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

/* --- Details + Summary --- */
.faq-list details {
  border-bottom: 1px solid rgba(185,149,93,0.25);
  padding: 0.75rem 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: #2e2d2c;
}

.faq-list summary:hover,
.faq-list summary:focus {
  color: #3a1460;
  outline: none;
}

/* --- FA ikonit --- */
.faq-list summary i {
  color: #6b7b58; /* tummempi sage (parempi kontrasti) */
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- Vastaukset --- */
.faq-list p {
  margin: 0.8rem 0 0 1.9rem;
  font-family: var(--font-body);
  line-height: 1.7;
  color: #2e2d2c;
}

/* --- Linkit --- */
.faq-list a {
  color: #604573;
  text-decoration: underline;
}
.faq-list a:hover {
  color: #b9955d;
}

/* --- Avattu tila --- */
.faq-list details[open] summary i {
  color: #b9955d; /* korostetaan kultaisella kun auki */
}

@media (max-width: 768px) {
  .faq-terms {
    padding: 3rem 1.5rem;
  }
  .faq-list summary {
    font-size: 1rem;
  }
}

/* ---- extrapalvelut -------- */

.services-main {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
  font-family: var(--font-body);
  color: #3a1460;
  line-height: 1.6;
}
.services-main h1, .services-main h2 {
  font-family: var(--font-heading);
  margin-bottom: 0.5em;
}

.lead {
  font-size: 1.05rem;
  margin-bottom: 2em;
  text-align: left;
}

.service-group {
  background: #f5f1eb;
  padding: 30px 24px;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 1px solid #e8e1da;
}
.service-list {
  list-style: none;
  padding: 0;
}
.service-list li {
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '•';
  color: #b9955d;
  position: absolute;
  left: 0;
}

.services-cta {
  text-align: center;
  margin-top: 40px;
}

/* Mobiili */
@media (max-width: 700px) {
  .lead { font-size: 1rem;}
  .service-group { padding: 22px 18px; }
  .cta-button { padding: 10px 20px; }
}

/* ===== viestinnän kumppani ===== */
#va-hero {
  background-color: #f5f1eb;
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

#va-hero h2 {
  font-family: var(--font-heading);
  color: #3a1460;
  margin-bottom: 16px;
}

#va-hero .lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #5c4a57;
  max-width: 700px;
  margin: 0 auto 10px;
}

.va-how-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: left;
}

/* -------- viestinnän kumppani -----*/

.va-menu {
  background: #fbfaf9; /* vaalea cream */
  padding: 0;
  max-width: 1020px;
  margin: 0 auto;
}

.va-menu-inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin: 0 auto;
  max-width: 900px;
  box-sizing: border-box; /* varmistaa ettei padding lisää leveyttä */
}

.va-menu-heading {
  font-family: var(--font-heading);
  color: #3a1460;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.va-menu-intro {
  font-family: var(--font-body);
  text-align: left;
  color: #444;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.va-menu__list {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 700px;
}

.va-menu__list li {
  position: relative;
  padding-left: 2.2rem;
  font-family: var(--font-body);
  color: #333; /* ei violettia */
  line-height: 1.65;
  background: #fff;
  border: 1px solid rgba(185,149,93,0.25);
  border-radius: 0;
  padding: 1rem 1.2rem 1rem 2.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}

.va-menu__list li:hover {
  background: #f5f1eb; /* kevyempi cream hover */
}

.va-menu__list strong {
  color: #3a1460;
  font-weight: 600;
}

.check-icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #b7c5a6; /* Sage Brush */
  font-weight: bold;
  font-size: 1.1rem;
}

.va-note {
  font-style: italic;
  text-align: center;
  color: #604573;
  font-family: var(--font-body);
  margin-top: 2.5rem;
  font-size: 0.95rem;
}


@media (max-width: 600px) {
  .va-menu__list li {
    padding: 20px 16px;
  }
.va-menu-inner {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}
/* ==== OTSIKOT ==== */

/* yhteiset tyylit kaikille isoille otsikoille */
.section-heading {
  font-family: var(--font-heading);
  text-align: center;
  color: #3a1460; /* tumma violetti brändiväri */
  letter-spacing: 0.4px;
  position: relative;
  margin-bottom: 20px;
}

/* hienovarainen korostusviiva otsikon alle */
.section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 18px auto 0;
}

/* responsiivisuus */
@media (max-width: 700px) {
  .section-heading {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }
  .section-heading::after {
    width: 55px;
  }
}

.cta-elevated {
  position: relative;
  background: #f9f8f7 url('https://jo-designs.net/wp-content/uploads/2025/10/marble_bg_soft_gold.jpg') center/cover no-repeat;
  text-align: center;
  padding: 120px 20px;
  border-top: 1px solid rgba(185,149,93,0.25);
  border-bottom: 1px solid rgba(185,149,93,0.25);
}

.cta-elevated::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-elevated h2 {
  font-family: var(--font-heading);
  color: #604573;
  margin-bottom: 1rem;
}

.cta-elevated p {
  font-family: var(--font-body);
  color: #333;
  margin-bottom: 2.5rem;
}

/* Mobiili */
@media (max-width: 768px) {
  .cta-elevated {
    padding: 80px 16px;
  }
  .cta-elevated h2 {
    font-size: 1.6rem;
  }
  .cta-elevated p {
    font-size: 1rem;
  }
}

.intro-section.fullwidth-bg {
  width: 100%;
  background-color: rgba(185, 149, 93, 0.05);
  border-top: 1px solid rgba(185, 149, 93, 0.3);
  border-bottom: 1px solid rgba(185, 149, 93, 0.3);
  padding: 3rem 1rem;
  margin: 0 auto;
}

.intro-magnolia {
  background-color: rgba(185, 149, 93, 0.05); /* hillitty golden ochre */
  border-top: 1px solid rgba(185, 149, 93, 0.3);
  border-bottom: 1px solid rgba(185, 149, 93, 0.3); /* kevyt kultainen alaraja */
  padding: 4rem 1.5rem;
}

.intro-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
  color: #3a2d3e;
	text-align: left;
}

.intro-wrap .web--eyebrow {
		text-align:center;
}


/* Leipäteksti */
.intro-wrap p {
  font-family: var(--font-body);
  color: #3a2d3e;
  max-width: 1020px;
  margin: 0 auto 1rem;
  text-transform: none;
}

/* Yläotsikko */
.intro-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: #b9955d;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  text-align: center;
}

.intro-wrap h2 {
  font-family: var(--font-heading);
  color: #604573;
  margin-bottom: 1.8rem;
  text-transform: none;
  position: relative;
 text-align: center;
	line-height: 1.5;
}

.intro-wrap h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: #b9955d;
  margin: 0.8rem auto 0;
}

.process-section h2 {
  font-family: var(--font-heading);
  color: #604573;
  margin-bottom: 1.8rem;
  text-transform: none;
  position: relative;
	text-align: center;
}

.process-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: #b9955d;
  margin: 0.8rem auto 0;
}

/* == MOBILE FIX == */
@media (max-width: 768px) {
  .intro-magnolia,
  .intro-section,
  .section-intro,
  .section-lead {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    box-sizing: border-box;
  }

  .intro-magnolia p,
  .intro-section p,
  .section-lead p {
    max-width: 100%;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0 auto 1.5rem;
  }

  .intro-magnolia h2,
  .intro-magnolia h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    word-break: break-word;
    text-align: center;
  }
}

/* Viestinnän kumppani process */

.brand-process {
  padding: 60px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.brand-process .section-heading {
  font-family: var(--font-heading);
  color: #3a1460;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.brand-process-intro {
  font-family: var(--font-body);
  color: #444;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* --- Numerolistaus, yhteinen tyyli kaikille --- */
.brand-steps {
  list-style: none;
  counter-reset: brandstep;
  margin: 1rem auto;
  padding-left: 4rem;
  max-width: 900px;
  width: 100%;
}

.brand-steps li {
  counter-increment: brandstep;
  position: relative;
  margin-bottom: 2.2rem;
  padding-left: 60px;
  font-family: var(--font-body);
  color: #444;
  line-height: 1.7;
  font-size: 1.05rem;
}

.brand-steps li::before {
  content: counter(brandstep);
  position: absolute;
  left: 0;
  top: 0.2rem;
  background-color: #b7c5a6; /* Sage */
  color: #fff;
  font-size: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-steps strong {
  color: #3a1460;
  font-weight: 600;
}

/* --- Mobiili (max 600px) --- */
@media (max-width: 600px) {
  .brand-steps {
    padding-left: 3.5rem;  /* yhtenäinen sisennys */
    max-width: 100%;
  }

  .brand-steps li {
    padding-left: 3.5rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
  }

  .brand-steps li::before {
    content: counter(brandstep);  /* korjattu counter */
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--golden-ochre);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
  }
}

/* ==============================
   MOBILE LAYOUT FIXES — BRAND PAGE
============================== */
@media (max-width: 768px) {
  /* Yleinen asettelu: sisällöt täyteen leveyteen */
  #brand-packages,
  .web-mini-grid,
  .web-mini-card,
  #brand-strategy {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }
}
/* =======================================
   MOBILE FIX – HERO & CTA (Jo Designs)
======================================= */
@media (max-width: 768px) {
  /* Process grid ja kortit mobiilissa pystysuoraan */
  .process-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .process-card {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  /* Estä liian leveät paddaukset ja rivien venyminen */
  .panel-row-style,
  .panel-grid,
  .panel-grid-cell {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }
}

/* === PORTFOLIO galleria sivu == */

#portfolio-gallery {
  background: none;
  padding: 5rem 1.5rem;
}

#portfolio-gallery .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Kategoriaotsikko ja kuvaus --- */
.portfolio-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--deep-olive);
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
}

.portfolio-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--golden-ochre);
  margin-top: 0.6rem;
}

.portfolio-description {
  text-align: left;
  max-width: 700px;
  color: var(--color-text);
  line-height: 1.7;
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

/* --- Palvelulinkki --- */
.portfolio-link {
  display: inline-block;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--golden-ochre);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.portfolio-link:hover {
  color: var(--deep-olive);
  text-decoration: underline;
}

/* --- Galleria --- */
#portfolio-gallery .ngg-galleryoverview {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}


#portfolio-gallery .ngg-gallery-thumbnail {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-body);
}

#portfolio-gallery .ngg-gallery-thumbnail-box {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#portfolio-gallery .ngg-gallery-thumbnail-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

#portfolio-gallery .ngg-gallery-thumbnail img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* --- Kuvateksti kuvan alla --- */
#portfolio-gallery .ngg-gallery-thumbnail-title {
  display: block;
  color: var(--deep-olive);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 0.8rem;
  line-height: 1.4;
}


#portfolio-gallery .ngg-gallery-thumbnail-title a {
  color: var(--deep-olive);
  text-decoration: none;
  font-weight: 500;
}

#portfolio-gallery .ngg-gallery-thumbnail-title a:hover {
  color: var(--golden-ochre);
  text-decoration: underline;
}
#portfolio-gallery .ngg-gallery-thumbnail-description {
  display: block;
  background-color: var(--golden-ochre-light);
  color: var(--muted-brown);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 1rem 1.2rem;
  margin-top: 0;
  border-radius: 0;
  width: 100%;
  border-top: 1px solid #d8c6a0; /* ohut erotteluviiva */
  box-shadow: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Hover-efekti: hienovarainen kontrastiero --- */
#portfolio-gallery .ngg-gallery-thumbnail:hover .ngg-gallery-thumbnail-description {
  background-color: var(--golden-ochre-light);
  color: #2f2f2f; /* hieman tummempi teksti kontrastiksi */
}

/* --- Välimitat ja rytmi --- */
.portfolio-block {
  margin-bottom: 6rem;
}

/* --- Responsiivisuus --- */
@media (max-width: 768px) {
  #portfolio-gallery {
    padding: 3rem 1rem;
  }

  .portfolio-heading {
    font-size: 1.7rem;
  }

  .portfolio-description {
    font-size: 1rem;
  }
}


/* == JOHANNA-SIVU (AUTHOR STYLE) === */

/* --- Hero --- */
.author-hero {
  background-color: #f5f1eb;
  background-image: url('https://jo-designs.net/wp-content/uploads/2025/10/sketchbook-near-laptop-coffee.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  padding: 7rem 2rem;
  color: #3a1460;
}
.author-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(245, 241, 235, 0.7),
    rgba(185, 149, 93, 0.25)   /* Golden Ochre */
  );
  z-index: 0;
}
.author-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: rgba(245, 241, 235, 0.55); /* pehmeä kerma overlay */
  backdrop-filter: blur(4px);
  border-radius: 0;
}

.author-hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9955d;
  margin-bottom: 1.2rem;
}
.author-hero__lead {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
  margin: 0 auto 2.5rem;
  max-width: 700px;
}
.author-hero__cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}

/* --- CTA --- */
.author-cta {
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.author-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(183,197,166,0.45); /* lempeä vihreä */
  mix-blend-mode: multiply; /* antaa valon ja kuvan näkyä */
  z-index: 0;
}

.author-cta > * { position: relative; z-index: 1; }

.author-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  margin-bottom: 1rem;
	color: var(--deep-olive);
}
.author-cta p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25); /* kevyt varjo */
}

/* ====== ABOUT SPLIT (Johanna intro) ====== */
.about-split {
  background-color: #f5f1eb;
  padding: 4rem 1.5rem;
}
.about-split__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  max-width: 1150px;
  margin: 0 auto;
}
.about-split__media img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border: none;
  display: block;
}
.about-card {
  flex: 1 1 480px;
  text-align: left;
}
.about-card .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #9cad8b;
  display: block;
  margin-bottom: 0.6rem;
}
.about-card h2 {
  color: #9cad8b;
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.about-card p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.about-divider {
  width: 70px;
  height: 2px;
  background-color: #b9955d;
  margin: 2rem 0 1.8rem 0;
}

/* ====== INFO SECTION (Koulutus + Työtapa + Arvot) ====== */
.about-info-section {
  background-color: #f7eeec; /* vaalea canyon rose -tausta */
  padding: 5rem 1.5rem;
  border-top: 2px solid #b9955d; /* Golden Ochre divider */
}

.about-info__inner {
  max-width: 1150px;
  margin: 0 auto;
}

.about-info__intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-info__intro h2 {
  color: #604573; /* violetti otsikko */
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.about-info__intro p {
  color: #333;
  line-height: 1.7;
}

.about-info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Kortit */
.info-card {
  background: #faf7f3; /* lempeä hiekan sävy */
  border: 1px solid rgba(185,149,93,0.25);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  padding: 2.4rem 2rem;
  text-align: left;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.4s ease;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
}

/* Fade-in animaatio */
@keyframes fadeInUpCard {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Aktivointi kun näkyy */
.info-card.fade-in {
  animation: fadeInUpCard 1s ease forwards;
}

/* Hover-efekti */
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.07);
  border-color: rgba(185,149,93,0.5);
}

/* Ikonit keskelle */
.info-card i {
  color: #9cad8b;
  font-size: 1.9rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: color 0.3s ease;
}

.info-card:hover i {
  color: #b9955d; /* Golden Ochre hover */
}

.info-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 1.4rem auto;
  border-radius: 50%;
  background-color: rgba(183,197,166,0.25); /* Sage Brush, 25 % opacity */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.info-card:hover .info-icon {
  background-color: rgba(185,149,93,0.25); /* Golden Ochre hover */
  transform: scale(1.05);
}

.info-icon i {
  color: #9cad8b;
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

.info-card:hover .info-icon i {
  color: #b9955d;
}

/* Otsikot */
.info-card h3 {
  color: #604573; /* violetti vain otsikoihin */
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(185,149,93,0.3);
  padding-bottom: 0.5rem;
}

/* Tekstit */
.info-card p,
.info-card ul li {
  color: #2e2d2c; /* lämmin tumma harmaa */
}

.info-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem 0;
}

.info-card ul li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
}

.info-card ul li::before {
  content: "•";
  color: #b9955d; /* Golden Ochre bullet */
  font-size: 1.3rem;
  position: absolute;
  left: 0;
  top: 0.1rem;
}

.info-card .quote {
  font-style: italic;
  color: #3b3b3b;
  font-weight: 500;
  margin-top: 1rem;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsiivisuus */
@media (max-width: 768px) {
  .about-info__grid {
    grid-template-columns: 1fr;
  }
  .info-card {
    text-align: left;
  }
}

/* Responsiivisuus */
@media (max-width: 768px) {
  .about-split__inner { flex-direction: column; text-align: left; }
  .about-info__intro { text-align: center; margin: 0 auto 2.5rem; }
}

/* ===== CONTACT HERO ===== */
.contact-hero {
  background-color: #f5f1eb;
  background-image: url('https://jo-designs.net/wp-content/uploads/2025/09/modern-office-desk-composition-with-technological-device-scaled-e1758837180328.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  padding: 7rem 2rem;
  color: #3a1460;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(243,246,241,0.85); /* vaalea sage overlay */
  z-index: 1;
}

.contact-hero__inner {
  position: relative;
  z-index: 2; /* varmistaa, että teksti tulee overlayn päälle */
  max-width: 850px; /* rajoittaa tekstialueen leveyttä */
  margin: 0 auto; /* keskittää sisällön */
  padding: 0 1.5rem; /* lisää hieman hengitystilaa reunoille */
  box-sizing: border-box;
}

.contact-hero__lead {
  font-family: var(--font-body);
  color: #2e2d2c;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

/* --- Responsiivisuus --- */
@media (max-width: 768px) {
  .contact-hero {
    padding: 4rem 1.5rem 3rem;
    text-align: left;
  }
  .contact-hero h1 {
    font-size: 1.7rem;
  }
  .contact-hero__lead {
    font-size: 1.05rem;
  }
}

.contact-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.contact-section {
  background-color: #f8f7f4;
  padding: 6rem 2rem;
  text-align: left;
}

.contact-section .contact-inner {
  max-width: 900px; /* määrää sisältöalueen leveyden */
  margin: 0 auto;   /* keskittää koko sisällön */
}

/* Otsikko ja tekstit */
.contact-section .contact-heading {
  font-family: var(--font-heading);
  color: #604573;
  border-bottom: 2px solid #b9955d;
  display: inline-block;
  margin-bottom: 2rem;
}

.contact-section p {
  font-family: var(--font-body);
  color: #2e2d2c;
  margin-bottom: 1.5rem;
}

/* WPForms */
.contact-form {
  margin-top: 2.5rem;
}

/* Kentät leveämmiksi ja harmonisiksi */
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(96,69,115,0.15);
  background-color: #eef1ec; /* haalea Sage Brush */
  color: #2e2d2c;
  font-family: var(--font-body);
  border-radius: 0;
  transition: all 0.3s ease;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
  border-color: #b7c5a6;
  background-color: #e9ece7;
  box-shadow: 0 0 0 3px rgba(183,197,166,0.25);
  outline: none;
}

/* Lähetyspainike */
.wpforms-submit {
  background-color: #b7c5a6;
  color: #fff;
  border: none;
  padding: 14px 38px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpforms-submit:hover {
  background-color: #9fae8f;
}

/* Mobiilissa */
@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1.5rem;
  }
  .contact-section .contact-inner {
    max-width: 100%;
  }
}


/* === AVAILABILITY NOTE – vaalea sage versio === */
.availability-note {
  background-color: #f3f6f1; /* todella vaalea sage */
  border-left: 4px solid #b7c5a6; /* sage brush */
  padding: 1.5rem 1rem;
  margin: 3rem auto;
  max-width: 1020px;
  text-align: left;
  font-family: var(--font-body);
  color: #2e2d2c;
  line-height: 1.8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.availability-note i {
  color: #a8b998; /* tummempi sage ikoni */
  font-size: 1.2rem;
  margin-right: 0.4rem;
}

.availability-note p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.availability-note strong {
  color: #6C6642;
  font-weight: 500;
}

/* --- Nappi --- */
.availability-note .btn--sage {
  display: inline-block;
  margin: 1.5rem auto 0 auto; /* keskitys ja vähän yläväliä */
  background-color: #b9955d;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
}

.availability-note .btn--sage:hover {
  background-color: #a47e3c;
}

/* --- Mobiilille --- */
@media (max-width: 768px) {
  .availability-note {
    padding: 2rem 1.4rem;
    text-align: left;
  }
}

/* --- SPARRAUKSET SIVU -- */

.sparraus-section {
  background: var(--linen-white);
  padding: 3rem 1.5rem; /* Tiivistetty */
}

.sparraus--section-title {
  font-family: var(--font-heading);
  text-align: center;
	color: #b45c47!important;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
  position: relative;
}

.sparraus--section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--golden-ochre);
  margin: 0.8rem auto 0;
}

/* --- Kategoriaryhmät --- */
.spar--category-group {
  padding: 0.8rem 1.8rem;
  margin-bottom: 1.5rem;
}

.spar--category-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--muted-brown);
  margin-bottom: 2rem;
}

.spar--category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem; /* voit säätää pituutta */
  height: 2px;
  background-color: #b9955d; /* lämmin kultainen sävy */
  border-radius: 1px;
  opacity: 0.85;
}

/* --- Grid --- */
.sparraus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.8rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* --- Kortit --- */
.sparraus-item {
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.2rem 1.5rem 2rem;
  text-align: left;
  background: transparent;
  border-radius: 0; 
  box-shadow: none; 
  transition: none;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
}

/* --- Ikonit --- */
.sparraus-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.sparraus-icon i {
  color: var(--golden-ochre);
  font-size: 1.4rem;
}

/* --- Tekstihierarkia --- */
.sparraus-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted-brown);
  margin-bottom: 0.6rem;
	text-align: center;
}

.sparraus-item h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem; /* voit säätää pituutta */
  height: 2px;
  background-color: #b9955d; /* lämmin kultainen sävy */
  border-radius: 1px;
  opacity: 0.85;
}

.sparraus-item p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-brown);
  margin-bottom: 0.8rem;
}

.sparraus-item ul {
  margin: 0 auto 1.5rem;
  text-align: left;
  padding-left: 1.2rem;
  max-width: 85%;
}

.sparraus-item li {
  margin-bottom: 0.4rem;
	margin-top: 0.95rem;
  list-style-type: disc;
}

/* --- Lopputulos --- */
.sparraus-item p strong {
  display: block;
  margin-top: 0.6rem;
  font-weight: 600;
}

.sparraus-item .result {
	display: block;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-top: 1.2rem;
  padding-top: 1rem;
}

/* --- Hinta --- */
.sparraus-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--muted-brown);
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 1rem;
  padding-top: 1rem;
	text-align: center;
}

@media (max-width: 600px) {
  .sparraus-item ul {
    max-width: 100%;
    padding-left: 1rem;
  }
}


/* --- Korttien taustavärit --- */
.brand-bg .sparraus-item {
  background-color: var(--canyon-rose-light); /* lämmin terracotta / canyon rose */
}

.content-bg .sparraus-item {
  background-color: #EDF1ED; /* pehmeä sage green */
}

.canva-bg .sparraus-item {
  background-color: #F7F3F9; /* lämmin laventeli */
}

.training-bg .sparraus-item {
  background-color: #f7f1ec; /* hiekkarosé */
}

/* --- Kontaktikortti --- */
.contact-card {
  background-color: #E9D9CF;
}

.contact-card h4,
.contact-card p,
.contact-card a {
  color: var(--muted-brown);
}

.contact-card a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.contact-card a:hover {
  border-color: var(--muted-brown);
}

.cta-sparraus {
  background: var(--sage-brush-light);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-sparraus .container {
  max-width: 850px;
  margin: 0 auto;
}

.cta-sparraus h2 {
  font-family: var(--font-heading);
  color: var(--muted-brown);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.cta-sparraus p {
  font-family: var(--font-body);
  color: var(--muted-brown);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.cta-sparraus-button {
  display: inline-block;
  background-color: var(--golden-ochre);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.9rem 1.6rem;
  text-decoration: none;
  text-transform: none;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
  transition: background-color 0.3s ease;
}

.cta-sparraus-button:hover {
  background-color: var(--muted-brown);
}

.sparraus-cta-intro {
  text-align: center;
  font-family: var(--font-body);
  color: var(--muted-brown);
  max-width: 720px;
  margin: 1.5rem auto 1rem;
  line-height: 1.6;
}


.sparraus-intro {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 3.5rem;
  color: var(--muted-brown);
}

.sparraus-intro p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
  color: var(--muted-brown);
}

.sparraus-cta-btn {
  display: inline-block;
  background-color: var(--golden-ochre);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.sparraus-cta-btn:hover {
  background-color: var(--muted-brown);
  color: #fff;
}

.sparraus-cta-wrapper {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.canva-bg .sparraus-cta-btn {
  background-color: var(--golden-ochre);
  color: #fff;
}

.canva-bg .sparraus-cta-btn:hover {
  background-color: var(--muted-brown);
  color: #fff;
}

#faq-sparraus-heading {
  color: var(--faq-accent);
}
#faq-sparraus-heading i {
  color: var(--faq-accent);
}

.sparraus-cta {
   display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.5rem;
}

.sparraus-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(219, 175, 156, 0.35); /* canyon rose 35% */
  z-index: 1;
  transition: opacity 0.5s ease;
}

.sparraus-cta:hover::before {
  opacity: 0.45;
}

/* Valkoinen laatikko oikealle */
.sparraus-cta-box {
  position: relative;
	margin: 0 auto 4rem auto;
  z-index: 2;
  background: #fff;
  padding: 3rem 3.5rem;
  max-width: 400px;
  text-align: left;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  border: none;
}

.sparraus-cta-box h2 {
  font-family: var(--font-heading);
  color: var(--color-violet);
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.35;
  margin-bottom: 1.8rem;
}

/* Linkkilista */
/* Poistetaan listamerkit ja marginaalit */
.sparraus-cta-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Jokainen linkkirivi */
.sparraus-cta-links li {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sparraus-cta-links li:first-child {
  border-top: none;
}

/* Linkkityyli */
.sparraus-cta-links a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-violet);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover-efekti: lämmin, pehmeä kontrasti */
.sparraus-cta-links a:hover,
.sparraus-cta-links a:focus {
  background-color: rgba(219, 175, 156, 0.12); /* haalea canyon rose */
  color: var(--muted-brown);
  letter-spacing: 0.06em;
}

/* Pieni kultainen alleviiva hoverissa (lisätyylikkyys) */
.sparraus-cta-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: var(--muted-brown);
  transition: width 0.3s ease;
}

.sparraus-cta-links a:hover::after {
  width: 100%;
}

/* Mobiiliversio */
@media (max-width: 768px) {
  .sparraus-cta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
  }

  .sparraus-cta-box {
    max-width: 100%;
    padding: 2rem 1.5rem;
    box-shadow: none;
  }

  .sparraus-cta-links a {
    font-size: 1rem;
  }
}

/* ============================
   VÄRILUOKAT: Taustat ja ikonit
============================ */

/* --- Taustat --- */
.bg-sand { background-color: #f4efe8; }
.bg-sage { background-color: #e0e5db; }
.bg-blush { background-color: #f3e7e5; }

/* --- Ikonivärit --- */
.icon-golden i { color: #b9955d; }
.icon-terracotta i { color: #ba7b55; }
.icon-olive i { color: #6c6642; }
.icon-canyon i { color: #dbaF9c; }
.icon-deep i { color: #4d4c2a; }

/* --- Responsiivisuus --- */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .panel-row-style {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }

  #faq-brand .container {
    padding-left: 0;
    padding-right: 0;
  }
}

#pl-2028 .so-panel {
		margin-bottom: 0px;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1rem, 2vw, 2rem); /* hengitys joka ruudulla */
  max-width: 100%;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  /* Reunasta reunaan hero-osat tms. */
  .panel-row-style,
  .so-panel,
  .panel-grid,
  .panel-grid-cell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  }
}