/* Kehon Lumo – sivuston tyylit */

@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #F6F1EA;
  --surface: #FFFDFA;
  --ink: #2A2522;
  --text: #4F4740;
  --muted: #5C534B;
  --line: #E4DBD0;
  --sage: #46614F;
  --sage-dark: #2F4536;
  --sage-tint: #E3EAE3;
  --clay: #9E5A43;
  --radius: 20px;
  --sans: "Nunito", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--sage-dark); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(64px, 9vw, 112px); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.lead { font-size: 1.15rem; color: var(--text); }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); }
.small { font-size: 0.9rem; color: var(--muted); }

/* Painikkeet */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--sage-dark); }
.btn-light:hover { background: var(--sage-tint); color: var(--sage-dark); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Ylätunniste */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; }
.brand span { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--sage); }
.main-nav .btn { color: #fff; padding: 11px 22px; font-size: 1rem; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 80px); }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text .lead { max-width: 34em; font-size: 1.2rem; }

/* Pätevyydet */
.credentials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 72px); padding: 28px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.credentials strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.credentials span { font-size: 0.95rem; color: var(--muted); }

/* Kortit */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: start; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card p { color: var(--text); font-size: 1.02rem; }
.card .grow { flex-grow: 1; }
.card-question { font-size: 0.95rem; font-weight: 700; color: var(--clay); }
.card-meta { font-size: 0.95rem; color: var(--muted); }
.card-tint { background: var(--sage-tint); border-color: transparent; }
.card-tint p { color: var(--ink); }
.icon { width: 32px; height: 32px; stroke: var(--sage); fill: none; stroke-width: 1.5; }
.extra-service { margin-top: 26px; padding: 22px 32px; border: 1px dashed #CBBFB0; border-radius: var(--radius); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }

/* Hinnasto */
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td.dur { padding-left: 12px; padding-right: 12px; color: var(--muted); white-space: nowrap; text-align: right; }
.price-table td.price { font-weight: 700; white-space: nowrap; text-align: right; }
.note { font-size: 0.93rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { padding: 5px 13px; border: 1px solid #C9BDAE; border-radius: 999px; font-size: 0.9rem; font-weight: 700; background: var(--bg); }

/* Kaisa */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text p { color: var(--text); font-size: 1.1rem; }
.timeline { list-style: none; margin: 8px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; }
.timeline b { color: var(--clay); }

/* Palautteet */
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; font-weight: 500; }
.quote figcaption { font-size: 0.95rem; color: var(--muted); }

/* Verkkokauppa */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.shop-item { display: flex; align-items: center; gap: 22px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.shop-item + .shop-item { margin-top: 14px; }
.shop-item:hover { border-color: var(--sage); color: var(--ink); }
.shop-item .t { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; display: block; }
.shop-item .d { color: var(--text); font-size: 1rem; display: block; }
.shop-item .p { margin-left: auto; font-weight: 700; color: var(--sage); white-space: nowrap; }

/* Yhteys-osio */
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 72px); background: var(--sage); border-radius: 28px; color: #fff; }
.contact-band h2, .contact-band h3 { color: #fff; }
.contact-band p { color: #F1F4F1; }
.contact-band a { color: #fff; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list b { display: block; }

.map { border-radius: 16px; overflow: hidden; background: var(--surface); color: var(--ink); }
.map-frame { position: relative; height: 240px; background: #DCE5DC; }
.map-frame iframe { border: 0; width: 100%; height: 100%; display: block; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; }
.map-consent p { color: var(--ink); font-size: 0.95rem; max-width: 30em; }
.map-consent .btn { padding: 11px 22px; font-size: 1rem; }
.map-link { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; font-size: 1rem; text-decoration: none; }
.contact-band .map-link { color: var(--ink); }
.map-link span:last-child { color: var(--sage); font-weight: 700; }

/* Alatunniste */
.site-footer { margin-top: clamp(64px, 9vw, 112px); background: var(--ink); color: #EDE6DC; font-size: 1rem; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.site-footer a { color: #EDE6DC; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.site-footer .brand-name { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }

/* Mobiilin varauspalkki */
.book-bar { display: none; }

/* Palvelusivu */
.breadcrumb { padding-top: 28px; font-size: 0.93rem; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #A99C8D; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 36px; }
.service-hero .intro { display: flex; flex-direction: column; gap: 20px; }
.service-hero .intro p { color: var(--text); font-size: 1.15rem; }
.facts { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.facts dl { margin: 0; display: flex; flex-direction: column; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.facts .btn { width: 100%; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.3rem; color: var(--clay); line-height: 1; }
.steps p { color: var(--text); font-size: 1.02rem; }
.callout { padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px); background: var(--sage-tint); border-radius: 28px; display: flex; flex-direction: column; gap: 18px; }
.callout p.big { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4; font-weight: 500; max-width: 1000px; }
.callout .who { display: flex; align-items: center; gap: 16px; color: #3E4F43; }
.callout .who img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; }
.faq { max-width: 880px; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary { font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--text); }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px); background: var(--sage); border-radius: 28px; color: #fff; }
.cta-line h2 { color: #fff; }
.cta-line p { color: #F1F4F1; margin-top: 8px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: 12px; }

/* Responsiivisuus */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .main-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav li:last-child a { margin-top: 16px; border: 0; text-align: center; }
  .hero-grid, .about, .shop, .contact-band, .service-hero, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; max-width: 480px; }
  .book-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
  .book-bar .btn { flex-grow: 1; padding: 13px 18px; }
  .book-bar .call { flex-grow: 0; width: 52px; padding: 0; border-color: var(--sage); color: var(--sage); }
  body { padding-bottom: 80px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .grid-3, .credentials, .steps, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .card, .facts { padding: 24px; }
  .shop-item { flex-wrap: wrap; }
  .shop-item .p { margin-left: 0; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.about img { width: 100%; height: auto; }
.hero-art img { width: 100%; }
.contact-band .btn-light { color: var(--sage-dark); }
.contact-band .map-link span:last-child { color: var(--sage); }
.timeline li { grid-template-columns: 72px 1fr; }
