/* Mobile layout refinements. Desktop styles remain in the existing sheets. */
@media (max-width: 980px) {
  .header .menu-toggle { align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 10px; flex-shrink: 0; }
  .header .menu-toggle span { transition: transform .2s ease; }
  .header.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .header.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header nav {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    padding: 12px 6% calc(24px + env(safe-area-inset-bottom));
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 28px #20211f0d;
  }
  .header.menu-open nav { display: grid; }
  .header nav > a, .header nav > .nav-link {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 0;
    text-align: left;
  }
  .header nav > a:not(.nav-book), .header nav > .nav-link { border-bottom: 1px solid #eeece6; }
  .header nav > a.active { color: var(--gold); }
  .header nav > a.active::after { display: none; }
  .header nav > .nav-book { justify-content: center; margin: 20px 0; padding-inline: 20px; }
  .header .socials { gap: 10px; padding: 0; }
  .header .social { align-items: center; justify-content: center; width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; }
  .header .social[href]:hover, .header .social[href]:focus-visible { border-color: var(--gold); }
  .header .language { justify-self: end; }
  .header .language > button { min-width: 52px; min-height: 44px; padding: 10px 0 10px 10px; text-align: right; }
  .header .language-menu { top: auto; bottom: calc(100% + 8px); right: 0; min-width: 72px; border: 1px solid var(--line); }
}
@media (max-width: 800px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-layout > * { min-width: 0; }
  .stay-qualities { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .stay-quality { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; column-gap: 18px; padding: 28px 0; text-align: left; }
  .stay-quality + .stay-quality { border-top: 1px solid #e9e6df; }
  .stay-quality::after, .stay-quality + .stay-quality::before { display: none; }
  .stay-quality:first-child { padding-top: 0; }
  .stay-quality:last-child { padding-bottom: 0; }
  .stay-illustration { width: 112px; max-width: none; height: 88px; margin: 0 0 0 -10px; }
  .stay-quality h3 { margin-bottom: 8px; }
  .stay-quality p { max-width: none; margin: 0; }
  .footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 18px 12px; align-items: center; }
  .footer-inner .brand { grid-column: 1; grid-row: 1; }
  .footer-inner .back-top { grid-column: 2; grid-row: 1; width: 44px; height: 44px; display: grid; place-items: center; }
  .footer-inner > p { display: block; grid-column: 1 / -1; margin: 0; font-family: var(--sans); font-size: 14px; font-style: normal; font-weight: 300; line-height: 23px; }
  .footer-inner > span { grid-column: 1 / -1; width: auto; font-size: 12px; line-height: 20px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header { padding-inline: 20px; gap: 12px; height: 76px; }
  .header .brand { gap: 10px; }
  .header .brand > span { font-size: 18px; }
  .header nav { padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); gap: 0; max-height: calc(100dvh - 76px); }
  .home-page .hero { min-height: 0; padding-top: clamp(140px, 20svh, 170px); margin-bottom: 120px; }
  .home-page .hero-content { margin-inline: 20px; }
  .home-page .hero h1 { font-size: clamp(39px, 11.2vw, 49px); line-height: 1.06; }
  .home-page .hero-description { max-width: 320px; margin-top: 22px; font-size: 15px; line-height: 23px; }
  .home-page .hero-bottom { margin-inline: 20px; min-height: 112px; justify-content: center; padding-right: 40px; }
  .home-page .hero-bottom > a { font-size: 13px; gap: 10px; }
  .home-page .hero-motion-toggle { width: 40px; min-height: 44px; }
  .home-page .booking { width: 100%; padding: 22px 20px; gap: 14px 12px; }
  .home-page .booking-intro { display: none; }
  .home-page .booking .date-field { grid-column: auto; }
  .home-page .booking .date-field input { font-size: 15px; }
  .section.apartments { padding-top: 56px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2, .reviews h2, .surroundings-heading h2, .contact h2 { font-size: clamp(36px, 10.4vw, 44px); line-height: 1.08; }
  .section-head > p { margin-top: 20px; }
  .carousel-stage { margin-inline: -20px; }
  .apartment-image { border-radius: 0; }
  .home-page .apartment-body { padding: 24px 20px 0; }
  .home-page .apartment-heading { flex-direction: column; align-items: center; gap: 8px; margin-inline: -20px; padding: 0 20px 22px; text-align: center; }
  .home-page .apartment-heading h3 { order: 0; width: 100%; min-width: 0; line-height: 1.15; text-wrap: balance; }
  .home-page .apartment-number { order: -1; flex-shrink: 0; gap: 10px; font-size: 18px; line-height: 22px; }
  .home-page .apartment-number::before, .home-page .apartment-number::after { content: ''; width: 18px; height: 1px; background: #d8c6a4; }
  .home-page .apartment-meta { padding-block: 24px; gap: 22px 20px; }
  .home-page .apartment-meta .apartment-spec { justify-self: center; width: 100px; max-width: 100%; align-items: flex-start; padding: 0; border-left: 0; text-align: left; }
  .home-page .apartment-meta .spec-heading { justify-content: flex-start; gap: 8px; }
  .home-page .apartment-meta svg { width: 18px; height: 18px; flex: 0 0 18px; }
  .apartment-meta .spec-value { line-height: 26px; }
  .spec-label { margin-top: 4px; line-height: 20px; }
  .apartment-gallery > .carousel-progress { margin-bottom: 22px; }
  .carousel-footer { padding: 20px 20px 0; margin-inline: -20px; }
  .home-page .carousel-footer .carousel-shared { align-items: center; text-align: center; }
  .carousel-shared { row-gap: 8px; }
  .surroundings-divider { height: 112px; }
  .about.about-moments { padding-bottom: 60px; }
  .stay-quality { grid-template-columns: 82px minmax(0, 1fr); column-gap: 16px; padding-block: 26px; }
  .stay-illustration { width: 98px; height: 82px; margin-left: -8px; }
  .stay-quality h3 { font-size: 28px; line-height: 1.12; }
  .moments-hosts { justify-items: center; gap: 24px; margin: 36px -20px 0; padding: 36px 24px 32px; border-top: 0; background: #faf9f6; text-align: center; }
  .moments-location { flex-direction: column; align-items: center; gap: 10px; }
  .moments-location strong { justify-content: center; }
  .moments-location > span { max-width: none; white-space: nowrap; }
  .moments-hosts-copy { width: 100%; max-width: 360px; }
  .moments-hosts-copy h3 { max-width: none; margin-bottom: 16px; font-size: 28px; line-height: 1.15; }
  .moments-hosts-copy h3 > span { display: block; }
  .moments-hosts-copy p { font-size: 15px; line-height: 23px; text-wrap: pretty; }
  .moments-hosts .text-link { justify-self: center; min-height: 44px; }
  .reviews { padding-block: 56px; }
  .reviews-intro { text-align: center; }
  .reviews-intro .eyebrow { justify-content: center; }
  .reviews-intro .booking-rating { justify-content: center; }
  .reviews-intro .booking-rating > div { text-align: left; }
  .reviews-intro .text-link { margin-inline: auto; }
  .reviews-layout { gap: 28px; }
  .review-cards { gap: 18px; }
  .review-card { min-height: 0; padding: 24px; }
  .review-card blockquote { font-size: 24px; line-height: 1.35; margin: 8px 0 26px; }
  .review-card figcaption { padding-top: 18px; }
  .surroundings { padding-top: 56px; padding-bottom: 72px; }
  .surroundings-heading { gap: 20px; margin-bottom: 32px; }
  .surroundings-heading > p { margin-bottom: 0; }
  .surroundings-grid { gap: 26px; }
  .surroundings-group + .surroundings-group { padding-top: 28px; border-top: 0; }
  .surroundings-group dl > div { gap: 16px; margin-inline: -20px; padding: 11px 20px; }
  .home-map iframe { height: 300px; }
  .contact { padding-block: 56px; }
  .contact-intro { margin-top: 22px; }
  .contact-intro br { display: none; }
  #contact-form .form-row { gap: 22px; margin-bottom: 22px; }
  #contact-form input:not([type="checkbox"]), #contact-form textarea { font-size: 16px; line-height: 24px; margin-top: 6px; padding-block: 10px; }
  #contact-form input:not([type="checkbox"]) { min-height: 44px; }
  #contact-form textarea { min-height: 120px; }
  #contact-form .form-bottom { margin-top: 24px; gap: 20px; }
  #contact-form .privacy-consent { min-height: 44px; align-items: center; gap: 12px; }
  #contact-form .privacy-consent input { flex-basis: 20px; width: 20px; height: 20px; margin-top: 0; }
  #contact-form button[type="submit"] { width: 100%; min-height: 50px; justify-content: center; }
  #form-status:empty { display: none; }
  footer { padding-block: 32px; }
}

@media (max-width: 360px) {
  .contact-direct a[href^="mailto:"] { font-size: 14px; }
  .header .brand > span { font-size: 16px; }
  .header .brand > span > span { font-size: 8px; }
  .home-page .booking { padding-inline: 16px; gap: 14px 10px; }
  .home-page .booking .date-field { padding: 9px 7px; }
  .stay-quality { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
  .stay-illustration { width: 82px; height: 74px; }
  .stay-quality h3 { font-size: 26px; }
  .review-card { padding: 22px; }
}
