/* Mobile and tablet refinements. Loaded only up to 900px. */
html { scroll-padding-top: 92px; }
.lh-header { height: 76px; background: rgba(250,247,242,.98); border-bottom: 1px solid #dfdad366; }
.lh-header-inner { width: calc(100% - 36px); gap: 12px; }
.lh-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; flex-shrink: 0; }
.lh-header-actions { gap: 16px; }
.lh-header-actions .lh-button { min-height: 44px; font-size: 15px; padding: 11px 15px; gap: 8px; }
.lh-header-actions .lh-icon { display: block; width: 18px; height: 18px; flex-basis: 18px; }
.lh-language-switch summary { min-height: 44px; padding: 8px 3px; }
.lh-language-switch nav { right: 0; min-width: 155px; }
.lh-navigation { top: calc(100% - 1px); left: 18px; right: 18px; max-height: calc(100dvh - 100px); padding: 12px; gap: 2px; }
.lh-navigation > a { min-height: 48px; padding: 11px 14px; border-radius: 7px; }
.lh-navigation > a:hover { background: var(--ivory); }

.lh-hero { height: auto; min-height: 0; }
.lh-hero-inner { width: calc(100% - 48px); height: auto; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; gap: 20px; padding: 34px 0 26px; }
.lh-hero-copy { width: 100%; min-width: 0; }
.lh-hero h1 { font-size: clamp(44px,7vw,62px); white-space: normal; }
.lh-description { margin-bottom: 0; line-height: 1.65; }
.lh-hero-visual { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: auto; margin: 0; }
.lh-house-art { position: relative; inset: auto; width: 100%; max-width: 100%; height: auto; transform: scale(.8); transform-origin: center; }
.lh-benefits { padding: 22px 0; }
.lh-benefits-inner { width: calc(100% - 40px); }
.lh-benefits-inner > a { gap: 12px; }
.lh-gallery { scroll-margin-top: 16px; }
.lh-photo-card { border-radius: 12px; }
.lh-card-caption { font-size: clamp(19px,2.6vw,24px); line-height: 1.3; }

.lh-dialog { width: min(640px,calc(100% - 28px)); max-height: calc(100dvh - 28px); overscroll-behavior: contain; padding: 42px 24px 26px; }
.lh-dialog h2 { font-size: clamp(29px,5vw,38px); line-height: 1.15; overflow-wrap: anywhere; }
.lh-dialog-close { width: 44px; height: 44px; display: grid; place-items: center; }
.lh-booking-form input, .lh-booking-form select, .lh-booking-form textarea { min-height: 46px; font-size: 16px; padding: 11px; }
.lh-booking-form input[type="date"] { appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; }
.lh-booking-form input::-webkit-date-and-time-value { text-align: left; min-height: 1.5em; }
.lh-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.lh-booking-form label { min-width: 0; }
.lh-booking-form .lh-button { width: 100%; white-space: normal; }
.lh-contact-email { overflow-wrap: anywhere; }
.lh-lightbox { padding: 0; }
.lh-lightbox-image { max-height: 65dvh; }
.lh-guide-card, .lh-guide-intro, .lh-guide-note { overflow-wrap: anywhere; }

@media (max-width: 600px) {
    .lh-header { height: 72px; }
    .lh-header-inner { width: calc(100% - 28px); gap: 8px; }
    .lh-header-actions { gap: 12px; }
    .lh-navigation { left: 14px; right: 14px; }
    .lh-hero-inner { width: calc(100% - 40px); grid-template-columns: minmax(0,1fr); gap: 0; padding: 28px 0 14px; }
    .lh-hero-copy { text-align: center; }
    .lh-hero .lh-eyebrow { font-size: 10px; letter-spacing: .23em; margin-bottom: 12px; }
    .lh-hero h1 { font-size: clamp(36px,10.8vw,62px); white-space: nowrap; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 12px; }
    .lh-tagline { display: block; white-space: normal; font-size: 10px; letter-spacing: .12em; line-height: 1.9; margin: 0 0 16px; }
    .lh-tagline > span { display: inline-block; font-size: 10px; margin: 0 5px; }
    .lh-hero .lh-description { font-size: 16px; line-height: 1.6; max-width: 36ch; margin: 0 auto; text-wrap: pretty; }
    .lh-hero-visual { width: min(100%,300px); margin: 10px auto 0; }
    .lh-benefits { padding: 20px 0 24px; }
    .lh-benefits-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .lh-benefits-inner > a { padding: 14px 10px; min-height: 86px; gap: 10px; font-size: 14px; background: var(--ivory); border: 1px solid #e9e1d6; border-radius: 11px; }
    .lh-benefits-inner > a > span { min-width: 0; overflow-wrap: anywhere; }
    .lh-benefits .lh-icon { width: 29px; height: 29px; flex-basis: 29px; }
    .lh-gallery { padding: 0 20px; }
    .lh-gallery-grid { gap: 16px; }
    .lh-photo-card { aspect-ratio: 1.5; }
    .lh-card-caption { left: 18px; right: 18px; bottom: 18px; font-size: clamp(21px,5.6vw,27px); gap: 10px; }
    .lh-card-caption .lh-icon { margin-left: auto; flex-shrink: 0; }
    .lh-footer { padding: 32px 0 24px; }
    .lh-footer .lh-footer-inner { width: calc(100% - 40px); align-items: stretch; gap: 20px; }
    .lh-footer .lh-footer-contact { font-size: 17px; line-height: 1.5; gap: 12px; }
    .lh-footer .lh-footer-contact > .lh-icon { width: 23px; height: 23px; flex-basis: 23px; }
    .lh-footer .lh-footer-contact > span { min-width: 0; overflow-wrap: anywhere; }
    .lh-footer .lh-footer-contact small { font-size: 14px; line-height: 1.5; }
    .lh-footer-end { padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
    .lh-footer .lh-footer-end > p { font-size: 14px; line-height: 1.6; }
    .lh-guide-wrap { width: calc(100% - 40px); }
    .lh-guide-hero { padding: 32px 0; }
    .lh-guide-hero--domica { min-height: 290px; }
    .lh-guide-hero h1 { font-size: clamp(42px,11vw,58px); line-height: 1.1; margin-bottom: 16px; }
    .lh-guide-intro { font-size: 16px; line-height: 1.65; }
    .lh-guide-back { margin-bottom: 22px; }
    .lh-guide-content { padding-top: 24px; padding-bottom: 36px; }
    .lh-guide-tabs { gap: 10px; margin-bottom: 32px; }
    .lh-guide-tabs a { display: flex; align-items: center; min-height: 44px; font-size: 14px; padding: 10px 16px; }
    .lh-guide-section { margin-bottom: 36px; scroll-margin-top: 92px; }
    .lh-guide-section h2 { font-size: 31px; line-height: 1.2; }
    .lh-guide-card { padding: 22px; }
    .lh-guide-card h3 { font-size: 26px; line-height: 1.2; }
    .lh-guide-card > p { line-height: 1.65; }
    .lh-guide-card > a { min-height: 44px; display: inline-block; }
    .lh-guide-note { padding: 22px; }
    .lh-guide-note h2 { font-size: 25px; }
}
@media (max-width: 360px) {
    .lh-header-actions { gap: 8px; }
    .lh-header-actions .lh-button { font-size: 14px; padding: 10px 12px; }
    .lh-benefits-inner > a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px; }
    .lh-form-grid { grid-template-columns: minmax(0,1fr); }
    .lh-dialog { padding-left: 18px; padding-right: 18px; }
}
@media (max-height: 500px) and (orientation: landscape) {
    .lh-dialog { max-height: calc(100dvh - 16px); margin: 8px auto; }
}
