/* Shared sections and blocks (home, pages, shortcodes, Elementor widgets) — Signature presentation. */

/* Round brand mark. */
.hm-logo__mark rect { rx: 24px; }

/* Hero: text on ivory, photograph in an arch, quick finder floating on it. */
.hm-hero { position: relative; background: var(--sg-ivory); color: var(--sg-text); overflow: hidden; }
.hm-hero__inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); column-gap: clamp(32px, 6vw, 96px); align-items: center; min-height: clamp(560px, 80vh, 780px); padding-block: 40px 64px; }
.hm-hero__inner::after { content: ""; grid-column: 2; grid-row: 1; align-self: stretch; min-height: 540px; background: var(--sg-linen) var(--hm-hero-image, none) center / cover no-repeat; border-radius: 340px 340px var(--hm-radius-lg) var(--hm-radius-lg); }
.hm-hero__content { grid-column: 1; grid-row: 1; padding-block: 32px; }
.hm-hero__kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 .72rem/1.5 var(--hm-font); letter-spacing: .22em; text-transform: uppercase; color: var(--sg-accent); margin-bottom: 26px; }
.hm-hero__kicker svg { display: none; }
.hm-hero__kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hm-hero__title { font: 400 clamp(2.7rem, 1.6rem + 4vw, 5.1rem)/1.02 var(--sg-serif); letter-spacing: -.03em; color: var(--sg-head); max-width: 13ch; margin-bottom: 26px; }
.hm-hero__subtitle { font-size: clamp(1.02rem, .96rem + .3vw, 1.2rem); line-height: 1.7; color: var(--sg-muted); max-width: 48ch; margin-bottom: 38px; }
.hm-hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hm-hero .hm-btn--ghost-light { border-color: var(--sg-head); color: var(--sg-head); }
.hm-hero .hm-btn--ghost-light:hover { background: var(--sg-ink); border-color: var(--sg-ink); color: #fff; }
.hm-hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 26px 0 0; border-top: 1px solid var(--sg-line); font-size: .86rem; color: var(--sg-text); max-width: 600px; }
.hm-hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hm-hero__trust svg { width: 16px; height: 16px; color: var(--sg-accent); }
.hm-hero__finder { grid-column: 2; grid-row: 1; align-self: end; justify-self: center; width: min(86%, 470px); margin-bottom: 26px; z-index: 1; padding: 20px 22px 16px; background: color-mix(in srgb, var(--sg-ivory) 93%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: var(--hm-radius-lg); box-shadow: var(--sg-shadow); }
.hm-hero__finder > strong { display: block; font: 600 .7rem/1 var(--hm-font); letter-spacing: .2em; text-transform: uppercase; color: var(--sg-accent); margin: 2px 0 12px; }
.hm-hero__finder ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.hm-hero__finder a { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 7px 0; color: var(--sg-head); text-decoration: none; font: 400 1rem/1.2 var(--sg-serif); border-bottom: 1px solid var(--sg-line-2); }
.hm-hero__finder a:hover { color: var(--sg-accent); }
.hm-hero__finder-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--sg-linen); }
.hm-hero__finder-arrow { width: 14px; height: 14px; color: var(--sg-muted); }

/* Trust strip: four columns separated by hairlines. */
.hm-trustbar { background: var(--sg-paper); border-block: 1px solid var(--sg-line); }
.hm-trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hm-trustbar__item { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.hm-trustbar__item:first-child { padding-left: 0; }
.hm-trustbar__item + .hm-trustbar__item { border-left: 1px solid var(--sg-line); }
.hm-trustbar__item > svg { width: 26px; height: 26px; color: var(--sg-accent); stroke-width: 1.4; }
.hm-trustbar__item strong { display: block; font: 600 .74rem/1.3 var(--hm-font); letter-spacing: .14em; text-transform: uppercase; color: var(--sg-head); }
.hm-trustbar__item span { font-size: .84rem; color: var(--sg-muted); }

/* Categories: editorial mosaic, photo full height, text on the image. */
.hm-catgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 280px); gap: 14px; }
.hm-catcard { grid-column: span 2; position: relative; display: block; overflow: hidden; border-radius: var(--hm-radius-sm); background: var(--sg-ink); color: #fff; text-decoration: none; isolation: isolate; }
.hm-catgrid--cards > .hm-catcard:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.hm-catgrid--cards > .hm-catcard:nth-child(2), .hm-catgrid--cards > .hm-catcard:nth-child(3) { grid-column: span 3; }
.hm-catcard__media { position: absolute; inset: 0; z-index: -2; }
.hm-catcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sg-ease); }
.hm-catcard:hover .hm-catcard__img { transform: scale(1.06); }
.hm-catcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 15, 0) 35%, rgba(20, 18, 15, .78) 100%); transition: background .4s; }
.hm-catcard:hover { color: #fff; }
.hm-catcard__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: clamp(18px, 2vw, 30px); }
.hm-catcard__name { font: 400 clamp(1.4rem, 1.1rem + .9vw, 2rem)/1.1 var(--sg-serif); letter-spacing: -.01em; }
.hm-catgrid--cards > .hm-catcard:nth-child(1) .hm-catcard__name { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); }
.hm-catcard__text { font-size: .88rem; line-height: 1.5; color: var(--sg-on-dark); max-width: 46ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-catcard__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font: 600 .7rem/1 var(--hm-font); letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.hm-catcard__more svg { width: 14px; height: 14px; transition: transform .3s var(--sg-ease); }
.hm-catcard:hover .hm-catcard__more svg { transform: translateX(5px); }
/* Compact variant (widget « Catégories » in compact mode): round photos with names. */
.hm-catgrid--compact { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-auto-rows: auto; gap: 28px 18px; margin-bottom: 40px; }
.hm-catgrid--compact .hm-catcard { grid-column: auto; grid-row: auto; background: none; color: var(--sg-head); overflow: visible; text-align: center; }
.hm-catgrid--compact .hm-catcard::after { display: none; }
.hm-catgrid--compact .hm-catcard__media { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; z-index: 0; background: var(--sg-linen); }
.hm-catgrid--compact .hm-catcard__body { position: static; padding: 14px 0 0; gap: 4px; }
.hm-catgrid--compact .hm-catcard__name { font-size: 1.1rem !important; color: var(--sg-head); }
.hm-catgrid--compact .hm-catcard__text { display: none; }
.hm-catgrid--compact .hm-catcard__more { justify-content: center; color: var(--sg-muted); font-size: .64rem; }
.hm-catgrid--compact .hm-catcard:hover .hm-catcard__name { color: var(--sg-accent); }

/* Advantages: four columns separated by hairlines. */
.hm-advantages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--sg-line); }
.hm-advantage { padding: 34px 28px 4px 0; }
.hm-advantage + .hm-advantage { padding-left: 28px; border-left: 1px solid var(--sg-line); }
.hm-advantage__icon { display: block; color: var(--sg-accent); margin-bottom: 26px; }
.hm-advantage__icon svg { width: 30px; height: 30px; stroke-width: 1.3; }
.hm-advantage h3 { font-size: 1.4rem; margin-bottom: 10px; }
.hm-advantage p { font-size: .93rem; color: var(--sg-muted); margin: 0; }

/* Process (dark): large serif numerals. */
.hm-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; }
.hm-process__step { position: relative; padding: 30px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hm-process__num { display: block; font: italic 300 clamp(2.8rem, 2rem + 2vw, 4rem)/1 var(--sg-serif); color: color-mix(in srgb, var(--sg-accent) 70%, #fff); margin-bottom: 24px; }
.hm-process__num::before { content: "0"; }
.hm-process__icon { display: none; }
.hm-process__step h3 { color: #fff; font-size: 1.35rem; }
.hm-process__step p { color: var(--sg-on-dark-muted); font-size: .93rem; margin: 0; }

/* Quality: tall photograph with a brass frame, numbered proofs. */
.hm-quality { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.hm-quality__media { position: relative; padding: 0 22px 22px 0; }
.hm-quality__media::after { content: ""; position: absolute; inset: 22px 0 0 22px; border: 1px solid var(--sg-accent); z-index: -1; }
.hm-quality__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--hm-radius-sm); }
.hm-quality__list { list-style: none; margin: 14px 0 34px; padding: 0; counter-reset: proof; }
.hm-quality__list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--sg-line); counter-increment: proof; }
.hm-quality__list li > span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--sg-line); color: var(--sg-accent); background: var(--sg-paper); }
.hm-quality__list svg { width: 22px; height: 22px; }
.hm-quality__list strong { display: block; font: 400 1.25rem/1.3 var(--sg-serif); color: var(--sg-head); }
.hm-quality__list small { color: var(--sg-muted); font-size: .9rem; }

/* Reviews */
.hm-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.hm-review { margin: 0; padding-top: 28px; border-top: 1px solid var(--sg-line); display: flex; flex-direction: column; gap: 16px; }
.hm-review__stars { display: flex; gap: 3px; }
.hm-star { width: 15px; height: 15px; color: var(--sg-sand); fill: currentColor; }
.hm-star.is-on { color: var(--sg-accent); }
.hm-review blockquote { margin: 0; font: italic 400 1.18rem/1.55 var(--sg-serif); color: var(--sg-head); flex: 1; }
.hm-review figcaption { display: grid; gap: 3px; font-size: .82rem; color: var(--sg-muted); }
.hm-review figcaption strong { color: var(--sg-head); font: 600 .74rem/1.3 var(--hm-font); letter-spacing: .14em; text-transform: uppercase; }
.hm-review__verified { display: inline-flex; align-items: center; gap: 5px; color: var(--hm-success); font-weight: 600; }
.hm-review__verified svg { width: 14px; height: 14px; }

/* FAQ: hairline accordion. */
.hm-faq { display: grid; border-top: 1px solid var(--sg-line); }
.hm-faq__title { margin-bottom: 18px; }
.hm-faq__item { border-bottom: 1px solid var(--sg-line); }
.hm-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font: 400 clamp(1.1rem, 1rem + .35vw, 1.32rem)/1.35 var(--sg-serif); color: var(--sg-head); transition: color .2s; }
.hm-faq__item summary:hover { color: var(--sg-accent); }
.hm-faq__item summary::-webkit-details-marker { display: none; }
.hm-faq__chevron { width: 30px; height: 30px; padding: 7px; border: 1px solid var(--sg-line); border-radius: 50%; color: var(--sg-head); transition: transform .3s var(--sg-ease), background .2s; }
.hm-faq__item[open] .hm-faq__chevron { transform: rotate(180deg); background: var(--sg-ink); border-color: var(--sg-ink); color: #fff; }
.hm-faq__answer { padding: 0 56px 26px 0; color: var(--sg-text); }
.hm-faq__answer p:last-child { margin-bottom: 0; }

/* Articles */
.hm-postgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.hm-postcard { display: flex; flex-direction: column; }
.hm-postcard__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sg-linen); border-radius: var(--hm-radius-sm); margin-bottom: 22px; }
.hm-postcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--sg-ease); }
.hm-postcard:hover .hm-postcard__img { transform: scale(1.05); }
.hm-postcard__body { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hm-postcard__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font: 600 .68rem/1 var(--hm-font); letter-spacing: .16em; text-transform: uppercase; color: var(--sg-muted); }
.hm-postcard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hm-postcard__meta svg { width: 13px; height: 13px; }
.hm-postcard__cat { color: var(--sg-accent) !important; }
.hm-postcard__title { font-size: 1.45rem; line-height: 1.22; margin: 0; }
.hm-postcard__title a { color: var(--sg-head); text-decoration: none; }
.hm-postcard__title a:hover { color: var(--sg-accent); }
.hm-postcard__excerpt { font-size: .93rem; color: var(--sg-muted); margin: 0; flex: 1; }
.hm-postcard__more { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font: 600 .7rem/1 var(--hm-font); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--sg-head); padding-bottom: 6px; border-bottom: 1px solid var(--sg-accent); }
.hm-postcard__more svg { width: 14px; height: 14px; }
/* Home: magazine layout (one large article, two short ones). */
.sg-home-blog .hm-postgrid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px 56px; }
.sg-home-blog .hm-postcard:first-child { grid-row: span 2; }
.sg-home-blog .hm-postcard:first-child .hm-postcard__media { aspect-ratio: 4 / 3; }
.sg-home-blog .hm-postcard:first-child .hm-postcard__title { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); }
.sg-home-blog .hm-postcard:not(:first-child) { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 26px; align-items: start; }
.sg-home-blog .hm-postcard:not(:first-child) .hm-postcard__media { margin: 0; aspect-ratio: 1; }
.sg-home-blog .hm-postcard:not(:first-child) .hm-postcard__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Call to action: charcoal band with a brass frame. */
.hm-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(36px, 5vw, 72px); border-radius: var(--hm-radius-sm); background: var(--sg-ink); color: var(--sg-on-dark); margin-block: 2rem; isolation: isolate; }
.hm-cta::after { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--sg-accent) 55%, transparent); pointer-events: none; z-index: -1; }
.hm-cta__title { display: block; font: 400 clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem)/1.1 var(--sg-serif); margin-bottom: 12px; color: #fff; }
.hm-cta__text p { margin: 0; color: var(--sg-on-dark-muted); max-width: 58ch; }
.hm-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; position: relative; flex: none; }
.hm-prose .hm-cta a { color: inherit; text-decoration: none; }
.hm-prose .hm-cta__title { color: #fff; font-weight: 400; }
.hm-prose .hm-cta { flex-direction: column; align-items: flex-start; }
.hm-prose .hm-cta .hm-btn--buy { color: #fff; }
.hm-cta .hm-btn--light { color: var(--sg-head); }
.sg-home-cta { padding-block: 0 clamp(56px, 8vw, 120px); }

/* Contact card, identity, bank details */
.hm-contact-card { display: grid; gap: 0; border: 1px solid var(--sg-line); background: var(--sg-paper); margin-block: 2rem; }
.hm-contact-card__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; }
.hm-contact-card__item + .hm-contact-card__item { border-top: 1px solid var(--sg-line-2); }
.hm-contact-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sg-line); color: var(--sg-accent); flex: none; }
.hm-contact-card__icon svg { width: 18px; height: 18px; }
.hm-contact-card__label { display: block; font: 600 .68rem/1.3 var(--hm-font); letter-spacing: .16em; text-transform: uppercase; color: var(--sg-muted); margin-bottom: 3px; }
.hm-contact-card__value { display: block; color: var(--sg-head); font-weight: 500; }
.hm-identity, .hm-bank__list { display: grid; margin: 1.6rem 0; border-top: 1px solid var(--sg-line); }
.hm-identity__row, .hm-bank__list__row { display: grid; grid-template-columns: minmax(170px, 34%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sg-line); }
.hm-identity dt, .hm-bank__list dt { color: var(--sg-muted); font-size: .86rem; }
.hm-identity dd, .hm-bank__list dd { margin: 0; color: var(--sg-head); font-weight: 500; }
.hm-bank { margin: 1.6rem 0; padding: 26px 28px 10px; background: var(--sg-paper); border: 1px solid var(--sg-line); border-top: 2px solid var(--sg-accent); }
.hm-bank__head { display: flex; align-items: center; gap: 10px; font: 400 1.35rem/1.2 var(--sg-serif); color: var(--sg-head); }
.hm-bank__head svg { width: 22px; height: 22px; color: var(--sg-accent); }
.hm-bank .hm-bank__list { margin: 14px 0 8px; border-top: 0; }
.hm-bank .hm-bank__list__row:last-child { border-bottom: 0; }

/* Payment methods */
.hm-paylist { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; border-top: 1px solid var(--sg-line); }
.hm-paylist li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--sg-line); font-weight: 500; color: var(--sg-head); }
.hm-paylist__logos { display: flex; gap: 6px; }
.hm-paylogo { width: 48px; height: 32px; }
.hm-paylogos { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-paylogos--small .hm-paylogo { width: 40px; height: 27px; }
.hm-paylogos--center { justify-content: center; margin-top: 12px; }

/* Tables */
.hm-table-wrap { overflow-x: auto; margin: 1.6rem 0; border-top: 1px solid var(--sg-head); }
.hm-table, .hm-prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.hm-table th, .hm-table td, .hm-prose table th, .hm-prose table td { padding: 14px 16px 14px 0; text-align: left; border-bottom: 1px solid var(--sg-line); vertical-align: top; }
.hm-table thead th, .hm-prose table thead th { color: var(--sg-head); font: 600 .7rem/1.3 var(--hm-font); letter-spacing: .14em; text-transform: uppercase; }
.hm-prose figure.wp-block-table { margin: 1.6rem 0; overflow-x: auto; border-top: 1px solid var(--sg-head); }

/* Page header: text on ivory, photograph on the right. */
.hm-pagehead { padding-block: clamp(40px, 6vw, 84px); background: var(--sg-ivory); border-bottom: 1px solid var(--sg-line); }
.hm-pagehead__title { margin: 0; max-width: 20ch; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.8rem); line-height: 1.04; letter-spacing: -.025em; }
.hm-pagehead__subtitle { max-width: 60ch; margin: 18px 0 0; font-size: 1.08rem; color: var(--sg-muted); }
.hm-pagehead--photo { padding-block: clamp(32px, 4vw, 56px); }
.hm-pagehead--photo .hm-container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(32px, 6vw, 96px); align-items: center; }
.hm-pagehead--photo .hm-container > * { grid-column: 1; }
.hm-pagehead--photo .hm-container::after { content: ""; grid-column: 2; grid-row: 1 / span 3; align-self: stretch; min-height: clamp(260px, 26vw, 380px); background: var(--sg-linen) var(--hm-pagehead-image) center / cover no-repeat; border-radius: var(--hm-radius-sm); }
.hm-pagehead--photo .hm-breadcrumb { align-self: end; }
.hm-pagehead--photo .hm-pagehead__subtitle { align-self: start; }
.hm-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font: 500 .7rem/1.4 var(--hm-font); letter-spacing: .14em; text-transform: uppercase; }
.hm-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--sg-muted); }
.hm-breadcrumb a { color: var(--sg-text); text-decoration: none; }
.hm-breadcrumb a:hover { color: var(--sg-accent); }
.hm-breadcrumb__sep { width: 11px; height: 11px; opacity: .6; }

/* Pills (blog categories) */
.hm-pills ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0 0 44px; padding: 0 0 18px; border-bottom: 1px solid var(--sg-line); }
.hm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--sg-muted); text-decoration: none; font: 600 .72rem/1 var(--hm-font); letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid transparent; }
.hm-pill span { font-size: .7rem; color: var(--sg-muted); }
.hm-pill:hover { color: var(--sg-head); }
.hm-pill.is-current { color: var(--sg-head); border-bottom-color: var(--sg-accent); }

/* Forms */
.hm-form { margin: 2rem 0; padding: clamp(24px, 3.4vw, 44px); background: var(--sg-paper); border: 1px solid var(--sg-line); }
.hm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.hm-field--full { grid-column: 1 / -1; }
.hm-field__error { font-size: .8rem; color: var(--hm-danger); min-height: 0; }
.hm-field.has-error input, .hm-field.has-error select, .hm-field.has-error textarea { border-color: var(--hm-danger); }
.hm-field.is-muted { opacity: .55; }
.hm-req { color: var(--sg-accent); }
.hm-form__section { border: 0; padding: 0; margin: 0 0 22px; }
.hm-form__section legend { font: 400 1.45rem/1.3 var(--sg-serif); color: var(--sg-head); margin-bottom: 16px; }
.hm-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-check { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--sg-line); cursor: pointer; font-size: .9rem; background: var(--sg-ivory); }
.hm-check:has(input:checked) { border-color: var(--sg-ink); background: var(--sg-ink); color: #fff; }
.hm-check input { accent-color: var(--sg-accent); }
.hm-form__privacy { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--sg-muted); margin: 6px 0 22px; }
.hm-form__privacy svg { width: 15px; height: 15px; margin-top: 3px; color: var(--sg-accent); }
.hm-form__hint { font-size: .82rem; color: var(--sg-muted); margin: 14px 0 0; }
.hm-form__result { margin-top: 18px; padding: 16px 20px; font-weight: 500; border-left: 2px solid; }
.hm-form__result.is-success { background: #EEF3EC; color: var(--hm-success); }
.hm-form__result.is-error { background: #F8ECE8; color: var(--hm-danger); }
.hm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Withdrawal function */
.hm-withdrawal { margin: 2rem 0; }
.hm-withdrawal__details > summary { list-style: none; cursor: pointer; display: inline-flex; }
.hm-withdrawal__details > summary::-webkit-details-marker { display: none; }
.hm-withdrawal__details[open] > summary { background: var(--sg-ink); border-color: var(--sg-ink); color: #fff; }
.hm-model-form { padding: 28px; border: 1px dashed var(--sg-sand); background: var(--sg-paper); }
.hm-model-form__lines { list-style: none; padding: 0; }
.hm-model-form__lines li { padding: 10px 0 20px; border-bottom: 1px solid var(--sg-line); }
.hm-model-form__note { font-size: .84rem; color: var(--sg-muted); }

/* Empty state, 404 */
.hm-empty { text-align: center; padding: 64px 20px; border: 1px solid var(--sg-line); background: var(--sg-paper); }
.hm-empty h2 { font-size: 2rem; }
.hm-empty__icon { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--sg-accent); }
.hm-404 { text-align: center; }
.hm-404__code { display: block; font: italic 300 clamp(5rem, 3rem + 10vw, 11rem)/1 var(--sg-serif); color: var(--sg-accent); margin-bottom: 12px; }
.hm-404 .hm-search { max-width: 640px; margin: 28px auto 56px; }
.hm-404 .hm-lead { margin-inline: auto; }

/* Cookie consent */
.hm-consent { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200; max-width: 980px; margin-inline: auto; background: var(--sg-ivory); box-shadow: var(--sg-shadow-lg); border: 1px solid var(--sg-line); border-top: 2px solid var(--sg-accent); }
.hm-consent__inner { display: flex; gap: 28px; align-items: center; padding: 24px 28px; }
.hm-consent__text strong { font: 400 1.25rem/1.2 var(--sg-serif); color: var(--sg-head); }
.hm-consent__text p { margin: 6px 0 0; font-size: .88rem; color: var(--sg-text); }
.hm-consent__buttons { display: flex; gap: 10px; flex: none; }

/* Notices (WooCommerce and theme) */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 28px; padding: 18px 22px; background: var(--sg-paper); border: 1px solid var(--sg-line); border-left: 2px solid var(--hm-success); color: var(--sg-head); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.woocommerce-error { border-left-color: var(--hm-danger); }
.woocommerce-info { border-left-color: var(--sg-accent); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* Elementor: empty widget notice, written content in text editors, dark sections. */
.hm-elementor-empty { padding: 18px; border: 1px dashed var(--sg-sand); color: var(--sg-muted); font-size: .9rem; text-align: center; }
.elementor-widget-text-editor.hm-prose { font-size: 1.04rem; line-height: 1.8; }
.elementor-section.hm-section--dark .hm-section-head h2 { color: #fff; }

@media (max-width: 1100px) {
  .hm-advantages, .hm-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-advantage:nth-child(3) { padding-left: 0; border-left: 0; }
  .hm-process { gap: 40px 36px; }
  .hm-hero__inner { grid-template-columns: 1fr; }
  .hm-hero__inner::after { grid-column: 1; grid-row: 2; min-height: 420px; border-radius: 260px 260px var(--hm-radius-lg) var(--hm-radius-lg); }
  .hm-hero__finder { grid-column: 1; grid-row: 2; }
  .hm-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 34vw, 300px); }
  .hm-catgrid--cards > .hm-catcard, .hm-catgrid--cards > .hm-catcard:nth-child(2), .hm-catgrid--cards > .hm-catcard:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .hm-catgrid--cards > .hm-catcard:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 900px) {
  .hm-postgrid, .hm-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-trustbar__inner { grid-template-columns: repeat(2, 1fr); }
  .hm-trustbar__item:nth-child(3) { border-left: 0; }
  .hm-trustbar__item:nth-child(n+3) { border-top: 1px solid var(--sg-line); }
  .hm-quality, .sg-split { grid-template-columns: 1fr; }
  .sg-split__aside { position: static; }
  .hm-cta { flex-direction: column; align-items: flex-start; }
  .sg-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hm-consent__inner { flex-direction: column; align-items: stretch; }
  .sg-home-blog .hm-postgrid { grid-template-columns: 1fr; }
  .sg-home-blog .hm-postcard:first-child { grid-row: auto; }
  .hm-pagehead--photo .hm-container { grid-template-columns: 1fr; }
  .hm-pagehead--photo .hm-container::after { grid-column: 1; grid-row: auto; min-height: 220px; margin-top: 26px; }
}
@media (max-width: 600px) {
  .hm-postgrid, .hm-reviews, .hm-advantages, .hm-process, .hm-form__grid { grid-template-columns: 1fr; }
  .hm-advantage, .hm-advantage + .hm-advantage { padding: 26px 0 0; border-left: 0; }
  .hm-advantage + .hm-advantage { border-top: 1px solid var(--sg-line); margin-top: 22px; }
  .hm-catgrid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 10px; }
  .hm-catgrid--cards > .hm-catcard:nth-child(1) { grid-column: span 1; }
  .hm-catgrid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
  .hm-trustbar__item { padding: 18px 12px; gap: 10px; }
  .hm-trustbar__item span { display: none; }
  .hm-hero__inner { min-height: 0; padding-block: 28px 40px; }
  .hm-hero__inner::after { min-height: 340px; border-radius: 180px 180px var(--hm-radius-lg) var(--hm-radius-lg); }
  .hm-hero__finder { width: calc(100% - 24px); margin-bottom: 12px; }
  .hm-hero__finder ul { grid-template-columns: 1fr; }
  .hm-hero__finder li:nth-child(n+4) { display: none; }
  .hm-hero__buttons .hm-btn { width: 100%; }
  .hm-identity__row, .hm-bank__list__row { grid-template-columns: 1fr; gap: 2px; }
  .hm-consent__buttons { flex-direction: column; }
  .sg-home-blog .hm-postcard:not(:first-child) { grid-template-columns: 110px 1fr; gap: 16px; }
  .sg-home-blog .hm-postcard:not(:first-child) .hm-postcard__excerpt { display: none; }
  .hm-faq__answer { padding-right: 0; }
}
