/* =============================================
   FORSIDEN – samme profil som resten av siden (rødt, krem, luftig)
   ============================================= */
.hm-hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: #f3e6dc; }
.hm-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 236, 225, 0.94) 0%, rgba(250, 236, 225, 0.82) 42%, rgba(250, 236, 225, 0) 75%); }
.hm-hero-text { position: relative; z-index: 1; max-width: 640px; padding: 64px 48px; }
.hm-eyebrow { font-size: 0.68rem; letter-spacing: 3.5px; text-transform: uppercase; color: var(--color-darkred); line-height: 1.5; margin-bottom: 14px; }
.hm-hero h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); letter-spacing: 2px; line-height: 1.2; color: var(--color-p); margin-bottom: 18px; }
.hm-sub { font-size: 1rem; line-height: 1.7; letter-spacing: 0.4px; margin-bottom: 26px; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 24px;
    background: var(--color-darkred); color: white; text-decoration: none; font-size: 0.75rem; letter-spacing: 2.5px; text-transform: uppercase;
    border: 1px solid var(--color-darkred); transition: background .2s, color .2s; line-height: 1.3;
}
.hm-btn:hover { background: white; color: var(--color-darkred); }
.hm-btn.ghost { background: transparent; color: var(--color-p); border-color: var(--color-p); }
.hm-btn.ghost:hover { border-color: var(--color-darkred); color: var(--color-darkred); }
.hm-btn.light { background: white; color: var(--color-darkred); border-color: white; }
.hm-btn.ghost-light { background: transparent; color: white; border-color: white; }
.hm-btn.ghost-light:hover { background: white; color: var(--color-darkred); }

.hm-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 22px 20px; margin: 0; background: white; border-bottom: 1px solid var(--color-main-darker); }
.hm-trust li { font-size: 0.75rem; letter-spacing: 1.5px; line-height: 1.5; display: inline-flex; gap: 10px; align-items: center; }
.hm-trust i { color: var(--color-darkred); }

.hm-section { max-width: 1160px; margin: 0 auto; padding: 64px 40px 0; }
.hm-section > h2 { text-align: center; font-size: clamp(1.25rem, 3vw, 1.8rem); letter-spacing: clamp(2px, 0.6vw, 5px); line-height: 1.3; margin-bottom: 10px; }
.hm-lead { text-align: center; font-size: 0.9rem; line-height: 1.7; letter-spacing: 0.5px; margin: 0 auto 28px; max-width: 620px; }
.hm-center { text-align: center; margin-top: 28px; }
.hm-link { text-decoration: underline; font-size: 0.85rem; }
.hm-note { text-align: center; font-size: 0.75rem; letter-spacing: 0.5px; line-height: 1.6; color: #888; margin-top: 12px; }

.hm-concerns { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; max-width: 980px; }
.hm-concerns a {
    display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; padding: 14px 18px;
    background: white; border: 1px solid var(--color-main-darker); border-radius: 10px; text-decoration: none;
    font-size: 0.85rem; letter-spacing: 1px; line-height: 1.4; transition: border-color .2s, transform .2s;
}
.hm-concerns a:hover { border-color: var(--color-darkred); transform: translateY(-1px); }
.hm-concerns i { color: var(--color-darkred); }
.hm-concerns .hm-concern-unsure { background: transparent; border-style: dashed; }

.hm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-card { background: white; border-radius: 12px; overflow: hidden; text-decoration: none; border: 1px solid var(--color-main-darker); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.hm-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.hm-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hm-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hm-card h3 { font-size: 1.05rem; letter-spacing: 2px; line-height: 1.3; color: var(--color-darkred); }
.hm-card p { font-size: 0.85rem; letter-spacing: 0.4px; line-height: 1.55; }
.hm-card-meta { margin-top: auto; padding-top: 8px; font-size: 0.72rem; letter-spacing: 1.5px; color: var(--color-p); text-transform: uppercase; }

.hm-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin: 0 auto; }
.hm-ba figure { margin: 0; position: relative; }
.hm-ba img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.hm-ba figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, 0.9); padding: 4px 10px; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }

.hm-reviews .reviewsContainer { margin-top: 10px; }

.hm-unsure { max-width: none; margin-top: 64px; padding: 56px 24px; background: var(--color-darkred); text-align: center; }
.hm-unsure h2, .hm-unsure p { color: white; }
.hm-unsure > h2 { margin-bottom: 14px; }
.hm-unsure p { max-width: 620px; margin: 0 auto 24px; font-size: 0.92rem; line-height: 1.75; letter-spacing: 0.4px; }
.hm-unsure .hm-actions { justify-content: center; }

.hm-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-product { position: relative; display: block; border-radius: 12px; overflow: hidden; text-decoration: none; }
.hm-product img { width: 100%; height: 320px; object-fit: cover; display: block; }
.hm-product span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); color: white; font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; line-height: 1.3; }
.hm-product small { display: block; font-size: 0.6rem; letter-spacing: 3px; opacity: 0.85; }

.hm-visit { padding-bottom: 32px; }
.hm-visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: start; margin-top: 24px; }
.hm-address { font-style: normal; font-size: 0.9rem; line-height: 1.9; letter-spacing: 0.5px; margin-bottom: 22px; }
.hm-address a { color: inherit; }
.hm-h3 { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--color-darkred); margin-bottom: 12px; line-height: 1.4; }
.hm-visit .opening-hours { margin-bottom: 24px; }
.hm-map { min-height: 380px; height: 100%; }
.hm-map iframe { min-height: 380px; }

@media only screen and (max-width: 900px) {
    .hm-cards, .hm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-visit-grid { grid-template-columns: minmax(0, 1fr); }
}
@media only screen and (max-width: 600px) {
    .hm-hero { min-height: 0; flex-direction: column; align-items: stretch; }
    .hm-hero img { position: static; height: 240px; object-position: 70% 30%; }
    .hm-hero::after { display: none; }
    .hm-hero-text { padding: 28px 16px 32px; background: var(--color-main); }
    .hm-btn { width: 100%; }
    .hm-trust { justify-content: flex-start; padding: 18px 16px; gap: 10px; flex-direction: column; }
    .hm-section { padding: 48px 16px 0; }
    .hm-concerns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .hm-concerns a { padding: 12px; font-size: 0.78rem; min-height: 52px; }
    .hm-cards, .hm-products { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .hm-product img { height: 220px; }
    .hm-unsure { padding: 44px 16px; }
}

/* Behandlingsoversikten (PHP/treatments-page.php) */
.tl-head { padding-top: 48px; }
.tl-h1 { text-align: center; font-size: clamp(1.6rem, 4.5vw, 2.6rem); letter-spacing: clamp(2px, 0.8vw, 6px); line-height: 1.25; margin-bottom: 12px; }
.tl-h2-small { text-align: center; font-size: 0.8rem !important; letter-spacing: 3px !important; text-transform: uppercase; color: var(--color-darkred); margin: 8px 0 16px; }
.tl-card { position: relative; }
.tl-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.tl-book {
    position: absolute; right: 14px; bottom: 14px; min-height: 40px; padding: 8px 16px; display: inline-flex; align-items: center;
    background: var(--color-darkred); color: white; text-decoration: none; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
}
.tl-book:hover { opacity: 0.9; color: white; }
.tl-card .hm-card-body { padding-bottom: 64px; }
