/* ============================================================================
   ASIAKAS: Patentia — patentti- ja tavaramerkkiasiamies, IPR-konsultointi
   Runko: demo5 (tumma premium). Teemattu erilleen pohjan oletuksista:
   syvä ink-navy pohja + hillitty azure-aksentti, moderni serif-otsikko (Newsreader) +
   selkeä sans-leipä (Inter). Pyöristetyt, pehmeät muodot. Typografinen tumma hero
   (ei valokuvaa) hienovaraisella hehkulla. Tumma & tyylikäs, pyöristetty & pehmeä.
   Polut SUHTEELLISIA. Esikatselu = vain etusivu (ankkurit).
   ----------------------------------------------------------------------------
   TEEMA VAIHDETAAN VAIN TÄSTÄ :root-lohkosta.
   ============================================================================ */

:root {
  /* ---- VÄRIT (brändi: kulta/pronssi mustalla — Patentia-liikemerkki) ---- */
  --c-bg:        #131210;   /* lämmin lähes-musta (brändin musta R24/G24/B22) */
  --c-surface:   #1C1A16;   /* lämmin tumma kortti */
  --c-surface-2: #181611;   /* osio-tint */
  --c-text:      #ECE7DC;   /* lämmin lähes-valkoinen leipäteksti (hyvä kontrasti) */
  --c-heading:   #FBF8F1;   /* lämmin valkoinen otsikko */
  --c-muted:     #B6AC99;   /* lämmin vaalea harmaa pienille labelteksteille */
  --c-border:    #34301F;   /* lämmin pronssinhämärä reuna */
  --c-primary:   #C7AC82;   /* brändin kulta (R189/G162/B124, hieman kirkastettu) */
  --c-primary-2: #DAC29A;   /* hover (kirkkaampi kulta) */
  --c-on-primary:#1A130A;   /* tumma ruskea teksti kullan päällä */
  --c-accent-2:  #70573C;   /* brändin pronssi (R112/G87/B60) — gradientit/hehkut */
  --c-dark:      #0D0C0A;   /* syvin pohja (CTA/featured) */
  --c-on-dark:   #E7E1D5;

  --grad: linear-gradient(120deg, var(--c-primary) 0%, var(--c-accent-2) 100%);

  /* ---- MUODOT (pyöristetty & pehmeä) ---- */
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* ---- VARJOT (syvät, hehku) ---- */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow:    0 24px 54px -24px rgba(0,0,0,.78);
  --shadow-lg: 0 36px 84px -30px rgba(0,0,0,.86);
  --glow:      0 0 0 1px color-mix(in srgb, var(--c-primary) 30%, transparent), 0 18px 48px -18px color-mix(in srgb, var(--c-primary) 42%, transparent);

  /* ---- TYPOGRAFIA (moderni serif-otsikko + selkeä sans-leipä) ---- */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* ---- MITAT ---- */
  --container: 1180px;
  --pad-x: clamp(18px, 5vw, 40px);
  --gap: clamp(18px, 2.4vw, 26px);
  --section-y: clamp(62px, 8vw, 112px);
}

/* ===========================  RESET / BASE  ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; overflow-x: clip;
  background: var(--c-bg); color: var(--c-text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-heading); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 500; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 500; }
p { margin: 0 0 1rem; max-width: 66ch; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--c-primary); color: var(--c-on-primary); padding: 10px 18px; font-weight: 700; border-radius: var(--r); }
.skip-link:focus { left: 14px; }

/* ===========================  LAYOUT  ============================ */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-surface-2); }
.section--dark { background: var(--c-dark); }
/* kiinteä läpinäkyvä nav: sisäsivun ensimmäinen osio (ei .hero) tarvitsee lisätilaa ylös */
main > .section:first-child { padding-top: calc(var(--section-y) + 34px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--c-primary); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--c-text); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 58px); }
.sec-head .lead { max-width: 60ch; }
.sec-head--center { margin-inline: auto; text-align: center; max-width: 820px; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lead { margin-inline: auto; }

/* ===========================  PAINIKKEET  ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1.5px solid transparent; transition: transform .16s ease, background .2s, box-shadow .25s, color .2s, border-color .2s;
  min-height: 52px;
}
.btn-primary { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary);
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--c-primary) 70%, transparent); }
.btn-ghost { background: transparent; color: var(--c-heading); border-color: rgba(255,255,255,.22); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.3); }
.btn .arr { transition: transform .2s; font-weight: 700; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--c-primary-2); border-color: var(--c-primary-2); transform: translateY(-2px); box-shadow: 0 20px 40px -14px color-mix(in srgb, var(--c-primary) 80%, transparent); }
  .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
  .btn-ghost.on-dark:hover { background: #fff; color: var(--c-dark); border-color: #fff; }
  .btn:hover .arr { transform: translateX(4px); }
}
.btn-primary:active { transform: translateY(0); }
.tlink { color: var(--c-primary); font-weight: 700; font-size: .92rem; display: inline-flex; gap: 7px; align-items: center; }
@media (hover: hover) { .tlink:hover .arr { transform: translateX(4px); } }

/* ===========================  HERO (typografinen, tumma — CSS-hehku + viivamotiivi, ei valokuvaa)  ============================ */
.hero { position: relative; min-height: clamp(580px, 88vh, 800px); display: flex; align-items: center; overflow: hidden; background: var(--c-bg); }
/* pehmeät hehkut (azure + vivahde-violetti) + hienovarainen "patenttipiirros"-ruudukko */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 18%, color-mix(in srgb, var(--c-primary) 26%, transparent), transparent 70%),
    radial-gradient(50% 50% at 12% 88%, color-mix(in srgb, var(--c-accent-2) 20%, transparent), transparent 70%); }
.hero-bg::before { content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--c-primary) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c-primary) 9%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 10%, #000 0%, transparent 62%);
          mask-image: radial-gradient(120% 100% at 80% 10%, #000 0%, transparent 62%); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, var(--c-bg) 100%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(64px, 9vw, 110px); color: var(--c-heading); max-width: 800px; }
.hero-inner .eyebrow { color: var(--c-primary); }
.hero-inner h1 { color: var(--c-heading); max-width: 16ch; }
.hero-inner h1 .accent { color: var(--c-primary); font-style: italic; }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.4rem); color: var(--c-text); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: inline-flex; gap: 0; margin-top: 46px; flex-wrap: wrap; border-top: 1px solid var(--c-border); }
.hero-meta .m { padding: 22px 32px 0 0; margin-right: 32px; border-right: 1px solid var(--c-border); }
.hero-meta .m:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.hero-meta .m b { font-family: var(--font-display); font-weight: 500; font-size: 2rem; color: var(--c-heading); display: block; line-height: 1; }
.hero-meta .m span { font-size: .8rem; color: var(--c-muted); letter-spacing: .08em; text-transform: uppercase; }

/* ===========================  RUOKALISTA (oikea menu-lista, ei kortteja)  ============================ */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); }
@media (max-width: 760px) { .menu { grid-template-columns: 1fr; gap: 8px; } }
.menu-cat { font-family: var(--font-display); font-style: italic; color: var(--c-primary); font-size: 1.15rem; margin: 0 0 8px; }
.menu-col > .menu-cat:not(:first-child) { margin-top: 36px; }
.menu-item { padding: 15px 0; border-bottom: 1px solid var(--c-border); }
.menu-item:last-child { border-bottom: 0; }
.mi-head { display: flex; align-items: baseline; gap: 12px; }
.mi-name { font-family: var(--font-display); font-size: 1.18rem; color: var(--c-heading); }
.mi-dots { flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--c-muted) 55%, transparent); position: relative; top: -5px; }
.mi-price { font-family: var(--font-display); color: var(--c-primary); font-size: 1.12rem; white-space: nowrap; }
.mi-desc { color: var(--c-muted); font-size: .92rem; margin-top: 4px; max-width: 46ch; }

/* ===========================  EDITORIAALINEN LAUSUNTO + TILASTOPALKKI + KUVAKAISTA  ============================ */
.statement { max-width: 880px; margin-inline: auto; text-align: center; }
.statement h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.statement .lead { margin-inline: auto; }
.stat-strip { display: flex; justify-content: center; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 52px); border-block: 1px solid var(--c-border); }
.stat-strip .s { padding: 26px clamp(24px, 4vw, 50px); text-align: center; border-right: 1px solid var(--c-border); }
.stat-strip .s:last-child { border-right: 0; }
.stat-strip b { display: block; font-family: var(--font-display); color: var(--c-primary); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; }
.stat-strip span { font-size: .84rem; color: var(--c-muted); }
.band-img { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--r-lg); overflow: hidden; height: clamp(240px, 40vw, 460px); }
.band-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===========================  AIKAJANA (gold-viiva)  ============================ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); position: relative; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; top: 19px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c-primary) 50%, transparent), transparent); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; } .timeline::before { display: none; } }
.tl { position: relative; padding-top: 56px; }
.tl::before { content: counter(tl); counter-increment: tl; position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--c-bg); border: 1px solid color-mix(in srgb, var(--c-primary) 50%, var(--c-border)); color: var(--c-primary); font-family: var(--font-display); display: grid; place-items: center; }
.tl h3 { font-size: 1.12rem; margin-bottom: 6px; }
.tl p { color: var(--c-text); font-size: .93rem; }

/* ===========================  MOSAIIKKI-GALLERIA  ============================ */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.mosaic .g { position: relative; overflow: hidden; border-radius: var(--r); margin: 0; }
.mosaic .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic .g.big { grid-column: span 2; grid-row: span 2; }
.mosaic .g.tall { grid-row: span 2; }
@media (hover: hover) { .mosaic .g:hover img { transform: scale(1.06); } }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(6,7,10,.86)); font-weight: 600; font-size: .9rem; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .mosaic .g.big { grid-column: span 2; grid-row: span 1; } .mosaic .g.tall { grid-row: span 1; } }

/* ===========================  NOSTOLAINAUS  ============================ */
.feature-quote { max-width: 920px; margin-inline: auto; text-align: center; }
.feature-quote .mark { font-family: var(--font-display); color: var(--c-primary); font-size: 4.5rem; line-height: .4; display: block; }
.feature-quote blockquote { margin: 22px 0 26px; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3.3vw, 2.5rem); color: var(--c-heading); line-height: 1.3; }
.feature-quote .cite { color: var(--c-muted); font-size: .96rem; }
.feature-quote .cite b { color: var(--c-heading); font-family: var(--font-body); font-weight: 700; }

/* ===========================  MENUT (3 saraketta, kulta-jakajat, ei laatikoita)  ============================ */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.cols3 .c { padding: 8px clamp(22px, 3vw, 44px); border-left: 1px solid var(--c-border); }
.cols3 .c:first-child { border-left: 0; padding-left: 0; }
.cols3 .c h3 { margin-bottom: 4px; }
.cols3 .c .price { font-family: var(--font-display); color: var(--c-primary); font-size: 1.7rem; margin: 6px 0 12px; }
.cols3 .c p { color: var(--c-muted); font-size: .95rem; }
.cols3 .c .tlink { margin-top: 14px; }
@media (max-width: 760px) { .cols3 { grid-template-columns: 1fr; } .cols3 .c { border-left: 0; padding-left: 0; padding-block: 24px; border-top: 1px solid var(--c-border); } .cols3 .c:first-child { border-top: 0; padding-top: 0; } }

/* ===========================  CTA — KOKO LEVEYDEN KUVABANNERI  ============================ */
.cta-photo { position: relative; overflow: hidden; padding-block: clamp(76px, 11vw, 150px); text-align: center; }
.cta-photo .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-photo .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo .cta-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(85% 130% at 50% 50%, rgba(8,9,12,.5), rgba(8,9,12,.86)); }
.cta-photo .wrap { position: relative; z-index: 2; }
.cta-photo .eyebrow { color: var(--c-primary); justify-content: center; }
.cta-photo h2 { color: #fff; }
.cta-photo p { color: rgba(255,255,255,.85); margin-inline: auto; }
.cta-photo .hero-cta { justify-content: center; margin-top: 26px; }

/* ===========================  TRUST  ============================ */
.trust { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.trust-in { display: flex; align-items: center; gap: clamp(18px, 4vw, 50px); padding-block: 22px; flex-wrap: wrap; justify-content: center; }
.trust-in .t { display: flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 600; font-size: .95rem; }
.trust-in .t svg { color: var(--c-primary); flex: none; }

/* ===========================  PALVELUKORTIT  ============================ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }   /* 5 palvelua → 3 + 2 */
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 34px 32px;
  transition: transform .2s ease, box-shadow .26s ease, border-color .2s; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--c-text); margin-bottom: 0; font-size: .97rem; }
.card .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: color-mix(in srgb, var(--c-primary) 14%, transparent); color: var(--c-primary); border: 1px solid color-mix(in srgb, var(--c-primary) 24%, transparent); }
.card .tlink { justify-content: flex-start; margin-top: 18px; }
@media (hover: hover) { .card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c-primary) 45%, var(--c-border)); box-shadow: var(--shadow); } }
@media (max-width: 860px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards-3 { grid-template-columns: 1fr; } }

/* ===========================  MEISTÄ + LUVUT  ============================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--r-lg); }
.about-media::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3rem); color: var(--c-primary); display: block; line-height: 1; }
.stat span { font-size: .86rem; color: var(--c-muted); }

/* ===========================  PROSESSI / VAIHEET  ============================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--c-border); }
.step::before { content: counter(step); counter-increment: step;
  font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--c-primary);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; line-height: 1; margin-bottom: 14px;
  background: color-mix(in srgb, var(--c-primary) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c-primary) 26%, transparent); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--c-muted); font-size: .95rem; }

/* ===========================  GALLERIA  ============================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .g { margin: 0; overflow: hidden; display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (hover: hover) { .gallery .g:hover img { transform: scale(1.06); } }
.gallery .g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(6,7,10,.86)); font-weight: 600; font-size: .92rem; }

/* ===========================  REFERENSSIT (ei tähtiä)  ============================ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.quote { margin: 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px; }
.quote::before { content: "\201C"; font-family: var(--font-display); color: var(--c-primary); font-size: 3rem; line-height: .6; display: block; margin-bottom: 10px; }
.quote p { font-size: 1.06rem; color: var(--c-heading); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who .av { width: 46px; height: 46px; object-fit: cover; border-radius: var(--r-pill); }
.quote .who b { display: block; font-size: .96rem; color: var(--c-heading); font-family: var(--font-body); font-weight: 700; }
.quote .who span { font-size: .85rem; color: var(--c-muted); }

/* ===========================  HINNASTO / MENU-PAKETIT  ============================ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: var(--gap); }
.plan { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: color-mix(in srgb, var(--c-primary) 55%, var(--c-border)); box-shadow: var(--glow); position: relative; }
.plan.featured .tag { position: absolute; top: 18px; right: 18px; background: var(--c-primary); color: var(--c-on-primary); font-size: .72rem; font-weight: 700; padding: 6px 13px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .05em; }
.plan h3 { margin-bottom: 4px; }
.plan .price { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; color: var(--c-heading); line-height: 1; margin: 10px 0; }
.plan .price small { font-size: .9rem; color: var(--c-muted); font-family: var(--font-body); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: .96rem; color: var(--c-text); }
.plan li svg { color: var(--c-primary); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.featured .btn-ghost { border-color: var(--c-primary); color: var(--c-primary); }
@media (hover: hover) { .plan.featured .btn-ghost:hover { background: var(--c-primary); color: var(--c-on-primary); } }

/* ===========================  FAQ  ============================ */
.faq { max-width: 840px; margin-inline: auto; }
.faq details { border: 1px solid var(--c-border); border-radius: var(--r); margin-bottom: 12px; background: var(--c-surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 24px; position: relative; font-family: var(--font-display); font-weight: 500; font-size: 1.14rem; color: var(--c-heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 1.6rem; color: var(--c-primary); transition: rotate .2s; line-height: 1; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details[open] summary { color: var(--c-primary); }
.faq .a { padding: 0 24px 22px; color: var(--c-text); }
.faq .a p { margin: 0; }

/* ===========================  CTA  ============================ */
.cta-band { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 80px); background: var(--c-dark); border: 1px solid var(--c-border); border-radius: var(--r-lg); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 130% at 50% 0%, color-mix(in srgb, var(--c-primary) 22%, transparent), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--c-heading); }
.cta-band p { color: var(--c-text); margin-inline: auto; }
.cta-band .hero-cta { margin-top: 26px; justify-content: center; }

/* ===========================  YHTEYS + LOMAKE  ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); }
.contact-info .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.contact-info .row svg { color: var(--c-primary); flex: none; margin-top: 3px; }
.contact-info .row b { display: block; font-size: .95rem; color: var(--c-heading); }
.contact-info .row span { color: var(--c-text); }
.contact-info .map { margin-top: 22px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-border); filter: grayscale(.3) brightness(.85); }
.contact-info .map iframe { width: 100%; height: 220px; border: 0; display: block; }

.form { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 38px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--c-heading); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 14px 15px; border: 1.5px solid var(--c-border); border-radius: var(--r); background: var(--c-bg); color: var(--c-heading); font: inherit; font-size: 16px; transition: border-color .16s, box-shadow .16s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 22%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* lomakkeen lähetä-painike: hillitty glow, ettei se leviä alapuolisen pikkutekstin päälle */
.form .btn-primary { box-shadow: 0 8px 20px -16px color-mix(in srgb, var(--c-primary) 55%, transparent); }
@media (hover: hover) { .form .btn-primary:hover { box-shadow: 0 10px 22px -16px color-mix(in srgb, var(--c-primary) 60%, transparent); } }
.form-note { font-size: .85rem; color: var(--c-muted); margin-top: 16px; position: relative; z-index: 1; }
.form-msg { margin-top: 14px; font-weight: 600; display: none; position: relative; z-index: 1; }
.form-msg.ok { display: block; color: #4ade80; }
.form-msg.err { display: block; color: #f87171; }

/* ===========================  REVEAL POISTETTU  ============================ */
.reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }

/* ===========================  RESPONSIIVISUUS  ============================ */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-inner .eyebrow { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 0; }
  .hero-inner { padding-block-start: 100px; padding-block-end: 56px; }
  .stats { gap: 14px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-meta .m { border-right: 0; padding-right: 0; margin-right: 20px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta .btn, .cta-band .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}
