/* ——— Responsive ——— */
@media (max-width: 960px) {
  html,
  body {
    overscroll-behavior-x: none;
    touch-action: pan-y;
    width: 100%;
    max-width: 100%;
  }

  .page {
    overflow-x: clip;
    max-width: 100%;
  }

  .fab-call {
    margin-right: 0.1rem;
  }

  .site-footer {
    padding-bottom: max(1.5rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 280px;
  }

  .about h2 {
    max-width: none;
  }

  .projects-featured {
    grid-template-columns: 1fr;
  }

  .projects-shot {
    min-height: 280px;
  }

  .projects-detail {
    border-left: none;
    border-top: 1px solid var(--gray-border);
  }

  .hero-media img {
    object-position: center 72%;
  }

  .service {
    flex: 0 0 calc((100% - var(--services-gap)) / 2);
    width: calc((100% - var(--services-gap)) / 2);
    min-width: calc((100% - var(--services-gap)) / 2);
    height: 280px;
  }

  .service-desc {
    font-size: 0.84rem;
  }

  .quote {
    min-height: 0;
  }

  .quote-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem 2.75rem;
    align-items: stretch;
  }

  .quote-intro h2 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .quote-form {
    max-width: 100%;
  }

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

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-contact-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 66px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 1.75rem;
  }

  .footer-brand-block,
  .footer-contact-block {
    grid-column: auto;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    padding: 0.85rem 1.1rem;
    gap: 0.75rem;
  }

  .logo {
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
    white-space: normal;
    align-items: center;
  }

  .logo-icon {
    height: 36px;
  }

  .logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 0.98rem;
  }

  .logo-name-last::before {
    content: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-phone {
    display: none;
  }

  .btn-yellow,
  .menu-toggle {
    min-height: 42px;
    min-width: 42px;
    padding: 0.65rem;
  }

  .btn-yellow-text {
    display: none;
  }

  .btn-yellow-icon {
    display: block;
    width: 18px;
    height: 18px;
  }

  .menu-toggle-label {
    display: none;
  }

  .burger {
    display: flex;
  }

  .site-nav {
    width: 100%;
    left: 0;
    right: 0;
    box-shadow: none;
  }

  .site-nav__inner {
    padding-left: max(1.35rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.35rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  }

  .site-nav__links a {
    font-size: 1.55rem;
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
    max-height: 100dvh;
    margin-top: -66px;
    padding: 0;
    overflow: clip;
  }

  .hero-panel {
    width: 100%;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    gap: 0;
  }

  .hero-curve {
    position: relative;
    inset: auto;
    width: calc(100% + 2px);
    height: 3.25rem;
    flex-shrink: 0;
    display: block;
    margin: 0 -1px -1px;
    overflow: visible;
  }

  .hero-curve-desktop {
    display: none;
  }

  .hero-curve-mobile {
    display: block;
  }

  .hero-content {
    max-width: none;
    background: var(--white);
    margin-top: 0;
    padding: 0.35rem 1.25rem 1.85rem;
    text-align: center;
    line-height: 1.5;
    position: relative;
    z-index: 1;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 1.02rem;
  }

  .hero-license {
    font-size: 0.95rem;
  }

  .hero-line {
    margin: 1rem auto;
    max-width: 280px;
  }

  .btn-hero {
    display: inline-flex;
    width: min(100%, 300px);
    font-size: 1rem;
    padding: 0.85rem 1.6rem;
    margin-top: 0.15rem;
  }

  .hero-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0.65rem auto 0.1rem;
    color: var(--black);
  }

  .hero-scroll-arrow {
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(0) rotate(45deg);
    animation: heroArrowBounce 1.8s ease-in-out infinite;
  }

  @keyframes heroArrowBounce {
    0%,
    100% {
      transform: translateY(0) rotate(45deg);
      opacity: 0.4;
    }
    50% {
      transform: translateY(6px) rotate(45deg);
      opacity: 1;
    }
  }

  .testimonials-layout {
    grid-template-columns: 1fr;
  }

  .testimonials-side {
    border-left: none;
    border-top: 1px solid var(--gray-border);
  }

  .testimonials-side blockquote {
    padding-left: 0;
  }

  .videos-track {
    --videos-gap: 0.65rem;
  }

  .video-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }

  .video-card__play {
    width: 40px;
    height: 40px;
  }

  .video-card__play svg {
    width: 14px;
    height: 14px;
  }

  .video-card p {
    font-size: 0.8rem;
  }

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

@media (max-width: 480px) {
  .btn-yellow {
    padding: 0.65rem 0.85rem;
  }

  .fab-call {
    width: 52px;
    height: 52px;
  }

  .service {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }

  .cookie-banner__inner {
    padding: 0.95rem 1rem 1rem;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .cookie-btn--accept {
    grid-column: 1 / -1;
  }

  .cookie-btn {
    width: 100%;
  }
}
