﻿@media (max-width: 1180px) {
  .services-row {
    grid-template-columns: repeat(auto-fit, minmax(210px, 270px));
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .before-after-slide {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-media {
    min-height: 280px;
  }

  .benefits-layout,
  .booking-cta,
  .inner-hero-card,
  .story-grid,
  .detail-layout,
  .booking-layout,
  .contact-layout,
  .mosaic-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }

  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 0.75rem);
    left: 1rem;
    right: 1rem;
    border-radius: 20px;
    background: rgba(26, 31, 24, 0.95);
    border: 1px solid rgba(255, 252, 247, 0.18);
    box-shadow: 0 12px 30px rgba(19, 21, 16, 0.22);
    backdrop-filter: blur(14px);
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    justify-content: center;
    min-height: 3rem;
  }

  .menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 5;
  }

  .services-grid,
  .choose-grid,
  .value-grid,
  .team-grid,
  .process-grid,
  .policy-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-grid,
  .price-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mosaic-gallery--wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 0;
  }

  .mosaic-photo--feature,
  .mosaic-photo--tall {
    grid-column: auto;
    grid-row: span 2;
  }

  .mosaic-gallery--wide .mosaic-photo--portrait:nth-of-type(2),
  .mosaic-gallery--wide .mosaic-photo--portrait:nth-of-type(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .mosaic-photo.tall {
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 3rem 0;
  }

  .hero-card,
  .hero-content {
    min-height: 540px;
  }

  .hero-note {
    position: static;
    margin: 0 1.2rem 1.2rem auto;
  }

  .intro-grid,
  .form-grid,
  .services-row,
  .services-grid,
  .choose-grid,
  .value-grid,
  .team-grid,
  .process-grid,
  .policy-grid,
  .contact-cards,
  .testimonials-grid,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .js .before-after-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .banner-cta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .newsletter-modal__dialog {
    grid-template-columns: 1fr;
    max-width: 620px;
    max-height: min(calc(100vh - 1.5rem), 560px);
  }

  .newsletter-modal__visual {
    min-height: 170px;
  }

  .inner-hero {
    padding-bottom: 1rem;
  }

  .inner-hero-image,
  .page-media,
  .panel-image,
  .booking-image,
  .contact-hero-image {
    min-height: 240px;
  }

  .detail-hero-card,
  .detail-hero-copy {
    min-height: 420px;
  }

  .form-actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 1.1rem), var(--max-width));
  }

  .site-header {
    padding-top: 0.7rem;
  }

  .header-shell {
    min-height: 72px;
    padding: 0.72rem 0.95rem;
  }

  .brand-main {
    font-size: 1.78rem;
  }

  .brand-sub {
    letter-spacing: 0.2em;
  }

  .hero-card,
  .hero-content {
    min-height: 500px;
  }

  .hero-content,
  .mosaic-copy,
  .trust-content,
  .content-panel,
  .booking-form-card,
  .summary-card,
  .contact-card,
  .story-copy,
  .mission-card,
  .choose-card,
  .value-card,
  .team-card,
  .service-card,
  .process-step,
  .price-card,
  .info-card,
  .detail-card,
  .testimonial-card,
  .faq-card,
  .booking-summary,
  .map-card,
  .social-card {
    padding: 1rem;
  }

  .before-after-pair {
    gap: 0.65rem;
  }

  .before-after-label {
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.36rem 0.62rem;
    font-size: 0.64rem;
  }

  .slider-arrow {
    min-width: 132px;
    padding: 0.72rem 0.9rem;
  }

  .hero-note {
    margin: 0 0.95rem 0.95rem auto;
  }

  .services-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn {
    width: 100%;
  }

  .site-nav .nav-cta {
    width: 100%;
  }

  .newsletter-modal {
    padding: 0.7rem;
  }

  .newsletter-section {
    border-radius: 24px;
    padding: 1rem;
  }

  .newsletter-section__copy .section-title {
    max-width: none;
  }

  .newsletter-section__form {
    border-radius: 20px;
    padding: 1rem;
  }

  .newsletter-section__row {
    grid-template-columns: 1fr;
  }

  .newsletter-section__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-modal__dialog {
    max-height: min(calc(100vh - 1.4rem), 520px);
    border-radius: 22px;
  }

  .newsletter-modal__content {
    padding: 0.95rem 0.95rem 1.05rem;
    gap: 0.65rem;
  }

  .newsletter-modal__content h2 {
    max-width: none;
    font-size: clamp(1.65rem, 8.4vw, 2.2rem);
  }

  .newsletter-modal__content p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .newsletter-modal__visual {
    min-height: 140px;
  }

  .newsletter-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-modal__dismiss,
  .newsletter-modal__close {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .newsletter-modal__dialog {
    max-height: min(calc(100vh - 1rem), 500px);
  }

  .newsletter-modal__visual {
    min-height: 120px;
  }

  .services-row {
    grid-template-columns: 1fr;
  }

  .mosaic-gallery {
    grid-template-columns: 1fr;
  }

  .mosaic-gallery--wide {
    padding: 0.55rem;
    border-radius: 26px;
  }

  .mosaic-photo,
  .mosaic-photo--feature,
  .mosaic-photo--tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .page-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }
}
