/* HARMAX SERVICE – terviklik Voogi kujundus CSS v5.9
   Põhineb v5.8 kujundusel: avaleht, teenused, ettevõttest,
   kontakt, arveldusandmed ja toetused koos Euroopa Liidu logodega.
   v5.9: Sisulehe sisu- ja alammenüüplokkide keskjoondus.
   Kõik sisuelemendid jäävad vasakjoondusse ja mobiilis täislaiusesse.
*/
/* HARMAX SERVICE / custom Voog theme / 2026
   Main brand values: graphite, slate, electric ice blue.
   Adapt variables below to change the look of the whole site. */
:root {
  --ink: #131d28;
  --ink-2: #1c2a39;
  --slate: #536479;
  --line: #dce3e8;
  --cloud: #f5f7f8;
  --paper: #ffffff;
  --blue: #97d5fa;
  --aqua: #c7edff;
  --text: #1a2938;
  --muted: #647284;
  --radius-lg: 26px;
  --radius-md: 18px;
  --content-width: 1260px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #fff; color: var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #438bbd; outline-offset: 3px; }
.hm-wrap { width: min(var(--content-width), calc(100% - 64px)); margin-inline: auto; }
.hm-skip { position: absolute; left: 14px; top: -80px; z-index: 300; padding: 12px 18px; background: #fff; color: #111; }
.hm-skip:focus { top: 12px; }
.hm-navrow { background: #fff; position: relative; z-index: 30; }
.hm-navrow__in { min-height: 100px; display: flex; align-items: center; gap: 30px; }
.hm-brand { flex: 0 0 auto; display: inline-flex; align-items: center; width: 204px; }
.hm-brand img { width: 100%; height: auto; }
.hm-nav { margin-left: auto; }
.hm-nav__list { padding: 0; margin: 0; display: flex; align-items: center; gap: 30px; list-style: none; }
.hm-nav__list li { list-style: none; }
.hm-nav__list a { color: #354456; font-size: 13px; font-weight: 750; letter-spacing: -.01em; transition: color .2s ease; }
.hm-nav__list a:hover, .hm-nav__list .active a, .hm-nav__list .selected a { color: #216fa6; }
.hm-navcall { min-height: 46px; padding: 0 19px; border: 1px solid var(--ink); background: var(--ink); color: #fff; display: inline-flex; align-items: center; gap: 12px; font-weight: 750; font-size: 13px; white-space: nowrap; border-radius: 8px; transition: background .2s, transform .2s; }
.hm-navcall:hover { background: #293f52; transform: translateY(-1px); }
.hm-navcall svg, .hm-button svg, .hm-card__arrow svg { width: 17px; height: 17px; }
.hm-menu-toggle { display: none; }
.hm-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 515px; background: linear-gradient(122deg, #131e2a 4%, #192a3b 52%, #22374a 100%); color: #fff; border-radius: var(--radius-lg); display: grid; grid-template-columns: minmax(0,54%) minmax(0,46%); }
.hm-hero:before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 79% 62%, rgba(101,154,202,.19), transparent 37%), linear-gradient(125deg, transparent 32%, rgba(255,255,255,.025) 33%, transparent 34%); z-index: -1; }
.hm-hero__body { padding: 60px 20px 45px 66px; min-width: 0; position: relative; z-index: 2; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 13px; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; color: #93a7ba; }
.hm-eyebrow:before { content: ""; display: inline-block; width: 25px; height: 2px; background: #79c7f4; }
.hm-hero .hm-eyebrow { color: #afc7da; }
.hm-hero h1 { font-size: clamp(53px, 5.5vw, 82px); line-height: 1.025; letter-spacing: -.058em; font-weight: 620; margin: 20px 0 17px; max-width: 650px; }
.hm-hero h1 span { display: block; }
.hm-hero h1 span.hm-hero__light { color: var(--aqua); }
.hm-hero__lead { font-size: 16px; line-height: 1.65; font-weight: 400; color: #bac7d3; max-width: 460px; margin: 0; }
.hm-hero__actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hm-button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; gap: 17px; justify-content: center; border-radius: 8px; font-size: 14px; font-weight: 780; transition: transform .2s, background .2s; }
.hm-button:hover { transform: translateY(-2px); }
.hm-button--light { background: #bfe7fb; color: #142536; }
.hm-button--light:hover { background: #e1f4ff; }
.hm-button--outline { border: 1px solid rgba(255,255,255,.34); color: #fff; }
.hm-button--outline:hover { background: rgba(255,255,255,.08); }
.hm-hero__art { align-self: end; position: relative; z-index: 1; width: 100%; min-width: 0; padding: 0 12px 18px 0; margin: 0; pointer-events: none; }
.hm-hero__art img { display: block; width: 100%; height: auto; max-width: 100%; min-width: 0; object-fit: contain; filter: saturate(.92); }
.hm-hero__num { position: absolute; right: 56px; bottom: 53px; font-size: 11px; color: #7893ab; letter-spacing: .16em; text-transform: uppercase; }
.hm-eu-badge { position: absolute; right: 28px; top: 25px; z-index: 6; background: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 9px; width: 244px; padding: 8px 13px; box-shadow: 0 12px 35px rgba(3,17,29,.16); }
.hm-eu-badge img { width: 100%; height: auto; }
.hm-section { padding-top: 44px; padding-bottom: 100px; }
.hm-section__heading { display: flex; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: 34px; }
.hm-section__heading h2, .hm-contact h2 { margin: 18px 0 0; font-size: clamp(35px, 4.1vw, 58px); letter-spacing: -.052em; line-height: 1.1; color: #1d2a37; font-weight: 790; }
.hm-section__heading p { color: #718090; line-height: 1.65; max-width: 370px; margin: 0 0 5px; font-size: 15px; }
.hm-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.hm-service { min-height: 225px; display: flex; flex-direction: column; justify-content: space-between; background: #f3f6f8; border: 1px solid #edf0f2; border-radius: 16px; padding: 25px 27px 26px; transition: transform .22s, box-shadow .22s, background .22s; position: relative; overflow: hidden; }
.hm-service:hover { transform: translateY(-4px); box-shadow: 0 13px 30px rgba(24,53,76,.09); background: #ebf3f8; }
.hm-service__top { display: flex; align-items: start; justify-content: space-between; }
.hm-service__nr { font-size: 12px; font-weight: 800; color: #7790a5; letter-spacing: .08em; }
.hm-card__arrow { width: 35px; height: 35px; border: 1px solid #d9e4ea; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #45627b; }
.hm-service h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.035em; max-width: 250px; color: #213245; margin: 35px 0 0; font-weight: 765; }
.hm-service__full { background: #21364a; border-color: #21364a; }
.hm-service__full:hover { background: #2a455d; }
.hm-service__full .hm-service__nr, .hm-service__full h3 { color: #fff; }
.hm-service__full .hm-card__arrow { border-color: rgba(255,255,255,.36); color: #fff; }
.hm-service__more { background: #e7f2f8; border-color: #e7f2f8; }
.hm-service__more:hover { background: #d7eaf5; }
.hm-extra { padding: 0 0 52px; }
.hm-extra:empty { display: none; }
.hm-contact { background: var(--cloud); padding-top: 84px; padding-bottom: 89px; }
.hm-contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.hm-contact h2 { margin-bottom: 22px; }
.hm-contact__lead { font-size: 16px; line-height: 1.76; color: #667486; max-width: 540px; }
.hm-contact__buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 29px; }
.hm-button--dark { background: #1a2a3a; color: #fff; }
.hm-button--dark:hover { background: #344c60; }
.hm-button--text { color: #233a4d; padding-inline: 5px; }
.hm-contact__panel { background: #fff; padding: 38px; border-radius: 18px; border: 1px solid #e7ecef; box-shadow: 0 20px 45px rgba(20,45,62,.035); }
.hm-contact__panelhead { font-size: 11px; letter-spacing: .16em; color: #8592a0; font-weight: 800; margin-bottom: 25px; text-transform: uppercase; }
.hm-contact__line { display: grid; grid-template-columns: 100px 1fr; align-items: start; gap: 18px; padding: 15px 0; border-top: 1px solid #ecf0f3; font-size: 14px; }
.hm-contact__line span { color: #748191; }
.hm-contact__line strong { font-weight: 750; color: #233245; }
.hm-footer { background: #142230; color: #a6b6c5; padding: 66px 0 22px; }
.hm-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 70px; padding-bottom: 58px; }
.hm-footer__mark { display: inline-flex; background: #fff; padding: 12px 15px 9px; border-radius: 7px; width: 192px; }
.hm-footer__mark img { width: 100%; height: auto; }
.hm-footer__statement { margin-top: 22px; font-size: 13px; line-height: 1.85; max-width: 255px; }
.hm-footer h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; margin: 6px 0 22px; color: #f2f8fc; }
.hm-footer p, .hm-footer a { font-size: 13px; line-height: 2; }
.hm-footer a:hover { color: #fff; }
.hm-footer__links { display: grid; justify-items: start; gap: 4px; }
.hm-footer__bottom { border-top: 1px solid #344555; padding-top: 20px; display: flex; justify-content: space-between; gap: 18px; font-size: 11px; }
.hm-footer__editable { margin-top: 12px; }
/* Inner page: existing Voog body content remains editable. */
.hm-inner-hero { margin-bottom: 62px; position: relative; background: #172637; min-height: 245px; overflow: hidden; border-radius: var(--radius-lg); color: #fff; padding: 63px 74px; }
.hm-inner-hero:after { content: ""; position: absolute; right: 260px; bottom: -150px; width: 390px; height: 390px; border: 1px solid rgba(186,219,242,.14); border-radius: 50%; box-shadow: 0 0 0 100px rgba(119,175,212,.035); }
.hm-inner-hero .hm-eyebrow { color: #a6c9dc; }
.hm-inner-hero h1 { font-size: clamp(44px,5vw,70px); line-height: 1.05; letter-spacing: -.055em; max-width: 780px; margin: 24px 0 0; position: relative; z-index: 2; }
.hm-inner-hero .hm-eu-badge { width: 218px; top: 22px; right: 23px; }
.hm-inner-content { padding-bottom: 105px; min-height: 340px; }
/* Sisulehtede keskjoondus: kastid ja toimetatav sisu on keskelt tasakaalus. */
.hm-inner-content__body {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.78;
  color: #344153;
}
.hm-inner-content__body h2, .hm-inner-content__body h3 { color: #1b2b3c; line-height: 1.18; letter-spacing: -.035em; }
.hm-inner-content__body h2 { font-size: clamp(28px,3.8vw,42px); margin: 0 0 26px; }
.hm-inner-content__body h3 { font-size: 24px; margin-top: 36px; }
.hm-inner-content__body a:not(.hm-button) { color: #2676a9; text-decoration: underline; text-underline-offset: 3px; }
.hm-inner-content__body img { border-radius: 12px; max-width: 100%; height: auto; }
.hm-inner-content__body table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.hm-inner-content__body td, .hm-inner-content__body th { border-bottom: 1px solid #dfe5e8; padding: 16px 18px; text-align: left; }
.hm-inner-content__body tr:nth-child(odd) { background: #f5f8fa; }
.hm-inner-content__body form { max-width: 760px; }
.hm-inner-content__body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .hm-inner-content__body textarea, .hm-inner-content__body select { width: 100%; min-height: 49px; border: 1px solid #cbd6de; background: #fff; padding: 12px 14px; border-radius: 8px; }
.hm-inner-content__body textarea { min-height: 126px; }
.hm-inner-content__body button, .hm-inner-content__body input[type="submit"] { border: 0; border-radius: 8px; background: #243a4f; color: #fff; padding: 13px 24px; }
.hm-inner-content__body label { font-weight: 680; }
.hm-submenu {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 32px;
}
.hm-submenu ul { margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.hm-submenu li { list-style: none; }
.hm-submenu a { display: inline-block; font-size: 13px; border-radius: 8px; border: 1px solid #dfe8ee; padding: 9px 15px; color: #486177; }
.hm-submenu a:hover { background: #eef4f8; }
@media (max-width: 1120px) {
 .hm-wrap { width: min(var(--content-width), calc(100% - 46px)); }
 .hm-navrow__in { gap: 20px; }
 .hm-brand { width: 180px; }
 .hm-nav__list { gap: 19px; }
 .hm-hero { min-height: 490px; grid-template-columns: minmax(0,57%) minmax(0,43%); }
 .hm-hero__body { padding: 59px 18px 42px 46px; }
 .hm-hero h1 { font-size: clamp(49px,5.8vw,72px); }
 .hm-hero__art { margin: 0; padding: 0 8px 17px 0; }
 .hm-hero__art img { min-width: 0; }
 .hm-eu-badge { width: 207px; }
}
@media (max-width: 800px) {
 .hm-topbar__right { gap: 15px; }
 .hm-navrow__in { min-height: 78px; }
 .hm-brand { width: 170px; }
 .hm-navcall { margin-left: auto; font-size: 12px; padding-inline: 12px; }
 .hm-menu-toggle { display: flex; flex: 0 0 auto; width: 46px; height: 46px; border: 1px solid #dae3e9; background: #fff; border-radius: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
 .hm-menu-toggle span { width: 20px; height: 2px; background: #172738; display: block; }
 .hm-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: white; padding: 18px 23px 22px; box-shadow: 0 12px 20px rgba(12,31,48,.12); border-top: 1px solid #eef2f4; }
 .hm-nav.is-open { display: block; }
 .hm-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
 .hm-nav__list a { display: block; padding: 12px 0; font-size: 15px; }
 .hm-hero { grid-template-columns: minmax(0,1fr); min-height: 0; }
 .hm-hero__body { padding: 145px 36px 0; }
 .hm-hero h1 { font-size: clamp(50px, 8.6vw, 67px); max-width: 620px; margin-top: 18px; }
 .hm-hero__art { width: 94%; margin: 4px auto 0; padding: 0 6px 12px; }
 .hm-hero__art img { min-width: 0; width: 100%; }
 .hm-hero__fineprint { margin-top: 32px; }
 .hm-hero__num { bottom: 30px; }
 .hm-highlights { grid-template-columns: 1fr 1fr; }
 .hm-highlights__item:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
 .hm-section { padding-top: 40px; padding-bottom: 74px; }
 .hm-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .hm-contact__grid { gap: 36px; }
 .hm-footer__grid { gap: 25px; }
 .hm-inner-hero { padding: 68px 40px; }
}
@media (max-width: 570px) {
 .hm-wrap { width: calc(100% - 28px); }
 .hm-topbar { font-size: 10px; }
 .hm-topbar__in { min-height: 32px; }
 .hm-topbar__right span { display: none; }
 .hm-topbar__right { font-size: 11px; }
 .hm-navrow__in { min-height: 76px; gap: 10px; }
 .hm-brand { width: 151px; }
 .hm-navcall { display: none; }
 .hm-menu-toggle { margin-left: auto; }
 .hm-hero { border-radius: 17px; }
 .hm-eu-badge { top: 18px; right: 17px; width: 162px; padding: 5px 9px; }
 .hm-hero__body { padding: 132px 24px 0; }
 .hm-hero h1 { font-size: clamp(44px, 10.8vw, 58px); margin: 16px 0 16px; letter-spacing: -.055em; }
 .hm-hero__lead { font-size: 15px; line-height: 1.65; }
 .hm-hero__actions { gap: 9px; }
 .hm-button { min-height: 49px; padding-inline: 15px; font-size: 12px; gap: 9px; }
 .hm-hero__fineprint { font-size: 11px; margin-top: 34px; gap: 12px; }
 .hm-hero__art { width: 100%; margin: 6px 0 0; padding: 0 0 10px; }
 .hm-hero__num { display: none; }
 .hm-highlights { grid-template-columns: 1fr; }
 .hm-highlights__item { padding: 19px 9px !important; border-left: 0 !important; border-top: 1px solid var(--line); }
 .hm-highlights__item:first-child { border-top: 0; }
 .hm-iconbox { width: 42px; height: 42px; }
 .hm-section { padding-top: 30px; padding-bottom: 62px; }
 .hm-section__heading { display: block; }
 .hm-section__heading h2, .hm-contact h2 { font-size: 39px; }
 .hm-section__heading p { margin-top: 15px; }
 .hm-service-grid { grid-template-columns: 1fr; gap: 11px; }
 .hm-service { min-height: 175px; padding: 23px; }
 .hm-service h3 { margin-top: 24px; font-size: 23px; }
 .hm-contact { padding-block: 61px; }
 .hm-contact__grid { grid-template-columns: 1fr; gap: 27px; }
 .hm-contact__panel { padding: 25px; }
 .hm-contact__line { grid-template-columns: 85px 1fr; gap: 10px; font-size: 13px; }
 .hm-footer { padding-top: 55px; }
 .hm-footer__grid { grid-template-columns: 1fr 1fr; gap: 31px 16px; }
 .hm-footer__grid > div:first-child { grid-column: 1 / -1; }
 .hm-footer__bottom { flex-direction: column; }
 .hm-inner-hero { min-height: 245px; padding: 161px 24px 38px; border-radius: 17px; }
 .hm-inner-hero h1 { font-size: 41px; }
 .hm-inner-hero .hm-eu-badge { right: 17px; top: 15px; width: 157px; }
 .hm-inner-content { padding-bottom: 65px; }
 .hm-inner-content__body { font-size: 15px; }
 .hm-inner-content__body td, .hm-inner-content__body th { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }

/* Additional inner-page content blocks for About + Contact previews */
.hm-stack-lg { display: grid; gap: 26px; }
.hm-lead { font-size: 18px; line-height: 1.8; color: #546273; max-width: 860px; }
.hm-about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; margin-top: 34px; }
.hm-panel { background: #f7fafc; border: 1px solid #e4ebf0; border-radius: 18px; padding: 28px; }
.hm-panel h3 { margin-top: 0; }
.hm-checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hm-checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.hm-checklist i { width: 28px; height: 28px; border-radius: 999px; display: inline-grid; place-items: center; background: #dff1fb; color: #21415a; font-style: normal; font-weight: 800; }
.hm-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 12px; }
.hm-fact { background: #fff; border: 1px solid #e4ebf0; border-radius: 16px; padding: 20px; }
.hm-fact strong { display: block; font-size: 30px; line-height: 1; color: #1b2d40; letter-spacing: -.04em; }
.hm-fact span { display: block; margin-top: 8px; color: #677585; font-size: 14px; line-height: 1.5; }
.hm-contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.hm-contact-card { background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%); border: 1px solid #dde6ec; border-radius: 22px; padding: 30px; box-shadow: 0 16px 36px rgba(20,45,62,.05); }
.hm-person { display: grid; grid-template-columns: 118px 1fr; gap: 20px; align-items: center; margin-bottom: 26px; }
.hm-person__photo { width: 118px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 12px 24px rgba(22,37,51,.12); }
.hm-person__role { margin: 0 0 8px; color: #688095; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.hm-person__name { margin: 0; font-size: 34px; line-height: 1.05; letter-spacing: -.04em; color: #192c3d; }
.hm-person__desc { margin: 10px 0 0; color: #687787; font-size: 15px; line-height: 1.7; }
.hm-contact-list { display: grid; gap: 12px; }
.hm-contact-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #e7eef2; }
.hm-contact-item:first-child { border-top: 0; padding-top: 0; }
.hm-contact-item span { color: #6b7a8b; font-size: 14px; }
.hm-contact-item strong { color: #223547; font-size: 15px; line-height: 1.7; }
.hm-note { margin-top: 18px; font-size: 14px; color: #698093; line-height: 1.7; }
@media (max-width: 920px) {
  .hm-about-grid, .hm-contact-grid { grid-template-columns: 1fr; }
  .hm-facts { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .hm-lead { font-size: 16px; }
  .hm-panel, .hm-contact-card { padding: 22px; }
  .hm-facts { grid-template-columns: 1fr; }
  .hm-person { grid-template-columns: 1fr; justify-items: start; }
  .hm-person__name { font-size: 30px; }
  .hm-contact-item { grid-template-columns: 90px 1fr; gap: 10px; }
}

/* v3: pared-down layout and real Voog content snippets */
.hm-footer { padding: 42px 0 22px; }
.hm-footer__simple { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) minmax(0,.8fr); align-items: start; gap: 32px 58px; padding-bottom: 35px; }
.hm-footer__simple .hm-footer__statement { margin-top: 12px; margin-bottom: 0; }
.hm-footer__simple .hm-footer__links { display: grid; align-content: start; justify-items: start; gap: 6px; }
.hm-footer__simple .hm-footer__links a { line-height: 1.7; }
.hm-footer__contact { display: grid; align-content: start; justify-items: start; gap: 5px; color: #b8c8d5; font-size: 13px; line-height: 1.55; }
.hm-footer__contact h3 { color: #eef6fc; margin: 0 0 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.hm-footer__contact .hm-footer__phone { font-size: 19px; font-weight: 740; color: #fff; line-height: 1.4; letter-spacing: -.025em; }
.hm-footer__contact a { overflow-wrap: anywhere; }
.hm-footer__contact a:hover { color: #bfe7fb; }
.hm-footer__bottom { padding-top: 16px; }
.hm-contact--compact { padding: 58px 0 62px; }
.hm-contact__compact { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.hm-contact__compact h2 { font-size: clamp(30px, 3.5vw, 46px); margin-top: 12px; }
.hm-contact__compact .hm-contact__lead { margin: 13px 0 0; }
.hm-contact__compact .hm-button { flex-shrink: 0; }
.hm-about-page, .hm-contact-page { max-width: 1100px; }
.hm-about-intro { max-width: 865px; }
.hm-about-intro h2 { margin: 16px 0 16px; }
.hm-about-intro .hm-lead { margin: 0; }
.hm-about-grid--compact { grid-template-columns: 1fr 1fr; margin-top: 33px; }
.hm-panel--accent { background: #eaf4fa; border-color: #dce9f1; }
.hm-panel--accent .hm-button { margin-top: 8px; }
.hm-contact-page__lead { margin-top: 0; margin-bottom: 26px; }
.hm-contact-card--person { background: #f3f8fb; padding: 32px; }
.hm-contact-card--person .hm-person { grid-template-columns: 132px 1fr; gap: 22px; align-items: center; margin-bottom: 22px; }
.hm-contact-card--person .hm-person__photo { width: 132px; height: 132px; object-fit: cover; object-position: center 33%; border-radius: 50%; }
.hm-contact-card--person .hm-person__role { margin: 0 0 8px; }
.hm-inner-content__body .hm-person__name { font-size: clamp(27px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -.05em; margin: 0 0 8px; }
.hm-person__position { font-size: 15px; line-height: 1.5; margin: 0; font-weight: 650; color: #526b80; }
.hm-person__phone { text-align: center; width: 100%; }
.hm-panel--contact { padding: 32px; }
.hm-inner-content__body .hm-panel--contact h2 { font-size: 22px; margin: 0 0 22px; }
.hm-contact-page .hm-contact-item strong { font-weight: 650; }
@media (max-width: 800px) {
  .hm-contact__compact { align-items: flex-start; flex-direction: column; }
 
}
@media (max-width: 620px) {
  .hm-about-grid--compact { grid-template-columns: 1fr; }
  .hm-footer__simple { grid-template-columns: 1fr; gap: 24px; }
  .hm-footer__simple .hm-footer__links { gap: 7px; }
  .hm-contact-card--person .hm-person { grid-template-columns: 105px 1fr; gap: 16px; }
  .hm-contact-card--person .hm-person__photo { width: 105px; height: 105px; }
  .hm-inner-content__body .hm-person__name { font-size: clamp(24px, 6vw, 33px); }
  .hm-person__position { font-size: 13px; }
  .hm-contact-card--person, .hm-panel--contact { padding: 24px; }
}

/* v4: smaller hero-to-services gap and restored concise footer contacts */
@media (max-width: 970px) and (min-width: 621px) {
  .hm-footer__simple { grid-template-columns: 1.2fr .85fr; gap: 28px; }
  .hm-footer__simple .hm-footer__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; column-gap: 24px; }
}


/* V5 — Compact business and payment details, shown only on Contact page */
.hm-billing { margin-top: 38px; border: 1px solid #dfe8ee; border-radius: 20px; overflow: hidden; background: #fff; scroll-margin-top: 30px; }
.hm-billing__heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding: 30px 30px 24px; border-bottom: 1px solid #e4ebf0; }
.hm-billing__heading .hm-eyebrow { margin-bottom: 12px; }
.hm-inner-content__body .hm-billing__heading h2 { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.16; margin: 0; }
.hm-billing__heading p { margin: 0 0 2px; font-size: 13px; line-height: 1.6; color: #718194; }
.hm-billing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.hm-billing__item { margin: 0; padding: 24px 30px; border-bottom: 1px solid #e7edf1; border-right: 1px solid #e7edf1; min-width: 0; }
.hm-billing__item:nth-child(3), .hm-billing__item:last-child { border-right: 0; }
.hm-billing__item:nth-last-child(-n+2) { border-bottom: 0; }
.hm-billing__item--account { grid-column: span 2; }
.hm-billing__item dt { color: #708091; font-size: 12px; font-weight: 680; margin-bottom: 11px; }
.hm-billing__item dd { margin: 0; color: #253a4d; font-size: 17px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.hm-billing__iban { font-variant-numeric: tabular-nums; user-select: all; }
.hm-footer__bottom .hm-footer__legal-link { font-size: 11px; color: #c1d2df; text-decoration: underline; text-underline-offset: 3px; }
.hm-footer__bottom .hm-footer__legal-link:hover { color: #fff; }
@media (max-width: 800px) {
  .hm-billing__heading { align-items: start; flex-direction: column; gap: 8px; }
  .hm-billing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-billing__item:nth-child(n) { border-bottom: 1px solid #e7edf1; border-right: 1px solid #e7edf1; }
  .hm-billing__item:nth-child(2n), .hm-billing__item:last-child { border-right: 0; }
  .hm-billing__item:last-child { border-bottom: 0; }
  .hm-billing__item--account { grid-column: span 2; }
}
@media (max-width: 570px) {
  .hm-billing { margin-top: 25px; }
  .hm-billing__heading { padding: 22px; }
  .hm-billing__grid { grid-template-columns: 1fr; }
  .hm-billing__item:nth-child(n) { padding: 17px 22px; border-right: 0; border-bottom: 1px solid #e7edf1; }
  .hm-billing__item:last-child { border-bottom: 0; }
  .hm-billing__item--account { grid-column: auto; }
  .hm-billing__item dd { font-size: 16px; }
}


/* Harmax pricing table (used on Teenused ja hinnakiri page) */
.hm-pricing { max-width: 1000px; margin: 0 auto 70px; }
.hm-pricing__intro { margin-bottom: 32px; }
.hm-pricing__eyebrow { color: #7493ad; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.hm-pricing__intro h2 { color: #1c2a39; font-size: clamp(30px,4vw,46px); line-height: 1.15; margin: 18px 0; }
.hm-pricing__intro p { color: #647284; max-width: 620px; line-height: 1.7; }
.hm-pricing__card { background: #f5f7f8; border: 1px solid #e2e8ec; border-radius: 20px; overflow: hidden; }
.hm-inner-content__body .hm-pricing__table { width: 100%; margin: 0; border-collapse: collapse; }
.hm-pricing__table th { background: #eaf0f4; color: #60758b; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-align: left; padding: 22px 28px; }
.hm-inner-content__body .hm-pricing__table td { padding: 23px 28px; border-bottom: 1px solid #e1e7eb; color: #26384a; font-size: 16px; }
.hm-inner-content__body .hm-pricing__table tr { background: transparent; }
.hm-inner-content__body .hm-pricing__table tbody tr:hover { background: #eaf2f7; }
.hm-pricing__table th:last-child, .hm-pricing__table td:last-child { text-align: right; white-space: nowrap; }
.hm-pricing__table td strong { color: #1c354b; font-size: 19px; font-weight: 800; }
.hm-pricing__table tbody tr:last-child td { border-bottom: none; }
.hm-pricing__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; }
.hm-pricing__bottom p { color: #728092; font-size: 14px; max-width: 480px; }
@media (max-width: 600px) {
  .hm-pricing__table th { padding: 16px; }
  .hm-inner-content__body .hm-pricing__table td { padding: 18px 12px; font-size: 14px; }
  .hm-pricing__table td strong { font-size: 16px; }
  .hm-pricing__bottom { flex-direction: column; align-items: flex-start; }
}

/* HARMAX V5.7 — Toetused page; do not place these rules inside HTML. */
.hm-grant {
  max-width: 1080px;
  margin: 0 auto 28px;
}
.hm-grant__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(285px, 0.65fr);
  border: 1px solid #e0e8ee;
  border-radius: 22px;
  overflow: hidden;
  background: #f6f9fb;
}
.hm-grant__main {
  min-width: 0;
  padding: 42px 44px 40px;
}
.hm-grant__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6e90a9;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .15em;
  line-height: 1.45;
  margin: 0 0 19px;
}
.hm-grant__eyebrow::before {
  content: "";
  display: block;
  width: 27px;
  height: 3px;
  flex: 0 0 27px;
  background: #94d4f7;
}
.hm-inner-content__body .hm-grant__title {
  font-size: clamp(31px, 3.5vw, 45px);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: 1.13;
  margin: 0 0 22px;
  color: #203247;
}
.hm-grant__lead {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
  color: #506376;
}
.hm-grant__credit {
  border-top: 1px solid #dfe8ee;
  padding-top: 18px;
  margin: 30px 0 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
  color: #57748a;
}
.hm-grant__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 38px 32px;
  color: #fff;
  background: linear-gradient(145deg, #192c40 0%, #29445d 100%);
}
.hm-grant__stat-label {
  color: #b7d5e7;
  font-size: 11px;
  font-weight: 730;
  letter-spacing: .14em;
  line-height: 1.6;
}
.hm-grant__stat-value {
  display: block;
  color: #d0efff;
  font-weight: 710;
  font-size: clamp(35px, 4.4vw, 54px);
  letter-spacing: -.055em;
  line-height: 1.16;
  margin: 16px 0 13px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hm-grant__stat-caption {
  color: #c4d6e3;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 840px) {
  .hm-grant__layout { grid-template-columns: 1fr; }
  .hm-grant__main { padding: 32px; }
  .hm-grant__stat { padding: 30px 32px; }
}
@media (max-width: 570px) {
  .hm-grant__layout { border-radius: 17px; }
  .hm-grant__main { padding: 25px 21px; }
  .hm-grant__stat { padding: 25px 21px; }
  .hm-grant__lead { font-size: 15px; line-height: 1.7; }
  .hm-grant__credit { margin-top: 22px; }
  .hm-grant__stat-value { font-size: 37px; }
}


/* Harmax V5.8: EL ja Eesti tuleviku heaks kaksiklogo toetuste lehe sisus. */
.hm-grant__funding {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #e1e8ee;
  border-radius: 18px;
  margin-top: 22px;
  padding: 22px 28px;
}
.hm-inner-content__body .hm-grant__funding-logo {
  display: block;
  width: min(100%, 475px);
  max-width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}
@media (max-width: 570px) {
  .hm-grant__funding {
    margin-top: 15px;
    border-radius: 14px;
    padding: 12px 14px;
  }
  .hm-inner-content__body .hm-grant__funding-logo {
    width: 100%;
  }
}


/* HARMAX v6.0 — soomekeelne ühe lehe tutvustus. Lisa olemasoleva harmax.css LÕPPU. */
.hm-fi { max-width: 1080px; margin-inline: auto; color: #344153; }
.hm-fi__intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(230px, .8fr); gap: 36px; align-items: stretch; padding: 37px 40px; border: 1px solid #e1eaf0; border-radius: 21px; background: #f8fbfd; }
.hm-fi__intro > div:first-child { min-width: 0; }
.hm-fi__eyebrow { margin: 0 0 15px; color: #497ca0; font-size: 11px; line-height: 1.5; font-weight: 800; letter-spacing: .15em; }
.hm-inner-content__body .hm-fi h2 { font-size: clamp(27px, 3.4vw, 38px); letter-spacing: -.042em; line-height: 1.16; margin: 0 0 16px; }
.hm-fi p { line-height: 1.75; }
.hm-fi__lead { font-size: 18px; font-weight: 570; color: #283c50; margin: 0 0 12px; }
.hm-fi__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 21px; margin-top: 25px; }
.hm-fi__textlink { font-size: 14px; font-weight: 750; }
.hm-fi__highlight { background: linear-gradient(145deg, #192b3d, #314e66); border-radius: 16px; color: #eff8ff; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 32px; }
.hm-fi__highlight-label { font-size: 11px; color: #accce2; font-weight: 800; letter-spacing: .15em; }
.hm-fi__highlight strong { font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.03em; line-height: 1.18; font-weight: 700; }
.hm-fi__highlight span:last-child { font-size: 13px; line-height: 1.7; color: #c3d6e5; }
.hm-fi__section { margin-top: 58px; }
.hm-fi__section-head { margin-bottom: 22px; }
.hm-fi__section-head p:last-child { margin-bottom: 0; }
.hm-fi__services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.hm-fi__services li { position: relative; padding: 19px 20px 19px 49px; border: 1px solid #e0e9ef; border-radius: 13px; background: #fff; line-height: 1.5; font-weight: 690; color: #263b4d; }
.hm-fi__services li::before { content: '✓'; position: absolute; left: 18px; top: 18px; font-size: 15px; width: 23px; height: 23px; border-radius: 50%; background: #dceffb; text-align: center; line-height: 23px; color: #245a7a; font-weight: 800; }
.hm-fi__prices { padding: 32px 36px 34px; border: 1px solid #e1e9ee; border-radius: 18px; background: #f7fafc; }
.hm-fi__price-list { border-top: 1px solid #dbe5ec; }
.hm-fi__price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid #dbe5ec; }
.hm-fi__price-row span { max-width: 75%; }
.hm-fi__price-row strong { color: #1e3447; white-space: nowrap; font-size: 18px; }
.hm-fi__fineprint { font-size: 13px; color: #617385; margin: 15px 0 0; }
.hm-fi__person { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; gap: 32px; padding: 30px 34px; border: 1px solid #e0e8ef; border-radius: 18px; }
.hm-inner-content__body .hm-fi__portrait { width: 170px; height: 170px; border: 6px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 13px 30px rgba(21,43,58,.12); }
.hm-fi__job { font-size: 14px; color: #66798a; margin: 0 0 12px; }
.hm-fi__language { margin-bottom: 0; }
.hm-fi__contact { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 40px; color: #f2f8fc; border-radius: 18px; padding: 38px 42px; background: linear-gradient(130deg, #172637, #29445a); }
.hm-inner-content__body .hm-fi__contact h2 { color: #fff; }
.hm-fi__contact p { color: #d1e0eb; }
.hm-fi__contact .hm-fi__eyebrow { color: #9ecde7; }
.hm-fi__contact .hm-button--outline { border: 1px solid #7793a7; overflow-wrap: anywhere; }
.hm-fi__address { border-left: 1px solid rgba(255,255,255,.2); padding-left: 31px; }
.hm-fi__address dl { margin: 0; }
.hm-fi__address dl > div { margin: 0 0 15px; }
.hm-fi__address dt { font-size: 11px; letter-spacing: .11em; text-transform: uppercase; font-weight: 740; color: #a8c5d8; margin-bottom: 2px; }
.hm-fi__address dd { margin: 0; line-height: 1.65; color: #f1f7fb; }
@media (max-width: 820px) {
  .hm-fi__intro, .hm-fi__contact { grid-template-columns: 1fr; }
  .hm-fi__highlight { min-height: 145px; }
  .hm-fi__address { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-left: 0; padding-top: 22px; }
}
@media (max-width: 570px) {
  .hm-fi__intro { padding: 25px 20px; gap: 22px; }
  .hm-fi__highlight { padding: 24px; gap: 12px; }
  .hm-fi__lead { font-size: 16px; }
  .hm-fi__services { grid-template-columns: 1fr; }
  .hm-fi__section { margin-top: 42px; }
  .hm-fi__prices { padding: 24px 20px; }
  .hm-fi__price-row { align-items: flex-start; }
  .hm-fi__price-row span { max-width: 65%; }
  .hm-fi__price-row strong { font-size: 15px; }
  .hm-fi__person { grid-template-columns: 1fr; gap: 18px; padding: 25px 21px; }
  .hm-inner-content__body .hm-fi__portrait { width: 118px; height: 118px; }
  .hm-fi__contact { padding: 28px 22px; gap: 25px; }
}

/* HARMAX v6.0 — soomekeelne ühe lehe tutvustus. Lisa olemasoleva harmax.css LÕPPU. */
.hm-fi { max-width: 1080px; margin-inline: auto; color: #344153; }
.hm-fi__intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(230px, .8fr); gap: 36px; align-items: stretch; padding: 37px 40px; border: 1px solid #e1eaf0; border-radius: 21px; background: #f8fbfd; }
.hm-fi__intro > div:first-child { min-width: 0; }
.hm-fi__eyebrow { margin: 0 0 15px; color: #497ca0; font-size: 11px; line-height: 1.5; font-weight: 800; letter-spacing: .15em; }
.hm-inner-content__body .hm-fi h2 { font-size: clamp(27px, 3.4vw, 38px); letter-spacing: -.042em; line-height: 1.16; margin: 0 0 16px; }
.hm-fi p { line-height: 1.75; }
.hm-fi__lead { font-size: 18px; font-weight: 570; color: #283c50; margin: 0 0 12px; }
.hm-fi__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 21px; margin-top: 25px; }
.hm-fi__textlink { font-size: 14px; font-weight: 750; }
.hm-fi__highlight { background: linear-gradient(145deg, #192b3d, #314e66); border-radius: 16px; color: #eff8ff; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 32px; }
.hm-fi__highlight-label { font-size: 11px; color: #accce2; font-weight: 800; letter-spacing: .15em; }
.hm-fi__highlight strong { font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.03em; line-height: 1.18; font-weight: 700; }
.hm-fi__highlight span:last-child { font-size: 13px; line-height: 1.7; color: #c3d6e5; }
.hm-fi__section { margin-top: 58px; }
.hm-fi__section-head { margin-bottom: 22px; }
.hm-fi__section-head p:last-child { margin-bottom: 0; }
.hm-fi__services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.hm-fi__services li { position: relative; padding: 19px 20px 19px 49px; border: 1px solid #e0e9ef; border-radius: 13px; background: #fff; line-height: 1.5; font-weight: 690; color: #263b4d; }
.hm-fi__services li::before { content: '✓'; position: absolute; left: 18px; top: 18px; font-size: 15px; width: 23px; height: 23px; border-radius: 50%; background: #dceffb; text-align: center; line-height: 23px; color: #245a7a; font-weight: 800; }
.hm-fi__prices { padding: 32px 36px 34px; border: 1px solid #e1e9ee; border-radius: 18px; background: #f7fafc; }
.hm-fi__price-list { border-top: 1px solid #dbe5ec; }
.hm-fi__price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid #dbe5ec; }
.hm-fi__price-row span { max-width: 75%; }
.hm-fi__price-row strong { color: #1e3447; white-space: nowrap; font-size: 18px; }
.hm-fi__fineprint { font-size: 13px; color: #617385; margin: 15px 0 0; }
.hm-fi__person { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; gap: 32px; padding: 30px 34px; border: 1px solid #e0e8ef; border-radius: 18px; }
.hm-inner-content__body .hm-fi__portrait { width: 170px; height: 170px; border: 6px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 13px 30px rgba(21,43,58,.12); }
.hm-fi__job { font-size: 14px; color: #66798a; margin: 0 0 12px; }
.hm-fi__language { margin-bottom: 0; }
.hm-fi__contact { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 40px; color: #f2f8fc; border-radius: 18px; padding: 38px 42px; background: linear-gradient(130deg, #172637, #29445a); }
.hm-inner-content__body .hm-fi__contact h2 { color: #fff; }
.hm-fi__contact p { color: #d1e0eb; }
.hm-fi__contact .hm-fi__eyebrow { color: #9ecde7; }
.hm-fi__contact .hm-button--outline { border: 1px solid #7793a7; overflow-wrap: anywhere; }
.hm-fi__address { border-left: 1px solid rgba(255,255,255,.2); padding-left: 31px; }
.hm-fi__address dl { margin: 0; }
.hm-fi__address dl > div { margin: 0 0 15px; }
.hm-fi__address dt { font-size: 11px; letter-spacing: .11em; text-transform: uppercase; font-weight: 740; color: #a8c5d8; margin-bottom: 2px; }
.hm-fi__address dd { margin: 0; line-height: 1.65; color: #f1f7fb; }
@media (max-width: 820px) {
  .hm-fi__intro, .hm-fi__contact { grid-template-columns: 1fr; }
  .hm-fi__highlight { min-height: 145px; }
  .hm-fi__address { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-left: 0; padding-top: 22px; }
}
@media (max-width: 570px) {
  .hm-fi__intro { padding: 25px 20px; gap: 22px; }
  .hm-fi__highlight { padding: 24px; gap: 12px; }
  .hm-fi__lead { font-size: 16px; }
  .hm-fi__services { grid-template-columns: 1fr; }
  .hm-fi__section { margin-top: 42px; }
  .hm-fi__prices { padding: 24px 20px; }
  .hm-fi__price-row { align-items: flex-start; }
  .hm-fi__price-row span { max-width: 65%; }
  .hm-fi__price-row strong { font-size: 15px; }
  .hm-fi__person { grid-template-columns: 1fr; gap: 18px; padding: 25px 21px; }
  .hm-inner-content__body .hm-fi__portrait { width: 118px; height: 118px; }
  .hm-fi__contact { padding: 28px 22px; gap: 25px; }
}

