@charset "UTF-8";
/* CSS Document */

html {
  -webkit-text-size-adjust: 100% !important;
}


/* ------------------------------
   PERUSASETUKSET
------------------------------ */

:root {
  --oranssi-light: #5f776f;
  --oranssi: #FF6D00;
  --secondary: #a4cf34;
  --bg-1: #8ab900;
  --accent: #f5b63a;
  --bg-light: #f7f8fb;
  --text-main: #2B2B2B;
  --text-muted: #555555;
  --beige: #FFF3E0;
  --valkoinen: #ffffff;
  --max-width: 1100px;
  --lamminmusta: #2B2B2B;
  --oliivi: #6B8E23;

}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4.5rem 0;
}

h1, h2, h3, h4, h5 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 2.0rem;
  color: var(--oranssi);
}

h2 {
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--oranssi);
}

h3 {
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  color: var(--oranssi);
}

.section-intro {
  color: var(--text-muted);
  text-align: left;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  font-size: 1.3rem;
}

.section-intro + .section-intro {
  margin-top: 1.2rem;
}

/* ------------------------------
   HEADER & NAVIGOINTI
------------------------------ */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--beige);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px -6px rgba(210, 180, 140, 0.4);
}

header .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Logo */
.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
    padding: 20px 0;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
.logo img {
  height: 50px;
  width: auto;
  display: block;
}

}

/* Päävalikko (desktop) */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.nav-menu > a,
.nav-menu .dropdown-toggle {
  position: relative;
  display: inline-block;
  padding: 0.6rem 0;
  color: var(--lamminmusta);
  text-decoration: none;
}

/* Ala­viiva hoverilla */
.nav-menu > a::after,
.nav-menu .dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--oranssi);
  transition: width 0.2s ease-out;
}

.nav-menu > a:hover::after,
.nav-menu .dropdown-toggle:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
    .nav-menu > a,
.nav-menu .dropdown-toggle {
  position: relative;
  display: inline-block;
  padding: 0.6rem 0;
  color: var(--valkoinen);
  text-decoration: none;
}

}

/* CTA-nappi oikealla */

.nav-cta {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--oranssi);
  color: var(--valkoinen);
  background: var(--oranssi);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 0.2s ease-out, color 0.2s ease-out, transform 0.1s ease-out;
}

.nav-cta:hover {
  background: var(--beige);
  color: var(--oranssi);
  /*transform: translateY(-1px);*/
}

/* Mobiilivalikon toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--oranssi);
  cursor: pointer;
  padding: 0.25rem;
}

/* Desktopissa piilotettava tekstilinkki "Ota yhteyttä" */
.nav-contact-link {
  display: none;
}

/* ------------------------------
   HERO (etusivu)
------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 6rem 0;
  background: url("images/hero2.jpg") center/cover no-repeat;
  text-align: center;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}


.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  color: #eaeaea;
  font-size: 1.1rem;
  line-height: 1.6;
  display: block;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ------------------------------
   YLEISET NAPIT
------------------------------ */


.btn-secondary-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ------------------------------
   PALVELUT
------------------------------ */

.services {
  background: var(--beige);
  text-align: left;
}

.services-header {
  margin-bottom: 2rem;
  text-align: left;
}

.services-section-intro {
  max-width: var(--max-width);
  text-align: left;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Palvelut – korttilista allekkain */

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Yksittäinen kortti: kuva vasemmalla, sisältö oikealla */

.service-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #eee;
  height: 100%;
}

.service-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--oranssi-light);
  font-weight: 600;
}

.service-title {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.25rem;
  color: var(--oranssi);
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

p.service-text-rm {
  font-size: 0.92rem;
  color: var(--oranssi);
  font-weight: 600;
  margin-top: -10px;
}

/* Kuva */

.service-card-image {
  flex: 0 0 300px;
}

.service-card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Tekstisisältö */

.service-card-content {
  flex: 1;
}

/* Nappi kortin sisällä */

.service-card .button {
  margin-top: 1rem;
}

/* ------------------------------
   TIIMI
------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #e1e5ef;
}

.team-photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: block;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--oranssi);
}

.team-role {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.team-contact div {
  margin-bottom: 0.3rem;
}

.team-contact a {
  color: #cf4833;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ------------------------------
   YHTEYSTIEDOT / LOMAKE
------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  border-radius: 1.1rem;
  border: 1px solid #e1e5ef;
  padding: 1.75rem 1.5rem;
  background: #ffffff;
}

.contact-info p {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.15rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid #ccd3e1;
  font: inherit;
  resize: vertical;
  min-height: 2.6rem;
}

textarea {
  min-height: 140px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--oranssi-light);
  box-shadow: 0 0 0 1px rgba(40, 82, 133, 0.2);
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ------------------------------
   LIGHTBOX
------------------------------ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
  animation: lightboxFadeIn 0.2s ease-out forwards;
  opacity: 0;
}

.lightbox-content {
  position: relative;
  cursor: default;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  animation: lightboxZoomIn 0.2s ease-out forwards;
  transform: scale(0.9);
  opacity: 0;
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.3);
}

.lightbox-close:hover {
  background: rgba(0,0,0,0.95);
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lightboxZoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ------------------------------
   MUUT YLEISET
------------------------------ */

main a {
  color: #cf4833;
}

main a:hover {
  color: #5f776f;
}

.contact-section {
  background: var(--beige);
  padding: 4rem 0;
  text-align: center;
}
.contact-section h2 {
  font-size: 2.0rem;
}
.contact-section p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--oranssi);
}
.contact-cta-center {
  margin-top: 2rem;
}

.button {
  text-align: left;
  margin-top: 3rem;
}

.palvelut-omistajayritykselle-hero .button {
  text-align: center;
  margin-top: 2rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  color: #0A66C2;
  text-decoration: none;
  transition: 0.2s;
}

.linkedin-link:hover {
  color: #004182;
  transform: translateY(-2px);
}

/* ------------------------------
   HERO-SPLIT / HERO-SPLIT-FULL
------------------------------ */

.hero-split {
  padding: 40px;
  background: var(--beige);
}

.hero-split-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  max-width: 550px;
  text-align: left;
}

.tilintarkastus-hero .hero-image {
  margin-left: auto;
  margin-right: auto;
}

/* Full width hero, 50/50 layout */

.hero-split-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw;
  min-height: 550px;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.hero-split-left {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

.hero-split-content {
  max-width: 550px;
}

.hero-split-content h1 {
  font-size: 2.0rem;
  margin-bottom: 1rem;
  color: var(--oranssi);
}

.hero-split-content p {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  color: #222;
}

.hero-split-right {
  width: 100%;
  height: 100%;
}

.hero-split-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
}

/* Pyöreä LinkedIn-ikoni brändivihreällä taustalla */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--oranssi);      /* brändivihreä */
  color: #ffffff;                  /* "in" valkoisena */
  text-decoration: none;
  transition: background 0.15s ease, 
              transform 0.15s ease, 
              box-shadow 0.15s ease;
}

/* Varmistetaan, ettei svg ole liian iso */
.linkedin-link svg {
  width: 20px;
  height: 20px;
}

/* Hover-efekti */
.linkedin-link:hover {
  background: var(--oranssi-light);
  transform: none;
  box-shadow: none;
}

/* Pyöreät tiimikuvat */
/*
.team-photo-wide {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}
*/
/* Pyöreät tiimikuvat */
.team-photo-wide {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%; 
  display: block;
  flex-shrink: 0;          /* estää venymisen flexissä */
  max-width: none !important; /* ohittaa 100%-säännöt */
}

.noste {
  font-size: 1.2rem;              /* hieman isompi */
  font-weight: 600;                /* selkeä mutta ei huutomerkkiä */
  color: var(--oranssi);           /* brändivihreä */
  border-left: 4px solid var(--oranssi);
  padding-left: 1rem;
  margin: 2.5rem 0;
  margin-top: 2rem;
  font-style: italic;
}

/* Yhteys-hero: beige tausta ja vasen kohdistus */
.contact-page-hero {
  background: var(--beige);      /* tai #f2e7d5, jos et käytä muuttujaa */
  padding: 3.5rem 0;             /* tilaa ympärille */
  text-align: left;              /* vasemmalle keskitys tekstille */
}

.contact-page-hero .section-heading {
  color: var(--oranssi);
  margin-bottom: 1.25rem;
}

.contact-page-hero .section-intro {
  /*max-width: 750px;*/
  margin: 0;                     /* ei keskity väkisin */
  color: var(--text-main);
  line-height: 1.6;
    text-align: left;
    font-size: 1.3rem;
}


/* Varmistetaan, että teksti-linkki näkyy vain mobiilissa */
.nav-contact-link {
  display: none !important;
}

.arvo-why h2 {
  font-size: 2.0rem;
}
.arvo-why {
  padding: 4rem 0;
  background: var(--valkoinen);
}

.arvo-why h2 {
  text-align: center;
  margin-bottom: 2.2rem;
}

.arvo-why-grid {
  display: grid;
  gap: 2rem;
}

.arvo-why-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.arvo-why-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--oranssi);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arvo-why-icon span {
  color: #ffffff;
  font-weight: 700;
  font-size: 3.0rem;
}

.arvo-why-content h3 {
  margin: 0 0 0.5rem;
}

.arvo-why-content p {
  margin: 0;
}


.arvo-for {
  padding: 4rem 0;
}
.arvo-for kaksi {
  background: var(--oranssi) ;
}
.arvo-for h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.arvo-for-grid {
  display: grid;
  gap: 2rem;
}



.arvo-for-item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.arvo-for-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--oranssi);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* perus: piilotetaan mobiiliotsikko desktopissa */
.hero-title-mobile {
  display: none;
}

/* Miksi Arvo */
.miksi-arvo-section {
  padding: 3.5rem 0;
  background: var(--oranssi);
}

.miksi-arvo-heading {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
  color: var(--valkoinen);
}

/* Grid asettelu: mobiilissa 1 sarake, isommilla 2 */
.miksi-arvo-grid {
  display: grid;
  gap: 1.5rem;
}

.miksi-arvo-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff;
  padding: 1.5rem 1.75rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7f0;
}

/* ✔ -ikoni ympyrässä */
.miksi-arvo-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--oranssi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ffffff;
}

/* Tekstipuoli */
.miksi-arvo-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--oranssi);
}

.miksi-arvo-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Tilintarkastus-sivu – yleinen väli */
.tilintarkastus-content {
  padding: 3.5rem 0;
}

/* HYÖTYKORTIT */
.tilintarkastus-benefits {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 1.5rem;
}

.tilintarkastus-benefit {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7f0;
}

/* Muotoilu pelkille otsikkoriveille (strong -rivisi) */
.tilintarkastus-benefit p:first-child strong {
  display: inline-block;
  position: relative;
  padding-left: 2.2rem;
}

/* ✔-ikoni ennen otsikkotekstiä, ilman että tekstiä muutetaan */
.tilintarkastus-benefit p:first-child strong::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--oranssi);
  color: #ffffff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lyhyempi kappale hyödyn varsinaiselle tekstille */
.tilintarkastus-benefit p:last-child {
  margin-top: 0.6rem;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* LAKIRAJAT – INFOBOKSI */
.tilintarkastus-rajat-block {
  margin: 3rem 0;
  padding: 1.8rem 1.6rem;
  border-radius: 16px;
  background: var(--beige);
  border: 1px solid #e1d4b8;
}

.tilintarkastus-rajat-block ul {
  margin: 0.8rem 0 0.8rem 1.4rem;
}

/* SEGMENTTIKORTIT (eri yritystyypit) */
.tilintarkastus-segment-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}



.segment-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  border: 1px solid #e5e7f0;
}

.segment-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--oranssi);
}

.segment-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* LISÄPALVELUT – KAKSI KORTTIA VIEREKKÄIN */
.tilintarkastus-extra-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}



.extra-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.7rem 1.8rem;
  border: 1px solid #e5e7f0;
}

.extra-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--oranssi);
}

.extra-card ul {
  margin: 0.5rem 0 0.5rem 1.4rem;
}

.extra-card p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}


/* Kokonaisuus */
.tilintarkastus-topics {
  padding: 3.5rem 0;
  counter-reset: topic-counter;
}

/* Yksi aiheboxi */
.tilintarkastus-topics .topic-box {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.8rem 1.8rem 1.6rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding-left: 3.4rem; /* tilaa numeropylväälle */
}

/* Numeroitu "badge" jokaiselle aiheelle */
.tilintarkastus-topics .topic-box::before {
  counter-increment: topic-counter;
  content: counter(topic-counter);
  position: absolute;
  left: 1.2rem;
  top: 1.8rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--oranssi);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* H2 korostetuksi "pääaiheeksi" */
.tilintarkastus-topics .topic-box > h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
  color: var(--oranssi);
}

/* Tarkentava teksti hieman kevyempänä */
.tilintarkastus-topics .topic-body p,
.tilintarkastus-topics .topic-body li {
  font-size: 0.96rem;
  color: var(--text-muted);
}

/* H3 alaotsikot sisällä */
.tilintarkastus-topics .topic-body h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--oranssi);
}

/* Listojen marginaalit hieman kasaan */
.tilintarkastus-topics .topic-body ul {
  margin: 0.5rem 0 0.75rem 1.2rem;
}


/* KOKONAISUUS */
.tilintarkastus-topics {
  padding: 3.5rem 0;
  counter-reset: topic-counter;
}

/* YKSI AIHEBOKSI */
.tilintarkastus-topics .topic-box {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem 1.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid #e5e7f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* H2 otsikko klikattavaksi headeriksi */
.tilintarkastus-topics .topic-heading {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--oranssi);
  cursor: pointer;
}

/* Pieni numero-badge ennen otsikkoa – ilman että teksti muuttuu */
.tilintarkastus-topics .topic-heading::before {
  counter-increment: topic-counter;
  content: counter(topic-counter);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--oranssi);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
}

/* Nuolinappi oikealle */
.topic-arrow {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--oranssi);
  border-bottom: 2px solid var(--oranssi);
  transform: rotate(45deg); /* suljettuna "nuoli alas" */
  transition: transform 0.18s ease-out;
}

/* Avattuna nuoli kääntyy ylös */
.topic-box.open .topic-arrow {
  transform: rotate(-135deg);
}

/* SISÄLTÖ: tekstit, listat, h3 jne. */
.tilintarkastus-topics .topic-body {
  margin-top: 0.9rem;
  padding-top: 0.6rem;
  border-top: 1px solid #edf0f7;
}

.tilintarkastus-topics .topic-body p,
.tilintarkastus-topics .topic-body li {
  font-size: 0.96rem;
  color: var(--text-muted);
}

.tilintarkastus-topics .topic-body h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--oranssi);
}

.tilintarkastus-topics .topic-body ul {
  margin: 0.5rem 0 0.75rem 1.2rem;
}


/* Poistetaan numerointi kokonaan accordion-otsikoista */
.tilintarkastus-topics .topic-heading::before {
  content: none !important;
  counter-increment: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

/* Varmistetaan, ettei mikään muu tyyli tuo numeroita takaisin */
.tilintarkastus-topics {
  counter-reset: none !important;
}
/* NOLLAUS: ei numerointia mihinkään tilintarkastus-topics -osion otsikoihin/laatikoihin */
.tilintarkastus-topics,
.tilintarkastus-topics * {
  counter-reset: none !important;
}

/* Poistetaan kaikki ::before-sisällöt, jos joku aiempi sääntö yrittää sinne numeron tunkea */
.tilintarkastus-topics h2::before,
.tilintarkastus-topics .topic-box::before,
.tilintarkastus-topics .topic-heading::before {
  content: '' !important;
  counter-increment: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
.ingressi {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-main); 
  max-width: 720px;
  margin: 1.5rem auto 1.5rem;
  text-align: left;   
  font-weight: 500;
}

.arvo-valinta {
  width: 100%;
  background: var(--oranssi);
  padding: 4rem 1.5rem;
  color: #ffffff;
  text-align: left;
}

.arvo-valinta h2 {
  color: #ffffff;
  text-align: left;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.arvo-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arvo-lista li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  margin: 1rem 0;
  color: #ffffff;
}

/* Check-ikoni */
.check-icon {
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: var(--oranssi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}




.site-footer {
  background: var(--oranssi);
  color: #fff;
  font-size: 0.9rem;
  padding: 2rem 0 1.5rem;
  text-align: center;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: none;
}

/*.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}*/

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-block {
  min-width: 220px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}



/* Mobiilikuva oletuksena piiloon desktopissa */
.hero-image-mobile {
  display: none;
}

.meista-page-hero {
  background: var(--beige); /* tai esim. #f2e7d5 jos haluat kiinteän värin */
  width: 100%;
  padding: 4rem 0; /* sopivasti tilaa ylös ja alas */
}
/* --- TIIMI --- */
.team-member {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/*.team-photo-wide {
  width: 260px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}*/

.team-text {
  flex: 1 1 300px;
}

.team-text .h4 {
  margin-top: 0;
}

.team-text .noste {
  font-weight: 600;
  color: var(--oranssi);
  margin-top: 1rem;
  margin-bottom: 1rem;
}




/* LinkedIn-ikoni */
.team-text .linkedin-link svg {
  transition: 0.2s ease-in-out;
}


.team-text .linkedin-link:hover svg {
  transform: none;
  color: #fff; 
}



/* ==============================
   MEDIA / RESPONSIIIVISUUS
   (yhtenäistetty)
============================== */

/* DESKTOP / TABLET */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

  /* 2 korttia rinnakkain */
  .arvo-why-grid,
  .arvo-for-grid,
  .miksi-arvo-grid,
  .tilintarkastus-benefits,
  .tilintarkastus-segment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .tilintarkastus-extra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* max 900px */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-split-full {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split-right img {
    height: 300px;
  }

  .hero-split-left {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }
}

/* max 850px */
@media (max-width: 850px) {
  .hero-split-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    text-align: center;
  }

  .hero-image img {
    max-width: 350px;
  }
}

/* max 600px */
@media (max-width: 600px) {
  .team-card {
    padding: 1.2rem;
  }

  .team-photo {
    border-radius: 8px;
  }
}


/* ==============================
   MOBIILI (max 768px)
============================== */
@media (max-width: 768px) {

  /* NAVI */
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--oranssi);
    border-bottom: 1px solid #e3e6ef;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem 1rem;
  }

  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-contact-link { display: block !important; }

  /* HERO-SPLIT-FULL: ei ylimääräisiä ylä/ala paddauksia */
  .hero-split-full {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* PALVELUKORTIT */
  .service-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .service-card-image {
    flex: 0 0 auto;           /* poistaa 300px “pakon” mobiilissa */
  }

  .service-card-image img {
    width: 100%;
    max-width: 260px;         /* jos haluat täysleveän, poista max-width */
  }

  .service-card-content { width: 100%; }

  /* PALVELUMME – TIIVISTETTY MOBIILILAYOUT (vain #palvelumme) */
  #palvelumme {
    padding-top: 0.5rem !important;
    padding-bottom: 1.2rem !important;
  }

  #palvelumme .service-card {
    padding: 1.0rem 1rem 1.25rem !important;
    gap: 1.0rem !important;
  }

  #palvelumme .service-card-image img {
    width: 100% !important;
    max-width: none !important;
  }

  #palvelumme h2.service-title,
  #palvelumme h3.service-title {
    padding-top: 1.0rem !important;
    margin-top: 0 !important;
    margin-bottom: 1.0rem !important;
  }

  #palvelumme .service-text {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
  }

  /* CONTACT-CARD mobiilissa */
  .contact-card {
    flex-direction: column !important;
    text-align: center;
  }

  .contact-card > div { width: 100%; }

  .contact-card img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  /* Tiimikuvat yhteys-kortissa pyöreänä */
  .contact-card .team-photo-wide {
    width: 280px !important;
    height: 280px !important;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    max-width: none !important;
    margin: 0 auto;
    display: block;
  }

  /* Meistä-sivun tiimi */
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .team-photo-wide {
    width: 100%;
    max-width: 260px;
  }

  /* CONTACT-PAGE-HERO */
  .contact-page-hero { padding: 2.5rem 0; }
  .contact-page-hero .section-heading { font-size: 1.6rem; }

  /* ARVO WHY mobiilitiivistys */
  .arvo-why-icon { width: 50px; height: 50px; }
  .arvo-why-icon span { font-size: 2.2rem; }
  .arvo-why-item { gap: 1rem; padding: 1.25rem; }

  /* MIKSI ARVO mobiilitiivistys */
  .miksi-arvo-section { padding: 2.5rem 0; }
  .miksi-arvo-item { padding: 1.3rem 1.25rem; }

  /* TILINTARKASTUS mobiilitiivistykset */
  .tilintarkastus-content { padding: 2.5rem 0; }

  .tilintarkastus-benefit,
  .segment-card,
  .extra-card {
    padding: 1.3rem 1.25rem;
  }

  .tilintarkastus-topics { padding: 2.5rem 0; }

  .tilintarkastus-topics .topic-box {
    padding: 1.0rem 1.2rem;
  }

  .tilintarkastus-topics .topic-heading {
    font-size: 1.2rem;
  }

  /* FOOTER mobiilissa */
  .footer-inner {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }

  footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* HERO (etusivu) – mobiiliversio (pidetään vain tämä yksi toteutus) */
  .hero {
    position: relative;
    background: none;
    min-height: auto;
    padding: 0;
    margin: 0;
    display: block;
  }

  .hero::before { display: none; }

  .hero-image-mobile {
    display: block;
  }

  .hero-image-mobile img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
    z-index: 2;
    background: none !important;
  }

  .hero-title {
    color: #ffffff;
    font-size: clamp(1.5rem, 5vw, 1.5rem);
    margin-bottom: 0.8rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
  }
}

/* HERO SPLIT FULL */
.hero-split-full{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: clamp(520px, 72vh, 760px);
  background: #fff;
  color: #fff;
}

.hero-split-left{
  display: flex;
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
}

.hero-split-content{
  max-width: 640px;
}

.hero-split-content h1{
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 16px;
}

.hero-split-content p{
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 14px;
  opacity: .95;
}

.hero-split-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn-primary,
.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  *transition: transform .12s ease, opacity .12s ease, background-color .12s ease, border-color .12s ease;
}

.btn-primary{
  background: var(--oranssi);
  color: #fff;
}

.btn-secondary{
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}

.btn-primary:hover,
.btn-secondary:hover{
  /*transform: translateY(-1px);*/
  opacity: .95;
}

.hero-split-badges{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-split-badges li{
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.hero-split-right{
  position: relative;
}

.hero-split-right img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobiili */
@media (max-width: 900px){
  .hero-split-full{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split-right{
    order: -1; /* kuva ensin mobiilissa; poista jos haluat tekstin ensin */
    height: 260px;
  }

  .hero-split-left{
    padding: 28px 18px 36px;
  }
}

/* footer alas kun ei ole sisaltoa tarpeeksi */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

.hero-intro {
  font-size: 18px;
    font-weight: 500;
}

.contact-layout{
  display: flex;
  flex-direction: column;   /* mobiilissa päällekkäin */
  gap: 24px;
}

.contact-image img{
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop / isommat näytöt */
@media (min-width: 900px){
  .contact-layout{
    flex-direction: row;     /* tekstit vasen, kuva oikea */
    align-items: flex-start;
  }

  .contact-text{
    flex: 1 1 55%;
  }

  .contact-image{
    flex: 1 1 45%;
  }
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s;
}

.gallery-grid img:hover{
  transform: scale(1.05);
}

/* tablet */
@media (max-width: 900px){
  .gallery-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* puhelin */
@media (max-width: 500px){
  .gallery-grid{
    grid-template-columns: 1fr;
  }
}

/* Lightbox */

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s;
}

.gallery-grid img:hover{ transform: scale(1.03); }

/* tablet */
@media (max-width: 900px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
/* puhelin */
@media (max-width: 520px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-grid img{ height: 240px; }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.lightbox.is-open{ display: flex; }

.lb-figure{
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  text-align: center;
}

#lightboxImg{
  max-width: 100%;
  max-height: 78vh;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.lb-caption{
  color: #fff;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.9;
}

/* Buttons */
.lb-btn{
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
}

.lb-btn:hover{ background: rgba(255,255,255,0.20); }

.lb-close{
  top: 14px;
  right: 14px;
  font-size: 34px;
}

.lb-prev{ left: 14px; }
.lb-next{ right: 14px; }

/* pienillä näytöillä nuolia alemmas ettei osu yläpalkkiin */
@media (max-width: 520px){
  .lb-prev{ left: 10px; }
  .lb-next{ right: 10px; }
  .lb-btn{ width: 42px; height: 42px; }
}

/* Miksi valita Helinpoli */

#miksi-valita-helin-poli{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}
.syyt-container{
  max-width: 1100px;
}
.syyt-container{
  margin-top: 30px;
}

.syy{
  position: relative;
  padding-left: 80px;
  margin-bottom: 35px;
}

.syy::before{
  content: attr(data-number);
  position: absolute;
  left: 0;
  top: 0px;
  font-size: 90px;
  font-weight: 700;
  color: #e6eef0; /* vaalea taustanumero */
  line-height: 1;
  z-index: 0;
}

.syy h3{
  position: relative;
  margin: 0 0 6px 0;
  z-index: 1;
}

.syy p{
  position: relative;
  margin: 0;
  line-height: 1.6;
  z-index: 1;
}

/* palvelut */
#palvelut{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

#palvelut h2{
  margin: 0 0 14px 0;
}

.palvelut-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.palvelu{
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px;
}

.palvelu-ikoni{
  width: 150px;
  height: 150px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--oranssi);
  border: 1px solid rgba(0,0,0,0.08);
  color: #fff;

  transition: background-color 0.2s ease, color 0.2s ease;
}

/* itse ikoni isommaksi */
.palvelu-ikoni svg{
  width: 72px;     /* <-- isompi kuin 44px */
  height: 72px;    /* <-- isompi kuin 44px */
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;  /* vähän jämäkämpi kun ikoni kasvaa */
  stroke-linecap: round;
  stroke-linejoin: round;
}



.palvelu-nimi{
  font-weight: 600;
  text-align: center;
}

.palvelu:hover .palvelu-ikoni{
  background: color-mix(in srgb, var(--oranssi) 85%, black);
}

.palvelu:focus{
  outline: none;
}

.palvelu:focus-visible .palvelu-ikoni{
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--oranssi) 35%, transparent);
}



/* responsiivisuus */
@media (max-width: 900px){
  .palvelut-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .palvelu-ikoni{ width: 140px; height: 140px; }
  .palvelu-ikoni svg{ width: 64px; height: 64px; }
}

@media (max-width: 460px){
  .palvelut-grid{ grid-template-columns: 1fr; }
  .palvelu-ikoni{ width: 130px; height: 130px; }
  .palvelu-ikoni svg{ width: 60px; height: 60px; }
}

/* =========================
   ASIAKASPALAUTTEET
   ========================= */

/* Asiakaspalautteet */
#asiakaspalautteet{
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

#asiakaspalautteet h2{
  margin: 0 0 14px 0;
}

/* Grid 1 desktop, 1 sarake mobiilissa */
.palautteet-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.palaute{
  margin: 0;
  padding: 40px;
  border: 0px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  background: #fff;
}

.palaute blockquote{
  margin: 0;
  padding: 0;
  position: relative;
}

.palaute blockquote::before{
  content: "“";
  position: absolute;
  left: -6px;
  top: -14px;
  font-size: 100px;
  line-height: 1;
  color: var(--oranssi);
  opacity: 1.00;
}

.palaute p{
  margin: 0;
    margin-left: 60px;
  line-height: 1.8;
}

.palaute figcaption{
  margin-top: 10px;
  font-weight: 700;
  margin-left: 60px;
  color: var(--oranssi);
}

/* Lisää palautteita (details) */
.palautteet-more{
  margin-top: 14px;
}

.palautteet-more summary{
  list-style: none; /* poistaa oletuskolmion */
}

.palautteet-more summary::-webkit-details-marker{
  display: none; /* Safari/Chrome */
}

/* nappi-tyylinen summary */
.btn-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: #fff;
  background: var(--oranssi);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

/* pieni nuoli-ikoni summaryyn (kääntyy kun auki) */
.btn-link::after{
  content: "▾";
  font-size: 14px;
  line-height: 1;
  transform: translateY(1px);
  transition: transform 0.15s ease;
}

.palautteet-more[open] .btn-link::after{
  transform: rotate(180deg) translateY(-1px);
}

.palautteet-grid--more{
  margin-top: 14px;
}

/* Responsiivisuus */
@media (max-width: 700px){
  .palautteet-grid{
    grid-template-columns: 1fr;
  }
}

.bg-beige {
    width: 100%; 
    background: var(--beige);
    padding: 40px 0px;
}

/* IKONIT */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.service-item h3 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
}

.icon-circle {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--oranssi);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.icon-circle-jalkahoidot img {
  width: 100px;
  height: 100px;
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.icon {
  stroke: white;
  fill: none; /* tai fill: white; riippuen ikonista */
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .icon-circle {
    width: 150px;
    height: 150px;
  }

  .icon-circle img {
    width: 64px;
    height: 64px;
  }
}

/* ==============================
   NAV DROPDOWN
============================== */

.nav-menu .dropdown,
.nav-menu .nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-menu .dropdown-toggle {
  background: none;
  border: 0;
  padding: 0.6rem 0;
  font: inherit;
  color: var(--lamminmusta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.nav-menu .dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--oranssi);
  transition: width 0.2s ease-out;
}

.nav-menu .dropdown-toggle:hover::before {
  width: 100%;
}

.nav-menu .dropdown-toggle::after {
  content: " ▼";
  font-size: 0.7em;
  position: static;
  width: auto;
  height: auto;
  background: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0.4rem 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  z-index: 1001;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: var(--lamminmusta);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-menu .dropdown,
  .nav-menu .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-menu .dropdown-toggle {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--valkoinen);
    background: none;
    border: 0;
    padding: 0.6rem 0;
    font: inherit;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    cursor: pointer;
  }

  .nav-menu .dropdown-toggle::before {
    background-color: var(--valkoinen);
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0.35rem 0 0.2rem;
    margin-top: 0.25rem;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    display: block;
    color: #F2D27A;
    padding: 0.45rem 0;
    text-align: center;
    background: none;
  }

  .dropdown-menu a:hover {
    background: none;
  }
}
.viitteet{
    font-size: 80%;
    color: grey;
  }

.service-item-hero {
  background-color: var(--oranssi);
  display: flex;
  justify-content: center; /* vaakasuunnassa keskelle */
  align-items: center;     /* pystysuunnassa keskelle */
  height: 760px; /* säädä tarpeen mukaan */
}

.icon-hero img {
  max-width: 100%;
  width: 250px;
  height: auto;
}

.icon-hero-jalkahoidot img{
  width: 320px;
  height: auto;
}

@media (max-width: 768px) {
    .service-item-hero {
  background-color: var(--oranssi);
  display: flex;
  justify-content: center; /* vaakasuunnassa keskelle */
  align-items: center;     /* pystysuunnassa keskelle */
  height: 500px; /* säädä tarpeen mukaan */
}
    
}




.hero-split-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
  background: #fff;
}

.hero-split-left {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

.hero-split-content {
  max-width: 550px;
}

.hero-split-content h1 {
  color: var(--oranssi);
  font-size: 3rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
.hero-split-content h1 {
  color: var(--oranssi);
  font-size: 2rem;
  margin-bottom: 1rem;
}
    
}

.hero-split-content p {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}

.hero-split-right {
  width: 100%;
  height: 100%;
}

.hero-split-right > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-item-hero {
  background-color: var(--oranssi);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 760px;
  height: 100%;
  padding: 2rem;
}

.icon-hero img {
  width: 250px;
  max-width: 100%;
  height: auto;
}

.icon-hero-jalkahoidot img {
  width: 320px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .hero-split-full {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split-left {
    padding: 1.5rem 1.5rem 3rem 2rem;
      text-align: left;
       justify-content: left;
  }


  .hero-split-right {
    height: auto;
  }

  .service-item-hero {
    min-height: 320px;
    height: auto;
    padding: 2rem 1rem;
  }

  .icon-hero img {
    width: 150px;
  }

  .icon-hero-jalkahoidot img {
    width: 190px;
  }
}
