/* ---------------------------------------------------------------------------
   Aazet Plus: tilaus-/tarjouslomake ja yhteystiedot (demon styles.css:stä,
   rajattu kääreeseen .aazet-plus-sisalto). Fontti periytyy sivustolta;
   värit ovat samat kuin demossa (mitattu aazet.fi:stä 30.9.2026).
   Divin oletukset (p-pehmusteet, listat, lomakekentät) nollataan kääreen sisällä.
   --------------------------------------------------------------------------- */
.aazet-plus-sisalto {
  --c-bg: #F5F3ED; --c-surface: #FFFFFF; --c-text: #2A2A2A; --c-heading: #1D1D1D; --c-muted: #6B665E;
  --c-border: #E3DCD2; --c-primary: #8F6540; --c-primary-2: #75512F; --c-gold: #A8794C;
  --c-ok: #2E7D52; --c-err: #B3261E; --r-sm: 2px;
  color: var(--c-text); line-height: 1.6; font-size: 1rem;
  box-sizing: border-box; max-width: 1140px; margin-inline: auto;
}
.aazet-plus-sisalto *, .aazet-plus-sisalto *::before, .aazet-plus-sisalto *::after { box-sizing: border-box; }
.aazet-plus-sisalto p { margin: 0; padding: 0; }
.aazet-plus-sisalto a { color: var(--c-primary-2); text-decoration: underline; text-underline-offset: 3px; }
.aazet-plus-sisalto a:hover { color: var(--c-primary); }
.aazet-plus-sisalto :focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

/* ---------- painikkeet ---------- */
.aazet-plus-sisalto .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: var(--r-sm); font-family: inherit; font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; min-height: 50px; transition: background .25s, color .25s, border-color .25s; }
.aazet-plus-sisalto .btn-primary { background: var(--c-primary); color: #fff; }
.aazet-plus-sisalto .btn-primary:hover { background: var(--c-primary-2); color: #fff; }
.aazet-plus-sisalto .btn-outline { background: transparent; color: var(--c-heading); border-color: var(--c-heading); }
.aazet-plus-sisalto .btn-outline:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.aazet-plus-sisalto .btn[disabled] { opacity: .7; cursor: wait; }
.aazet-plus-sisalto .btn-laheta { width: 100%; }

/* ---------- lomake ---------- */
.aazet-lomake .form { background: var(--c-surface); border: 1px solid var(--c-border); padding: clamp(26px, 3vw, 40px); max-width: 860px; margin-inline: auto; }
.aazet-lomake .f-ryhma { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.aazet-lomake .f-ryhma legend { font-weight: 700; font-size: 1.02rem; color: var(--c-heading); padding: 0 0 10px; margin-bottom: 16px; width: 100%; border-bottom: 1px solid var(--c-border); }
.aazet-lomake .f-ryhma[hidden], .aazet-lomake .check-group[hidden] { display: none; }
.aazet-lomake .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.aazet-lomake .field { margin-bottom: 18px; }
.aazet-lomake .field label { display: block; font-size: .9rem; line-height: 1.4; font-weight: 700; color: var(--c-heading); margin-bottom: 8px; }
.aazet-lomake .field input, .aazet-lomake .field textarea, .aazet-lomake .field select { width: 100%; font: inherit; font-size: 16px; color: var(--c-heading); background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: 13px 15px; margin: 0; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.aazet-lomake .field input::placeholder, .aazet-lomake .field textarea::placeholder { color: var(--c-muted); }
.aazet-lomake .field input:focus, .aazet-lomake .field textarea:focus, .aazet-lomake .field select:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(168, 121, 76, .18); }
.aazet-lomake .field textarea { min-height: 120px; resize: vertical; }
.aazet-lomake .field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.aazet-lomake .field-vihje { font-size: .88rem; color: var(--c-muted); margin: 10px 0 0; }
.aazet-lomake .check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.aazet-lomake .check-group label { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--c-border); background: var(--c-bg); padding: 11px 16px; border-radius: var(--r-sm); cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--c-heading); margin: 0; }
.aazet-lomake .check-group label:has(input:checked) { border-color: var(--c-primary); background: #F4ECE6; }
.aazet-lomake .check-group input { width: 18px; height: 18px; accent-color: var(--c-primary); margin: 0; flex: none; }
.aazet-lomake .check-group--yksi { margin-bottom: 18px; }
.aazet-lomake .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.aazet-lomake .form-note { font-size: .82rem; color: var(--c-muted); margin: 12px 0 0; }
.aazet-lomake .form-msg { margin: 12px 0 0; font-weight: 700; }
.aazet-lomake .form-msg:empty { display: none; }
.aazet-lomake .form-msg.ok { color: var(--c-ok); }
.aazet-lomake .form-msg.err { color: var(--c-err); }

/* liitteet */
.aazet-lomake .file-drop { position: relative; border: 1px dashed #C9BFB1; background: var(--c-bg); padding: 22px; text-align: center; border-radius: var(--r-sm); transition: border-color .2s, background .2s; }
.aazet-lomake .file-drop--over { border-color: var(--c-primary); background: #F4ECE6; }
.aazet-lomake .file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.aazet-lomake .file-input:focus-visible + .file-btn { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.aazet-lomake .file-btn { cursor: pointer; margin: 0; }
.aazet-lomake .file-hint { font-size: .86rem; color: var(--c-muted); margin: 12px 0 0; }
.aazet-lomake .file-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; text-align: left; }
.aazet-lomake .file-list:empty { display: none; }
.aazet-lomake .file-chip { display: flex; align-items: center; gap: 12px; background: var(--c-surface); border: 1px solid var(--c-border); padding: 8px 10px 8px 14px; border-radius: var(--r-sm); font-size: .92rem; margin: 0; }
.aazet-lomake .file-chip-name { flex: 1; overflow-wrap: anywhere; color: var(--c-heading); font-weight: 600; }
.aazet-lomake .file-chip-size { color: var(--c-muted); white-space: nowrap; }
.aazet-lomake .file-chip-rm { border: 0; background: transparent; font: inherit; font-size: 1.3rem; line-height: 1; color: var(--c-muted); cursor: pointer; padding: 2px 6px; }
.aazet-lomake .file-chip-rm:hover { color: var(--c-err); }
.aazet-lomake .file-error { color: var(--c-err); font-weight: 700; font-size: .9rem; margin: 10px 0 0; }
.aazet-lomake .file-error:empty { display: none; }

@media (max-width: 640px) {
  .aazet-lomake .form-row { grid-template-columns: 1fr; }
  .aazet-lomake .check-group label { flex: 1 1 calc(50% - 5px); }
  .aazet-lomake .check-group--yksi label { flex-basis: 100%; }
}

/* ---------- yhteystiedot ---------- */
.aazet-yhteys .sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); }
.aazet-yhteys h1 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-heading); line-height: 1.25; margin: 0 0 14px; padding: 0; }
.aazet-yhteys .lead { color: var(--c-muted); font-size: 1.05rem; }
.aazet-yhteys .contact-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(30px, 4vw, 48px); align-items: start; }
.aazet-yhteys .pikkuotsikko { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold); font-weight: 700; margin: 0 0 18px; padding: 0; line-height: 1.4; }
.aazet-yhteys .henkilo { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--c-border); }
.aazet-yhteys .henkilo b { display: block; color: var(--c-heading); font-size: 1.02rem; }
.aazet-yhteys .henkilo span { display: block; color: var(--c-muted); font-size: .92rem; margin: 2px 0 4px; }
.aazet-yhteys .henkilo a, .aazet-yhteys .laskutus dd a { overflow-wrap: anywhere; }
.aazet-yhteys .rekry { margin-top: 30px; }
.aazet-yhteys .contact-info .row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--c-border); }
.aazet-yhteys .contact-info .row:last-of-type { border-bottom: 0; }
.aazet-yhteys .contact-info .row svg { flex: none; color: var(--c-gold); margin-top: 3px; }
.aazet-yhteys .contact-info .row b { display: block; color: var(--c-heading); font-size: 1.1rem; }
.aazet-yhteys .contact-info .row span { color: var(--c-muted); }
.aazet-yhteys .laskutus { margin: 0 0 20px; padding: 0; }
.aazet-yhteys .laskutus dt { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); margin-top: 10px; font-weight: 400; }
.aazet-yhteys .laskutus dd { margin: 0; padding: 0; color: var(--c-heading); overflow-wrap: anywhere; }
.aazet-yhteys .map { margin-top: 8px; border: 1px solid var(--c-border); background: var(--c-surface); min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; text-align: center; }
.aazet-yhteys .map--auki { padding: 0; display: block; }
.aazet-yhteys .map iframe { width: 100%; height: 240px; border: 0; display: block; }
.aazet-yhteys .map-btn { min-height: 44px; padding: 10px 20px; }
.aazet-yhteys .map-link { font-size: .88rem; }
.aazet-yhteys .map--auki .map-link { display: block; padding: 8px 12px; }
@media (max-width: 1000px) { .aazet-yhteys .contact-grid { grid-template-columns: 1fr; } }
