/* Mobile and portrait layout. Desktop styles remain in styles.css. */
@media (max-width: 820px),
  (min-width: 821px) and (max-width: 1100px) and (max-aspect-ratio: 5/4) {
  :root {
    --header-h: 72px;
    --mobile-pad: 18px;
    --page-max: 100%;
    --page-height: auto;
    --fit-scale: 1;
  }

  html,
  body {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
  }

  body,
  body.is-desktop-fit {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #030303;
  }

  img,
  svg,
  iframe {
    max-width: 100%;
  }

  .site-shell {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    margin: 0;
    overflow: visible;
    transform: none;
    box-shadow: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: var(--header-h);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 0 14px;
    background: rgba(0, 0, 0, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .brand {
    grid-column: 1;
  }

  .brand img {
    width: 86px;
    max-height: 68px;
    margin: 2px 0 0;
    object-fit: contain;
  }

  .nav-toggle {
    grid-column: 3;
    display: block;
    width: 46px;
    height: 44px;
    justify-self: end;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
  }

  .nav-toggle[aria-expanded="true"] {
    color: var(--red);
    border-color: var(--red);
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    max-height: calc(100dvh - var(--header-h));
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 8px 20px 20px;
    background: rgba(2, 2, 2, 0.985);
    border-bottom: 1px solid rgba(224, 0, 0, 0.55);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
  }

  .main-nav a::after {
    bottom: -1px;
  }

  .header-clock {
    display: none;
  }

  main,
  .about-main,
  .offer-page-main,
  .contact-main,
  .pricing-main,
  .gallery-main,
  .lpg-main {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .btn,
  .work-link,
  .google-link-primary {
    min-height: 48px;
    touch-action: manipulation;
  }

  .site-footer {
    width: 100%;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    padding: 24px var(--mobile-pad) 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-brand img {
    width: 90px;
    max-height: 64px;
  }

  .site-footer nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    font-size: 11px;
    text-align: center;
  }

  .site-footer nav a,
  .site-footer nav button {
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .socials {
    gap: 18px;
  }

  .socials a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .booking-modal {
    padding: 10px;
  }

  .booking-modal__panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 50px 10px 14px;
  }

  .booking-modal__close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }

  #motowarsztat-booking {
    min-height: 560px;
  }

  /* Home */
  .hero {
    height: auto;
    min-height: 660px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 250px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0 49%, rgba(0, 0, 0, 0.2) 73%, rgba(0, 0, 0, 0.78) 100%),
      url("assets/home-hero-bg.jpg") 62% center / cover no-repeat;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 34px var(--mobile-pad) 12px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 9.5vw, 43px);
    line-height: 1.02;
  }

  .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
    font-size: 15px;
  }

  .hero-lead {
    max-width: 34rem;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 390px;
    margin-top: 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    position: relative;
    min-height: 250px;
    overflow: hidden;
  }

  .hero-car {
    right: -76px;
    bottom: -2px;
    width: 135%;
    max-width: none;
  }

  .hero-logo-panel {
    display: none;
  }

  .offer-strip {
    height: auto;
    display: block;
  }

  .offer-main {
    padding: 24px var(--mobile-pad) 26px;
  }

  .section-heading h2,
  .content-band h2 {
    margin-bottom: 18px;
    font-size: 19px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-item {
    min-height: 150px;
    gap: 10px;
    padding: 14px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    font-size: 11px;
  }

  .service-icon-plain {
    width: 76px;
    height: 76px;
  }

  .service-icon-plain img {
    width: 54px;
    height: 54px;
  }

  .new-badge {
    top: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    font-size: 9px;
  }

  .contact-card {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 20px 10px;
  }

  .contact-card > * {
    padding: 4px 10px;
  }

  .contact-card > * + * {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
  }

  .contact-card h2 {
    font-size: 15px;
  }

  .contact-card a,
  .contact-card p {
    font-size: 14px;
  }

  .content-band {
    height: auto;
    display: block;
  }

  .content-band > * {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 28px var(--mobile-pad);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why li {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .recent-work {
    gap: 14px;
  }

  .work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
  }

  .work-card {
    min-height: 112px;
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  .work-card img {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    min-height: 112px;
  }

  .work-card h3 {
    grid-column: 2;
    margin: 16px 12px 4px;
    font-size: 14px;
  }

  .work-card p {
    grid-column: 2;
    margin: 0 12px 14px;
    font-size: 12px;
  }

  .work-link {
    width: 100%;
    margin-top: 4px;
    padding: 0 18px;
  }

  .review {
    min-height: 280px !important;
    overflow: visible;
  }

  .review-carousel,
  .review-quote {
    min-height: 0;
    max-width: none;
  }

  .review-quote span {
    font-size: 15px;
  }

  .google-link-primary {
    position: static;
    width: 100%;
    justify-content: center;
    margin-top: 14px;
  }

  .review-dots {
    position: static;
    justify-content: center;
    margin-top: 18px;
  }

  .dots button {
    width: 13px;
    height: 13px;
  }

  /* About */
  .about-hero {
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .about-copy {
    width: 100%;
    height: auto;
    padding: 34px var(--mobile-pad) 28px;
    background: #050505;
  }

  .breadcrumb {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .about-copy h1 {
    font-size: 48px;
  }

  .about-subtitle {
    font-size: 16px;
  }

  .about-copy p:last-child {
    max-width: none;
    font-size: 15px;
  }

  .about-hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 250px;
    background-position: center;
  }

  .about-stats {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .about-stats > div {
    min-height: 116px;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 10px;
    padding: 18px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-stats > div:nth-child(2n) {
    border-right: 0;
  }

  .about-stat-svg {
    width: 42px;
    height: 42px;
  }

  .about-stats strong {
    font-size: 24px;
  }

  .about-stats p {
    font-size: 10px;
  }

  .about-details {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px var(--mobile-pad);
  }

  .about-history,
  .about-workshop {
    padding: 6px 0;
  }

  .about-details h2,
  .about-workshop h2 {
    max-width: none;
    font-size: 25px;
  }

  .about-history p:not(.section-kicker):not(.signature) {
    font-size: 15px;
    line-height: 1.55;
  }

  .team-card img {
    height: auto;
    aspect-ratio: 4 / 4.4;
    object-fit: contain;
  }

  .team-card h3 {
    margin-top: 12px;
    font-size: 20px;
  }

  .team-values {
    min-height: 72px;
    padding-bottom: 14px;
  }

  .team-values span {
    font-size: 10px;
  }

  .about-workshop li {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .process-strip {
    width: 100%;
    height: auto;
    display: block;
    padding: 28px var(--mobile-pad);
  }

  .process-strip h2 {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-steps div {
    min-height: 72px;
    padding: 14px 14px 14px 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
  }

  .process-steps b {
    left: 14px;
    top: 14px;
  }

  .process-steps strong {
    font-size: 13px;
  }

  .process-steps span {
    font-size: 12px;
  }

  /* Offer */
  .offer-hero-page {
    height: 430px;
    background-position: 63% center;
  }

  .offer-hero-copy {
    width: 100%;
    height: 100%;
    padding: 42px var(--mobile-pad) 24px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0 48%, rgba(0, 0, 0, 0.48) 76%, rgba(0, 0, 0, 0.15));
  }

  .offer-hero-copy h1 {
    max-width: 350px;
    font-size: clamp(38px, 11vw, 50px);
  }

  .offer-hero-copy p:last-child {
    max-width: 330px;
    font-size: 16px;
  }

  .offer-services-panel {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px var(--mobile-pad) 26px;
  }

  .offer-service-card {
    min-height: 132px;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 16px;
  }

  .offer-card-icon {
    width: 78px;
    height: 78px;
  }

  .offer-card-icon img {
    width: 58px;
    height: 58px;
  }

  .offer-service-card h3 {
    font-size: 17px;
  }

  .offer-service-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .offer-bottom-panel {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .offer-bottom-panel > article,
  .offer-stats-card {
    min-height: 0;
    padding: 28px var(--mobile-pad) !important;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .offer-bottom-panel h2 {
    margin-bottom: 22px;
    font-size: 19px;
  }

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

  .offer-stat-grid div {
    min-height: 142px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .offer-stat-grid div:nth-child(2n) {
    border-right: 0;
  }

  .offer-process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  .offer-process-steps div {
    min-height: 112px;
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 5px 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
  }

  .offer-process-steps div::after {
    content: none !important;
  }

  .offer-process-steps b {
    top: 8px;
    left: 8px;
    right: auto;
  }

  .process-hex {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 70px;
    height: 70px;
  }

  .offer-process-steps strong,
  .offer-process-steps p {
    grid-column: 2;
  }

  .offer-process-steps strong {
    align-self: end;
    font-size: 13px;
  }

  .offer-process-steps p {
    align-self: start;
    font-size: 12px;
  }

  .offer-booking-card {
    min-height: 270px !important;
    text-align: center;
  }

  .offer-booking-card h2 {
    font-size: 24px;
  }

  .offer-booking-card .btn {
    width: 100%;
  }

  /* Contact */
  .contact-hero {
    width: 100%;
    height: auto;
    padding: 34px var(--mobile-pad) 24px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0 34%, rgba(0, 0, 0, 0.38) 54%, rgba(0, 0, 0, 0.94) 78%),
      url("assets/contact-hero-bg.jpg") 70% top / auto 300px no-repeat,
      #050505;
  }

  .contact-hero-copy h1 {
    font-size: 48px;
  }

  .contact-hero-copy h2 {
    font-size: 24px;
  }

  .contact-hero-copy p {
    max-width: 34rem;
    font-size: 14px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .contact-info-card,
  .hours-card {
    min-height: 154px;
    padding: 22px 18px 18px 94px;
  }

  .contact-card-icon {
    top: 14px;
    left: 17px;
  }

  .contact-info-card h2 {
    margin-bottom: 13px;
  }

  .contact-info-card a {
    min-height: 36px;
    display: flex;
    align-items: center;
    font-size: 23px;
  }

  .hours-card dl {
    max-width: none;
  }

  .hours-card dl div {
    gap: 12px;
    margin-bottom: 5px;
    font-size: 13px;
  }

  .contact-bottom {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px var(--mobile-pad) 30px;
  }

  .section-title-row h2 {
    font-size: 18px;
    line-height: 1.2;
  }

  .section-title-row span {
    flex: 1;
    min-width: 28px;
  }

  .map-link {
    height: 320px;
  }

  .visit-reasons {
    padding: 0;
    overflow: visible;
  }

  .visit-reasons ul {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 18px 0 24px;
  }

  .visit-reasons li {
    min-height: 40px;
    padding-left: 48px;
    font-size: 14px;
  }

  .contact-booking-button,
  .contact-booking-button:hover {
    left: auto;
    width: 100%;
    transform: none;
  }

  /* Pricing */
  .pricing-hero {
    height: 310px;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0 40%, rgba(0, 0, 0, 0.54) 70%, rgba(0, 0, 0, 0.28)),
      url("assets/pricing-hero-bg.jpg") 68% center / auto 310px no-repeat,
      #050505;
  }

  .pricing-hero-copy {
    width: 100%;
    padding: 42px var(--mobile-pad) 20px;
  }

  .pricing-hero-copy h1 {
    font-size: 44px;
  }

  .pricing-hero-copy p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.4;
  }

  .pricing-grid {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px var(--mobile-pad);
  }

  .pricing-card {
    min-height: 0;
    padding: 18px 14px 20px;
  }

  .pricing-card-head {
    height: 56px;
    margin-bottom: 10px;
    padding-left: 66px;
  }

  .pricing-card-head img {
    top: 15px;
    left: 14px;
    width: 52px;
    height: 52px;
  }

  .pricing-card h2,
  .pricing-card:nth-child(5) h2,
  .pricing-card:nth-child(6) h2 {
    padding-top: 5px;
    font-size: 15px;
  }

  .price-list li {
    min-height: 34px;
    gap: 8px;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.3;
  }

  .price-list li span {
    gap: 6px;
  }

  .price-list li span::after {
    min-width: 8px;
  }

  .price-list li b {
    font-size: 12px;
  }

  .pricing-card-note {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
  }

  .pricing-note {
    width: calc(100% - (2 * var(--mobile-pad)));
    height: auto;
    min-height: 126px;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    margin: 0 var(--mobile-pad) 24px;
    padding: 18px 14px;
  }

  .pricing-note img {
    width: 52px;
    height: 52px;
  }

  .pricing-note p {
    font-size: 12px;
    line-height: 1.4;
  }

  /* Gallery */
  .gallery-main {
    scrollbar-width: auto;
  }

  .gallery-hero {
    height: 310px;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0 44%, rgba(0, 0, 0, 0.48) 72%, rgba(0, 0, 0, 0.32)),
      url("assets/pricing-hero-bg.jpg") 68% center / auto 310px no-repeat,
      #050505;
  }

  .gallery-hero-copy {
    width: 100%;
    padding: 46px var(--mobile-pad) 20px;
  }

  .gallery-hero-copy .red-line {
    width: 80px;
    margin: 0 0 18px;
  }

  .gallery-hero-copy h1 {
    max-width: 330px;
    font-size: 43px;
    line-height: 1.05;
  }

  .gallery-hero-copy p {
    max-width: 310px;
    font-size: 14px;
  }

  .gallery-filter {
    position: sticky;
    top: var(--header-h);
    z-index: 15;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 11px var(--mobile-pad);
    scrollbar-width: none;
  }

  .gallery-filter::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter button {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 16px;
    font-size: 11px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px var(--mobile-pad) 20px;
  }

  .gallery-card {
    height: auto;
  }

  .gallery-card > img {
    height: auto;
    aspect-ratio: 2.15 / 1;
  }

  .gallery-card > div {
    min-height: 82px;
    padding: 16px 14px 13px 76px;
  }

  .gallery-card-icon {
    left: 16px;
    top: 14px;
    width: 46px;
    height: 46px;
  }

  .gallery-card h2 {
    font-size: 14px;
    line-height: 1.15;
  }

  .gallery-card p {
    font-size: 13px;
  }

  .gallery-cta {
    width: calc(100% - (2 * var(--mobile-pad)));
    height: auto;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    margin: 0 var(--mobile-pad) 24px;
    padding: 18px;
  }

  .gallery-cta-icon,
  .gallery-cta-icon img {
    width: 54px;
    height: 54px;
  }

  .gallery-cta p {
    font-size: 15px;
  }

  .gallery-cta-phones {
    grid-column: 1 / -1;
    gap: 10px;
    padding: 14px 0 0;
    border-top: 1px solid rgba(224, 0, 0, 0.55);
    border-left: 0;
  }

  .gallery-cta-phones a {
    min-height: 42px;
    justify-content: center;
    font-size: 18px;
  }

  .gallery-cta .btn {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .gallery-lightbox {
    padding: 8px;
  }

  .gallery-lightbox__panel {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 52px 8px 16px;
  }

  .gallery-lightbox__close {
    top: 8px;
    right: 8px;
  }

  .gallery-lightbox__nav {
    width: 44px;
    height: 62px;
    font-size: 40px;
  }

  .gallery-lightbox__panel > p {
    padding: 8px;
    font-size: 14px;
  }

  /* LPG */
  .lpg-main {
    display: block;
  }

  .lpg-hero {
    height: 400px;
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.98) 0 42%, rgba(3, 3, 3, 0.68) 68%, rgba(3, 3, 3, 0.22) 100%),
      url("assets/lpg/lpg-direct-hero-v2.jpg") 95% -30px / auto 430px no-repeat,
      #030303;
  }

  .lpg-hero-copy {
    width: 100%;
    padding: 42px var(--mobile-pad) 20px;
  }

  .lpg-hero-copy h1 {
    display: block;
    max-width: 330px;
    font-size: 54px;
  }

  .lpg-hero-copy h1 span {
    display: block;
    margin-top: 4px;
    font-size: 31px;
  }

  .lpg-hero-copy .lpg-lead {
    max-width: 340px;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 14px;
  }

  .lpg-hero-copy > p {
    max-width: 320px;
    font-size: 14px;
  }

  .lpg-overview {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px var(--mobile-pad);
  }

  .lpg-story {
    padding: 0;
  }

  .lpg-story h2,
  .lpg-benefits h2,
  .lpg-certificates h2 {
    font-size: 19px;
    line-height: 1.3;
  }

  .lpg-story > p {
    margin: 12px 0 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .lpg-story ul {
    gap: 14px;
  }

  .lpg-story li {
    min-height: 22px;
    padding-left: 31px;
    font-size: 13px;
    line-height: 1.42;
  }

  .lpg-story li::before {
    top: 1px;
    width: 18px;
    height: 18px;
  }

  .lpg-story li::after {
    left: 5px;
    top: 5px;
  }

  .lpg-feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .lpg-feature-card {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    min-height: 132px;
    padding: 14px;
  }

  .lpg-feature-card img {
    width: 74px;
    height: 74px;
  }

  .lpg-feature-card h2 {
    font-size: 16px;
  }

  .lpg-feature-card p {
    font-size: 13px;
  }

  .lpg-showcase {
    display: block;
  }

  .lpg-benefits,
  .lpg-certificates {
    padding: 28px var(--mobile-pad);
  }

  .lpg-benefits {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lpg-benefit-grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 24px;
  }

  .lpg-benefit-grid > div {
    min-height: 154px;
    grid-template-rows: 78px auto auto;
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .lpg-benefit-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .lpg-benefit-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .lpg-benefit-grid strong {
    font-size: 11px;
  }

  .lpg-benefit-grid p {
    font-size: 11px;
  }

  .lpg-certificates h2 {
    display: block;
  }

  .lpg-certificates h2::after {
    display: block;
    margin-top: 10px;
  }

  .lpg-certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .lpg-certificate-grid figure {
    height: auto;
    min-height: 232px;
  }

  .lpg-certificate-grid img,
  .lpg-certificate-grid figure:nth-child(2) img,
  .lpg-certificate-grid figure:nth-child(3) img,
  .lpg-certificate-grid figure:nth-child(4) img {
    height: 188px;
    object-fit: contain;
    background: #090a0b;
  }

  .lpg-certificate-grid figcaption {
    min-height: 44px;
    height: auto;
    font-size: 9px;
  }

  .lpg-booking-strip {
    width: calc(100% - (2 * var(--mobile-pad)));
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 22px var(--mobile-pad);
    padding: 20px;
  }

  .lpg-booking-title strong {
    font-size: 22px;
  }

  .lpg-booking-contacts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lpg-booking-phone,
  .lpg-booking-address {
    min-height: 56px;
    justify-content: flex-start;
    white-space: normal;
    border-top: 1px solid rgba(224, 0, 0, 0.6);
  }

  .lpg-booking-phone {
    font-size: 19px;
  }

  .lpg-booking-divider {
    display: none;
  }

  .lpg-booking-strip .btn {
    width: 100%;
  }
}

@media (max-width: 820px),
  (min-width: 821px) and (max-width: 1100px) and (max-aspect-ratio: 5/4) {
  .privacy-main {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .privacy-hero {
    width: 100%;
    height: 320px;
    align-items: flex-end;
    padding: 34px var(--mobile-pad);
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0, rgba(0, 0, 0, 0.82) 64%, #050505 100%),
      url("assets/pricing-hero-bg.jpg") 69% top / auto 270px no-repeat,
      #050505;
  }

  .privacy-hero h1 {
    font-size: 40px;
    line-height: 1;
  }

  .privacy-hero > div {
    transform: none;
  }

  .privacy-hero p {
    font-size: 13px;
    line-height: 1.45;
  }

  .privacy-breadcrumbs {
    flex-wrap: wrap;
    font-size: 11px;
  }

  .privacy-content {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px var(--mobile-pad) 26px;
  }

  .privacy-panel {
    overflow: visible;
    padding: 20px 17px;
  }

  .privacy-panel > h2 {
    align-items: flex-start;
    font-size: 21px;
    line-height: 1.15;
  }

  .privacy-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .privacy-panel section {
    margin-bottom: 18px;
  }

  .privacy-panel h3 {
    margin-bottom: 7px;
    font-size: 14px;
  }

  .privacy-panel p,
  .privacy-panel li {
    font-size: 13px;
    line-height: 1.55;
  }

  .cookie-type {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    margin-bottom: 14px;
  }

  .cookie-type > span {
    width: 42px;
    height: 42px;
  }

  .cookie-type b {
    font-size: 13px;
  }

  .privacy-settings-button {
    width: 100%;
    min-height: 46px;
    font-size: 12px;
  }

  .cookie-consent__banner {
    bottom: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    overflow: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .cookie-consent__icon {
    display: none;
  }

  .cookie-consent__copy h2 {
    font-size: 19px;
  }

  .cookie-consent__copy p {
    font-size: 13px;
  }

  .cookie-consent__actions {
    grid-template-columns: 1fr;
  }

  .cookie-consent button,
  .cookie-settings-modal button {
    min-height: 46px;
  }

  .cookie-settings-modal {
    padding: 10px;
  }

  .cookie-settings-modal__panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 20px 17px;
  }

  .cookie-settings-modal__panel h2 {
    font-size: 22px;
  }

  .cookie-setting {
    gap: 12px;
  }

  .cookie-settings-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .consent-placeholder {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  :root {
    --mobile-pad: 15px;
  }

  .hero h1,
  .offer-hero-copy h1,
  .pricing-hero-copy h1,
  .gallery-hero-copy h1 {
    font-size: 36px;
  }

  .about-copy h1,
  .contact-hero-copy h1 {
    font-size: 43px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card > * + * {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .about-stats strong,
  .offer-stat-grid strong {
    font-size: 21px;
  }

  .contact-info-card,
  .hours-card {
    padding-left: 84px;
  }

  .contact-card-icon img {
    width: 66px;
    height: 66px;
  }

  .lpg-hero-copy h1 {
    font-size: 48px;
  }

  .lpg-hero-copy h1 span {
    font-size: 28px;
  }
}

/* Unfolded phones and compact, near-square displays. */
@media (min-width: 821px) and (max-width: 1100px) and (max-aspect-ratio: 5/4) {
  :root {
    --header-h: 82px;
    --mobile-pad: 28px;
  }

  .brand img {
    width: 100px;
    max-height: 78px;
  }

  .nav-toggle {
    width: 52px;
    height: 50px;
  }

  .main-nav {
    padding-inline: var(--mobile-pad);
  }

  .hero {
    min-height: 700px;
    grid-template-rows: auto 310px;
  }

  .hero-copy {
    max-width: 720px;
    padding-top: 46px;
  }

  .hero h1 {
    max-width: 650px;
    font-size: 50px;
  }

  .hero-lead {
    max-width: 560px;
    font-size: 17px;
  }

  .hero-actions {
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-car {
    right: -30px;
    width: 92%;
  }

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

  .service-item {
    min-height: 164px;
  }

  .content-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  }

  .content-band > * {
    min-width: 0;
  }

  .content-band .review {
    grid-column: 1 / -1;
  }

  .work-card {
    grid-template-columns: 38% minmax(0, 1fr);
  }

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

  .about-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-stats > div:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-stats > div:last-child {
    border-right: 0;
  }

  .about-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .about-history,
  .about-workshop {
    grid-column: 1 / -1;
  }

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

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

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

  .offer-booking-card {
    grid-column: 1 / -1;
  }

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

  .contact-info-card,
  .hours-card {
    min-width: 0;
    padding: 78px 18px 20px;
  }

  .contact-card-icon {
    top: 12px;
    left: 16px;
  }

  .contact-info-card a {
    font-size: 19px;
  }

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

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

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

  .lpg-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .lpg-benefits {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

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

  .privacy-content {
    max-width: 900px;
    margin-inline: auto;
  }

  .cookie-consent__banner {
    grid-template-columns: auto minmax(0, 1fr) 220px;
  }

  .cookie-consent__icon {
    display: grid;
  }

  .cookie-consent__actions {
    grid-template-columns: 1fr;
  }
}
