/* AM Hausservice – theme styles. Desktop values follow the Figma frames at 1440 px; tablet and phone layouts below. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #081d3a;
  --navy-hover: #14335c;
  --beige: #fff6e4;
  --sand: #f3e5c8;
  --sand-hover: #f8eed9;
  --sand-light: #fbf6ec;
  --grey: #898e8e;
  --grey-text: #6c7171;
  --line: #d1d5da;
  --white: #fff;
  --font: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --container: 1312px;
  --gutter: 64px;
  --header-h: 108px;
  --section: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(8, 29, 58, .08);
  --ease: cubic-bezier(.25, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--font); font-size: 16px; line-height: 1.26; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body.amh-menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.amh-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--white); color: var(--navy); font-weight: 700; }
.amh-skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.amh-header :focus-visible, .amh-footer :focus-visible, .amh-hero :focus-visible { outline-color: var(--sand); }
.amh-icon { width: 20px; height: 20px; flex: 0 0 auto; }

.amh-container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.amh-section { padding-block: var(--section); }
.amh-section--beige { background: var(--beige); }

/* ---------- Type ---------- */
.amh-h1 { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1.26; font-weight: 700; letter-spacing: -.01em; }
.amh-h2 { font-size: clamp(2.125rem, 1.45rem + 2.4vw, 3.5rem); line-height: 1.26; font-weight: 700; letter-spacing: -.01em; }
.amh-h2--tight { line-height: 1; letter-spacing: -.03em; }
.amh-h3 { font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.75rem); line-height: 1.26; font-weight: 700; letter-spacing: -.01em; }
.amh-h4 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.26; font-weight: 700; }
.amh-text, .amh-rich p, .amh-rich li { font-size: 18px; line-height: 1.33; }
.amh-lead { font-size: 18px; line-height: 1.26; }

/* ---------- Buttons ---------- */
.amh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 0; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.26; font-weight: 700; text-align: center; transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.amh-btn .amh-icon { transition: transform .25s var(--ease); }
.amh-btn:hover .amh-icon, .amh-btn:focus-visible .amh-icon { transform: translateX(3px); }
.amh-btn--dark { background: var(--navy); color: var(--white); }
.amh-btn--dark:hover, .amh-btn--dark:focus-visible { background: var(--navy-hover); }
.amh-btn--light { background: var(--sand); color: var(--navy); }
.amh-btn--light:hover, .amh-btn--light:focus-visible { background: var(--sand-hover); }
.amh-btn:active { transform: translateY(1px); }
.amh-btn[disabled] { opacity: .6; cursor: progress; }

.amh-arrows { display: flex; gap: 12px; }
.amh-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); transition: background-color .25s var(--ease), color .25s var(--ease); }
.amh-arrow:hover:not([disabled]) { background: var(--navy-hover); }
.amh-arrow[disabled] { background: #a9aaa8; color: #fff9ed; cursor: default; }
.amh-arrow--light { background: var(--sand); color: var(--navy); }
.amh-arrow--light:hover:not([disabled]) { background: var(--sand-hover); }
.amh-arrow--light[disabled] { background: var(--sand-light); color: #bdc1c7; }

/* ---------- Header ---------- */
.amh-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--navy); color: var(--white); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease); }
.amh-has-hero .amh-header { position: fixed; left: 0; right: 0; background: transparent; }
.amh-has-hero .amh-header.is-solid, .amh-header.is-solid { background: var(--navy); box-shadow: 0 6px 24px rgba(8, 29, 58, .18); }
.amh-header-inner { display: flex; align-items: center; height: 100%; padding-inline: 80px; max-width: 1600px; margin-inline: auto; }
.amh-logo { flex: 0 0 auto; display: block; }
.amh-logo img { width: 90px; height: 60px; }
.amh-nav { margin-left: 56px; }
.amh-nav-list { display: flex; align-items: center; gap: 32px; }
.amh-nav-list > li > a { display: inline-block; padding: 8px 0; font-size: 14px; font-weight: 500; line-height: 1.26; white-space: nowrap; position: relative; }
.amh-nav-list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.amh-nav-list > li > a:hover::after, .amh-nav-list > li > a:focus-visible::after { transform: scaleX(1); }
.amh-nav-has-sub { position: relative; display: flex; align-items: center; }
.amh-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 32px; margin-left: 8px; padding: 0; border: 0; background: none; color: inherit; }
.amh-sub-toggle .amh-icon { transition: transform .25s var(--ease); }
.amh-nav-has-sub.is-open .amh-sub-toggle .amh-icon { transform: rotate(180deg); }
.amh-sub { position: absolute; top: calc(100% + 14px); left: -20px; min-width: 300px; padding: 10px; border-radius: var(--radius); background: var(--white); color: var(--navy); box-shadow: 0 16px 40px rgba(8, 29, 58, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.amh-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.amh-nav-has-sub.is-open .amh-sub { opacity: 1; visibility: visible; transform: translateY(0); }
@media (hover: hover) and (min-width: 1101px) { .amh-nav-has-sub:hover .amh-sub { opacity: 1; visibility: visible; transform: translateY(0); } .amh-nav-has-sub:hover .amh-sub-toggle .amh-icon { transform: rotate(180deg); } }
.amh-sub a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; transition: background-color .2s var(--ease); }
.amh-sub a:hover, .amh-sub a:focus-visible, .amh-sub a[aria-current] { background: var(--beige); }
.amh-sub-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid #eee5d3; }
.amh-sub-all a { font-weight: 700; }
.amh-nav-mobile-extra { display: none; }
.amh-header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.amh-header-cta { white-space: nowrap; }
.amh-header-social { display: inline-flex; color: var(--white); transition: opacity .2s var(--ease); }
.amh-header-social:hover { opacity: .75; }
.amh-lang { position: relative; margin-left: 8px; }
.amh-lang-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 0; border: 0; background: none; color: var(--white); font-size: 14px; font-weight: 500; }
.amh-lang-toggle .amh-icon { transition: transform .25s var(--ease); }
.amh-lang.is-open .amh-lang-toggle .amh-icon { transform: rotate(180deg); }
.amh-lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; padding: 8px; border-radius: var(--radius); background: var(--white); color: var(--navy); box-shadow: 0 16px 40px rgba(8, 29, 58, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.amh-lang.is-open .amh-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.amh-lang-menu a { display: flex; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; }
.amh-lang-menu a span { font-weight: 400; }
.amh-lang-menu a:hover, .amh-lang-menu a[aria-current] { background: var(--beige); }
.amh-burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.amh-burger > span:not(.screen-reader-text) { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease); }
.amh-burger > span:nth-child(1) { top: 15px; }
.amh-burger > span:nth-child(2) { top: 21px; }
.amh-burger > span:nth-child(3) { top: 27px; }
.amh-burger[aria-expanded="true"] > span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.amh-burger[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.amh-burger[aria-expanded="true"] > span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.amh-hero { position: relative; height: 763px; overflow: hidden; background: var(--navy); color: var(--white); }
.amh-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.amh-hero-copy { position: relative; z-index: 1; padding: 147px var(--gutter) 0; text-align: center; }
.amh-hero h1 { font-size: clamp(2.25rem, 1.4rem + 3.1vw, 4rem); line-height: 1.26; font-weight: 700; letter-spacing: -.01em; }
.amh-hero p { max-width: 900px; margin: 9px auto 0; font-size: clamp(1rem, .82rem + .72vw, 1.3125rem); line-height: 1.26; font-weight: 600; }

/* ---------- Home: trust + intro ---------- */
.amh-head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.amh-trust-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.amh-trust-card { padding: 16px; border-radius: var(--radius); background: var(--beige); box-shadow: var(--shadow); }
.amh-trust-head { display: flex; align-items: center; gap: 16px; }
.amh-trust-icon { flex: 0 0 100px; }
.amh-trust-icon img { width: 100px; height: 100px; }
.amh-trust-card h3 { font-size: 21px; line-height: 1.26; font-weight: 700; }
.amh-trust-card p { margin-top: 24px; font-size: 16px; line-height: 1.25; }
.amh-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.amh-split--center { align-items: center; }
.amh-split--wide { grid-template-columns: minmax(0, 616fr) minmax(0, 656fr); }
.amh-intro { margin-top: 38px; }
.amh-intro-copy .amh-text { margin-top: 16px; }
.amh-media { overflow: hidden; border-radius: var(--radius); }
.amh-media img { width: 100%; height: auto; }

/* ---------- Services grid + cards ---------- */
.amh-services-title { margin-bottom: 40px; text-align: center; }
.amh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.amh-card { display: flex; flex-direction: column; padding: 16px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.amh-card:hover { box-shadow: 0 12px 32px rgba(8, 29, 58, .14); transform: translateY(-2px); }
.amh-card-media { display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 395 / 300; }
.amh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.amh-card:hover .amh-card-media img { transform: scale(1.03); }
.amh-card-title { margin-top: 16px; font-size: 21px; line-height: 1.26; font-weight: 700; }
.amh-card-text { margin: 12px 0 16px; font-size: 16px; line-height: 1.25; flex: 1 0 auto; }
.amh-card-btn { align-self: flex-start; }
.amh-separator { display: flex; align-items: center; gap: 64px; margin-top: 40px; }
.amh-separator span { flex: 1; height: 1px; background: var(--navy); }
.amh-separator img { width: 58px; height: auto; }

/* ---------- Before / after ---------- */
.amh-gallery-head .amh-lead { margin-top: 16px; }
.amh-ba { display: grid; gap: 16px; margin-top: 42px; }
.amh-ba-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.amh-ba-row--right .amh-ba-item:first-child { grid-column-start: 2; }
.amh-ba-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 250 / 350; background: #eef0f2; }
.amh-ba-item img { width: 100%; height: 100%; object-fit: cover; }
.amh-badge { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 7px 12px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; }

/* ---------- Reviews ---------- */
.amh-reviews { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 40px; margin-top: 37px; padding: 24px; }
.amh-reviews-title { font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); line-height: 1.26; font-weight: 700; }
.amh-reviews-summary > p { max-width: 330px; margin-top: 8px; font-size: 16px; line-height: 1.25; }
.amh-rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 14px; }
.amh-rating strong { font-size: 18px; font-weight: 600; }
.amh-rating .amh-stars { width: 80px; height: 16px; }
.amh-reviews-track { position: relative; }
.amh-review.is-active { animation: amh-fade .45s var(--ease); }
.amh-review p { padding-bottom: 24px; border-bottom: 1px solid var(--navy); font-size: 20px; line-height: 1.25; font-weight: 600; }
.amh-review footer { margin-top: 28px; font-size: 16px; color: #3b4658; }

.amh-reviews-body .amh-arrows { justify-content: flex-end; margin-top: 24px; }
@keyframes amh-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Ecology ---------- */
.amh-eco-title { max-width: 760px; }
.amh-eco-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.amh-eco-brand { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.26; font-weight: 700; }
.amh-eco-col > .amh-text { margin-top: 7px; }
.amh-eco-label { margin-top: 24px; font-size: 16px; font-weight: 700; }
.amh-cert { display: grid; grid-template-columns: 106px minmax(0, 490px); gap: 16px; margin-top: 16px; }
.amh-cert + .amh-cert { margin-top: 24px; }
.amh-cert img { width: 106px; height: auto; max-height: 106px; object-fit: contain; }
.amh-cert h4 { font-size: 21px; line-height: 1.26; font-weight: 700; }
.amh-cert p { margin-top: 6px; font-size: 18px; line-height: 1.33; }
.amh-eco-media { margin-top: 45px; }

/* ---------- Contact ---------- */
.amh-contact-layout { align-items: stretch; }
.amh-contact-media { min-height: 100%; }
.amh-contact-media img { width: 100%; height: 100%; object-fit: cover; }
.amh-contact-copy .amh-h2 { margin-bottom: 18px; }
.amh-contact-copy > .amh-text { font-size: 18px; line-height: 1.28; }
.amh-contact-copy > .amh-text + .amh-text { margin-top: 16px; }
.amh-contact-links { display: grid; gap: 8px; margin: 16px 0; }
.amh-contact-links li { display: flex; }
.amh-contact-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; line-height: 1.26; transition: opacity .2s var(--ease); }
.amh-contact-links a:hover { opacity: .75; }
.amh-contact-links img, .amh-contact-badge { width: 32px; height: 32px; flex: 0 0 32px; }
.amh-contact-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--navy); color: var(--white); }
.amh-contact-badge .amh-icon { width: 20px; height: 20px; }
.amh-contact-links + .amh-text { margin-top: 0 !important; }

/* ---------- Form ---------- */
.amh-form { margin-top: 42px; }
.amh-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.amh-form-field { display: flex; flex-direction: column; gap: 8px; }
.amh-form-field label { padding-left: 2px; font-size: 14px; line-height: 1.26; }
.amh-form-field input, .amh-form-field textarea { width: 100%; border: 1px solid var(--grey); border-radius: 10px; background: var(--white); color: var(--navy); font-size: 16px; font-weight: 600; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.amh-form-field input { height: 52px; padding: 0 15px; }
.amh-form-field textarea { min-height: 145px; padding: 14px 15px; resize: vertical; line-height: 1.4; }
.amh-form-field input::placeholder, .amh-form-field textarea::placeholder { color: var(--grey); font-weight: 400; opacity: 1; }
.amh-form-field input:not(:placeholder-shown), .amh-form-field textarea:not(:placeholder-shown), .amh-form-field input:focus, .amh-form-field textarea:focus { border-color: var(--navy); }
.amh-form-field input:focus, .amh-form-field textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(8, 29, 58, .12); }
.amh-form-field--message { margin-top: 24px; position: relative; }
.amh-form-count { align-self: flex-end; margin-top: -2px; font-size: 12px; color: var(--grey-text); }
.amh-form-photos { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.amh-form-photos-label { padding-left: 2px; font-size: 14px; line-height: 1.26; }
.amh-photos-row { display: flex; flex-wrap: wrap; gap: 8px; }
.amh-photos-list { display: contents; }
.amh-photo { position: relative; width: 72px; height: 72px; overflow: hidden; border-radius: 10px; background: var(--beige); }
.amh-photo img { width: 100%; height: 100%; object-fit: cover; }
.amh-photo-ext { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 12px; font-weight: 700; }
.amh-photo-remove { position: absolute; top: 4px; right: 4px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 1px 4px rgba(8, 29, 58, .2); }
.amh-photo-remove .amh-icon { width: 14px; height: 14px; }
.amh-photo-remove:hover { background: var(--white); }
.amh-photos-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.amh-photos-add { display: inline-flex; align-items: center; gap: 10px; min-height: 72px; padding: 0 20px; border: 1px dashed var(--grey); border-radius: 10px; background: var(--white); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.amh-photos-add .amh-icon { width: 24px; height: 24px; }
.amh-photos-add:hover { border-color: var(--navy); background: var(--sand-light); }
.amh-photos-add[hidden] { display: none; }
.amh-photos-input:focus-visible + .amh-photos-add { outline: 2px solid var(--navy); outline-offset: 3px; }
.amh-photos-hint { font-size: 12px; line-height: 1.4; color: var(--grey-text); }
.amh-form-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.amh-form-consent input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; border: 1px solid var(--navy); border-radius: 6px; background: var(--white) center / 14px no-repeat; cursor: pointer; transition: background-color .2s var(--ease); }
.amh-form-consent input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.4 11.6 3.8' fill='none' stroke='%23081D3A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.amh-form-consent label { font-size: 14px; line-height: 1.43; color: #3b4658; cursor: pointer; }
.amh-form-consent a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(8, 29, 58, .35); text-underline-offset: 3px; }
.amh-form-consent a:hover { text-decoration-color: var(--navy); }
.amh-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 24px; }
.amh-form-status { margin-right: auto; font-size: 14px; line-height: 1.4; }
.amh-form-status.is-error { color: #b42318; }
.amh-form-status.is-success { color: #12703a; font-weight: 600; }
.amh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.amh-form.is-invalid :invalid { border-color: #b42318; }
.amh-form.is-invalid input[type=checkbox]:invalid { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }

/* ---------- Subpages ---------- */
.amh-page-top { padding-top: 32px; }
.amh-breadcrumb { max-width: 1600px; margin: 0 auto 64px; padding-inline: 80px; }
.amh-page-top--compact .amh-breadcrumb { margin-bottom: 65px; }
.amh-contact--page { padding-top: 0; }
.amh-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; line-height: 1.26; }
.amh-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--grey-text); }
.amh-breadcrumb li:last-child { color: var(--navy); font-weight: 500; }
.amh-breadcrumb a { transition: color .2s var(--ease); }
.amh-breadcrumb a:hover { color: var(--navy); }
.amh-breadcrumb-sep { width: 14px; height: 14px; }
.amh-page-intro { padding-top: 42px; }
.amh-rich > * + * { margin-top: 16px; }
.amh-rich .amh-h3, .amh-rich .amh-h4 { margin-bottom: 8px; }
.amh-rich .amh-h4 + p { margin-top: 40px; }
.amh-rich .amh-list-tight { margin-top: 8px; }
.amh-rich .amh-list-tight li + li { margin-top: 8px; }
.amh-rich .amh-list-tight + p { margin-top: 8px; }
.amh-rich ul { padding-left: 27px; list-style: disc; }
.amh-rich ul li + li { margin-top: 4px; }
.amh-rich ul + p { margin-top: 16px; }
.amh-rich-subtitle { font-size: 18px; line-height: 1.33; font-weight: 700; }
.amh-rich-subtitle + ul { margin-top: 16px; }
.amh-rich strong { font-weight: 700; }
.amh-rich a { text-decoration: underline; text-underline-offset: 3px; }
.amh-about { align-items: start; }
.amh-about .amh-rich { margin-top: 0; }
.amh-about-trust { margin-top: 37px; }
.amh-about .amh-h3 { max-width: 520px; }
.amh-why .amh-split { align-items: start; }
.amh-why .amh-h2 { line-height: 1.05; letter-spacing: -.03em; }
.amh-checklist { display: grid; gap: 8px; margin: 40px 0 44px; }
.amh-checklist li { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 1.33; }
.amh-checklist .amh-icon { width: 32px; height: 32px; }
.amh-cta-copy .amh-text { margin: 17px 0 44px; font-size: 18px; line-height: 1.28; }
.amh-more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.amh-more-head .amh-text { max-width: 950px; margin-top: 16px; }
.amh-more-head .amh-arrows { flex: 0 0 auto; margin-bottom: 2px; }
.amh-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 8px; margin: -8px; scroll-padding-inline: 8px; }
.amh-slider::-webkit-scrollbar { display: none; }
.amh-slider > * { scroll-snap-align: start; }
.amh-slider .amh-card:hover { transform: none; }
.amh-service-media img { width: 100%; height: auto; }
.amh-service-intro .amh-rich > p + p { margin-top: 8px; }
.amh-service-intro .amh-rich .amh-h4 + p { margin-top: 40px; }
.amh-service-reviews { padding-top: 0; }
.amh-service-reviews .amh-reviews { margin-top: 0; }
.amh-legal .amh-prose { max-width: 860px; }
.amh-prose h2 { margin: 40px 0 12px; font-size: 24px; line-height: 1.26; font-weight: 700; }
.amh-prose h2:first-child { margin-top: 0; }
.amh-prose p, .amh-prose li { font-size: 18px; line-height: 1.5; }
.amh-prose p + p { margin-top: 12px; }
.amh-prose ul { padding-left: 24px; list-style: disc; }
.amh-prose a { text-decoration: underline; text-underline-offset: 3px; }
.amh-404 { padding-block: 120px 160px; text-align: center; }
.amh-404 .amh-text { max-width: 560px; margin: 16px auto 32px; }
.amh-404-code { font-size: clamp(5rem, 3rem + 8vw, 10rem); line-height: 1; font-weight: 800; letter-spacing: -.05em; color: var(--navy); }
.amh-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.amh-footer { position: relative; overflow: hidden; background: var(--navy) url("../images/footer-pattern-1x.webp") center bottom / cover no-repeat; color: var(--white); }
@media (min-resolution: 1.5dppx) { .amh-footer { background-image: url("../images/footer-pattern.webp"); } }
.amh-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 80px; min-height: 256px; padding-block: 63px 48px; }
.amh-footer-logo img { width: 90px; height: 60px; }
.amh-footer-socials { display: flex; gap: 20px; margin-top: 49px; }
.amh-footer-socials a { display: inline-flex; color: var(--white); transition: opacity .2s var(--ease); }
.amh-footer-socials a:hover { opacity: .75; }
.amh-footer-socials .amh-icon { width: 24px; height: 24px; }
.amh-footer-nav { padding-top: 2px; }
.amh-footer-label { display: block; font-size: 14px; color: #a9b1bd; }
.amh-footer-nav ul { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; }
.amh-footer-nav a { font-size: 14px; font-weight: 500; transition: opacity .2s var(--ease); }
.amh-footer-nav a:hover { opacity: .75; }
.amh-footer-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; padding-top: 10px; }
.amh-footer-lang { display: flex; align-items: center; font-size: 14px; }
.amh-footer-lang li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; margin: 0 10px; background: var(--white); vertical-align: -1px; }
.amh-footer-lang a { color: #a9b1bd; transition: color .2s var(--ease); }
.amh-footer-lang a[aria-current], .amh-footer-lang a:hover { color: var(--white); font-weight: 600; }
.amh-footer-credit { font-size: 12px; color: #a9b1bd; }
.amh-footer-credit a { text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Laptop (≤ 1280)
   ========================================================= */
@media (max-width: 1280px) {
  :root { --gutter: 48px; }
  .amh-header-inner { padding-inline: 48px; }
  .amh-breadcrumb { padding-inline: 48px; }
  .amh-nav { margin-left: 40px; }
  .amh-nav-list { gap: 24px; }
  .amh-header-actions { gap: 14px; }
  .amh-reviews { grid-template-columns: 320px minmax(0, 1fr); }
  .amh-footer-inner { column-gap: 48px; }
}

/* =========================================================
   Tablet (≤ 1100): mobile navigation
   ========================================================= */
@media (max-width: 1100px) {
  :root { --gutter: 40px; --header-h: 80px; --section: 56px; }
  .amh-header-inner { padding-inline: 40px; }
  .amh-breadcrumb { padding-inline: 40px; margin-bottom: 40px; }
  .amh-logo img { width: 72px; height: 48px; }
  .amh-header-cta, .amh-header-social { display: none; }
  .amh-burger { display: inline-block; margin-right: -8px; }
  .amh-lang { margin-left: 0; }
  .amh-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0; padding: 24px 40px 40px; overflow-y: auto; background: var(--navy); display: flex; flex-direction: column; gap: 32px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .amh-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .amh-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .amh-nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .amh-nav-list > li > a { display: block; padding: 16px 0; font-size: 22px; font-weight: 600; }
  .amh-nav-list > li > a::after { display: none; }
  .amh-nav-has-sub { flex-wrap: wrap; }
  .amh-nav-has-sub > a { flex: 1; }
  .amh-sub-toggle { width: 44px; height: 44px; margin: 0 -10px 0 0; }
  .amh-sub-toggle .amh-icon { width: 24px; height: 24px; }
  .amh-sub { position: static; flex: 0 0 100%; min-width: 0; padding: 0 0 12px; background: none; color: var(--white); box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .amh-sub::before { display: none; }
  .amh-nav-has-sub.is-open .amh-sub { display: block; }
  .amh-sub a { padding: 10px 0 10px 16px; font-size: 17px; color: #dde3eb; }
  .amh-sub a:hover, .amh-sub a:focus-visible, .amh-sub a[aria-current] { background: none; color: var(--white); }
  .amh-sub-all { border-top: 0; margin-top: 0; padding-top: 0; }
  .amh-nav-mobile-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .amh-nav-contact { font-size: 16px; color: #dde3eb; }
  .amh-nav-socials { display: flex; gap: 20px; }
  .amh-nav-socials .amh-icon { width: 26px; height: 26px; }
  .amh-hero { height: 620px; }
  .amh-hero-copy { padding-top: 130px; }
  .amh-trust-list { grid-template-columns: 1fr; }
  .amh-trust-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); column-gap: 20px; align-items: center; }
  .amh-trust-head { display: contents; }
  .amh-trust-card p { grid-column: 2; margin-top: 8px; }
  .amh-trust-card h3 { align-self: end; }
  .amh-trust-icon { grid-row: span 2; align-self: start; }
  .amh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amh-slider { grid-auto-columns: calc((100% - 16px) / 2); }
  .amh-reviews { grid-template-columns: 1fr; gap: 24px; padding: 0; }
  .amh-eco-cols { gap: 32px; }
  .amh-cert { grid-template-columns: 80px minmax(0, 1fr); }
  .amh-cert img { width: 80px; }
  .amh-footer-inner { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .amh-footer-side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}

/* =========================================================
   Small tablet (≤ 900): single column
   ========================================================= */
@media (max-width: 900px) {
  .amh-split, .amh-split--wide { grid-template-columns: 1fr; gap: 32px; }
  .amh-intro .amh-media { order: -1; }
  .amh-about-media { max-width: 560px; }
  .amh-why .amh-media { order: -1; }
  .amh-cta-media { order: 0; }
  .amh-eco-cols { grid-template-columns: 1fr; gap: 48px; }
  .amh-contact-media { max-height: 520px; }
  .amh-contact-media img { object-position: center 30%; }
  .amh-contact--page .amh-contact-media { max-height: 420px; }
  .amh-ba-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .amh-ba { gap: 12px; }
  .amh-ba-row--right .amh-ba-item:first-child { grid-column-start: auto; }
  .amh-more-head { align-items: flex-start; flex-direction: column; gap: 24px; }
  .amh-more-head .amh-arrows { align-self: flex-end; }
  .amh-cta-copy .amh-text { margin-bottom: 28px; }
}

/* =========================================================
   Phone (≤ 640)
   ========================================================= */
@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 72px; --section: 48px; --radius: 10px; }
  body { font-size: 15px; }
  .amh-header-inner { padding-inline: 20px; }
  .amh-breadcrumb { padding-inline: 20px; margin-bottom: 28px; }
  .amh-page-top { padding-top: 20px; }
  .amh-page-intro { padding-top: 28px; }
  .amh-logo img { width: 63px; height: 42px; }
  .amh-nav { padding: 16px 20px 32px; }
  .amh-nav-list > li > a { font-size: 20px; padding: 14px 0; }
  .amh-hero { height: auto; min-height: 560px; }
  .amh-hero-img { object-position: 50% 100%; }
  .amh-hero-copy { padding: 112px 20px 260px; }
  .amh-hero h1 br { display: none; }
  .amh-text, .amh-rich p, .amh-rich li, .amh-contact-copy > .amh-text, .amh-cta-copy .amh-text { font-size: 16px; }
  .amh-lead { font-size: 17px; }
  .amh-head-row { margin-bottom: 24px; }
  .amh-head-row .amh-btn { flex: 0 0 auto; }
  .amh-trust-card { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; padding: 14px; }
  .amh-trust-icon img { width: 64px; height: 64px; }
  .amh-trust-icon { flex-basis: 64px; }
  .amh-trust-card h3 { font-size: 18px; }
  .amh-trust-card p { grid-column: 1 / -1; margin-top: 14px; font-size: 15px; }
  .amh-trust-icon { grid-row: auto; }
  .amh-trust-card h3 { align-self: center; }
  .amh-intro { margin-top: 32px; }
  .amh-services-title { margin-bottom: 28px; }
  .amh-cards { grid-template-columns: 1fr; gap: 14px; }
  .amh-card { padding: 12px; }
  .amh-card-title { margin-top: 14px; font-size: 20px; }
  .amh-card-text { margin: 8px 0 16px; font-size: 15px; }
  .amh-slider { grid-auto-columns: 86%; gap: 12px; }
  .amh-separator { gap: 24px; margin-top: 28px; }
  .amh-separator img { width: 48px; }
  .amh-ba { margin-top: 28px; gap: 10px; }
  .amh-ba-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .amh-badge { top: 6px; left: 6px; padding: 5px 9px; font-size: 11px; line-height: 14px; }
  .amh-reviews { margin-top: 32px; }
  .amh-review p { font-size: 18px; line-height: 1.3; }
  .amh-eco-cols { margin-top: 28px; }
  .amh-eco-label { margin-top: 20px; }
  .amh-cert { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .amh-cert img { width: 64px; }
  .amh-cert h4 { font-size: 18px; }
  .amh-cert p { font-size: 15px; }
  .amh-eco-media { margin-top: 32px; }
  .amh-eco-media img { aspect-ratio: 4 / 3; object-fit: cover; }
  .amh-contact-media { max-height: 360px; }
  .amh-contact-links a { font-size: 16px; overflow-wrap: anywhere; }
  .amh-form { margin-top: 28px; }
  .amh-form-row { grid-template-columns: 1fr; gap: 16px; }
  .amh-form-field--message { margin-top: 16px; }
  .amh-form-consent label { font-size: 13px; }
  .amh-form-actions { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .amh-form-actions .amh-btn { width: 100%; }
  .amh-form-status { margin: 0; text-align: center; }
  .amh-checklist { margin: 24px 0 32px; }
  .amh-checklist li { font-size: 16px; }
  .amh-checklist .amh-icon { width: 28px; height: 28px; }
  .amh-more-head { margin-bottom: 24px; }
  .amh-prose p, .amh-prose li { font-size: 16px; }
  .amh-footer-inner { grid-template-columns: 1fr; padding-block: 40px 32px; row-gap: 28px; }
  .amh-footer-socials { margin-top: 24px; }
  .amh-footer-nav ul { margin-top: 16px; flex-direction: column; gap: 12px; }
  .amh-footer-side { flex-direction: column; align-items: flex-start; gap: 16px; }
  .amh-404 { padding-block: 72px 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
