@media (max-width: 1024px) {
  nav,
  .mobile-menu {
    padding-left: 30px;
    padding-right: 30px;
  }

  #hero {
    padding-left: 30px;
    padding-right: 30px;
  }

  .promise-inner,
  .services-inner,
  .values-inner,
  .testimonials-inner,
  .info-inner,
  .form-inner {
    padding-left: 30px;
    padding-right: 30px;
  }

  footer {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero-text h1 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  /*
   * Mobile body type bumps to 16px — modern legibility standard, and
   * matches the iOS-Safari zoom-on-focus threshold. Reserve room at
   * the bottom of the page for the sticky MobileBookBar so the footer
   * never sits behind it; the bar adds its own safe-area-inset
   * padding on top of this.
   */
  body {
    font-size: 16px;
    line-height: 1.7;
  }

  body.mobile-cta-enabled {
    padding-bottom: 64px;
  }

  @keyframes mobileMenuBounceIn {
    0% {
      opacity: 0;
      transform: translateY(-10px) scaleY(0.98);
    }

    70% {
      opacity: 1;
      transform: translateY(2px) scaleY(1.01);
    }

    100% {
      opacity: 1;
      transform: translateY(0) scaleY(1);
    }
  }

  @keyframes mobileMenuItemIn {
    0% {
      opacity: 0;
      transform: translateY(-6px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  nav {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    padding: 20px 24px;
    column-gap: 12px;
  }

  .logo {
    justify-content: flex-start;
    justify-self: start;
  }

  .logo img {
    height: 25px;
    width: auto;
  }

  .mobile-phone {
    display: inline-flex;
    justify-self: center;
    align-self: center;
    min-height: 44px;
    padding: 11px 14px;
    background: rgba(33, 48, 33, 0.1);
    color: var(--gw-green);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
  }

  .mobile-phone .icon {
    font-size: 14px;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    grid-column: 3;
  }

  .nav-right .btn {
    display: none;
  }

  .instagram-icon {
    color: #0a304e;
    font-size: 24px;
  }

  .hamburger {
    display: flex;
    color: #2e3031;
    grid-column: 4;
    justify-self: end;
  }

  .mobile-menu {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    transform-origin: top center;
  }

  .mobile-menu.open {
    animation: mobileMenuBounceIn 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu a {
    display: block;
    padding: 14px 24px;
    border-bottom: none;
    font-size: 16px;
    line-height: 1.35;
    animation: mobileMenuItemIn 220ms ease-out forwards;
  }

  .mobile-menu.open a:nth-child(1) {
    animation-delay: 30ms;
  }

  .mobile-menu.open a:nth-child(2) {
    animation-delay: 60ms;
  }

  .mobile-menu.open a:nth-child(3) {
    animation-delay: 90ms;
  }

  .mobile-menu.open a:nth-child(4) {
    animation-delay: 120ms;
  }

  .mobile-menu.open a:nth-child(5) {
    animation-delay: 150ms;
  }

  .mobile-menu.open a:nth-child(6) {
    animation-delay: 180ms;
  }

  .mobile-menu.open a:nth-child(7) {
    animation-delay: 210ms;
  }

  .mobile-menu.open a:nth-child(8) {
    animation-delay: 240ms;
  }

  .mobile-menu.open a:nth-child(9) {
    animation-delay: 270ms;
  }

  #hero {
    min-height: auto;
    padding: 50px 20px 0;
  }

  #hero::after {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    text-align: left;
    padding: 0;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-text h1,
  .hero-heading {
    margin-bottom: 22px;
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-subtitle {
    margin: -10px 0 22px;
    max-width: none;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-trust-chip {
    margin-bottom: 18px;
    padding: 10px 14px;
    font-size: 14px;
  }

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

  .hero-text h1 .hero-heading-mobile {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    white-space: pre-line;
  }

  .hero-buttons {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding-right: 0;
  }

  .hero-buttons .btn {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    padding: 14px 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-radius: 999px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .hero-buttons .btn:last-child {
    margin-right: 0;
  }

  .hero-buttons .btn-yellow {
    background: var(--yellow);
    color: #000;
  }

  .hero-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.84);
  }

  .hero-buttons .btn:active {
    transform: translateY(1px) scale(0.985);
  }

  .hero-buttons .btn-yellow:active {
    background: #e6bb00;
  }

  .hero-buttons .btn-outline:active {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-img {
    flex: none;
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .hero-img img {
    width: min(100%, 460px);
    max-width: 100%;
    margin: 0 auto -7px;
    object-fit: contain;
    object-position: center top;
    transform: none;
  }

  #intro {
    padding: 30px 24px 24px;
  }

  .intro-trust-badge {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 18px 16px;
    border-radius: 22px;
  }

  .intro-trust-mark {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .intro-google-logo {
    width: 24px;
  }

  #intro p {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
    margin-bottom: 0;
  }

  .intro-trust-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .intro-trust-cta {
    gap: 8px;
    padding: 8px 14px;
    font-size: 15px;
  }

  .intro-trust-stars {
    font-size: 13px;
  }

  .promise-inner {
    flex-direction: column;
    padding: 0 24px;
  }

  .promise-text {
    order: 1;
  }

  .promise-img {
    order: 2;
    flex: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .services-grid,
  .testimonials-grid,
  .info-inner,
  .field-group,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .value-card:nth-child(odd) {
    border-right: none;
  }

  .value-card {
    padding: 24px 0;
  }

  .service-icon-bubble {
    width: 78px;
    height: 78px;
    margin-bottom: 20px;
  }

  .service-card .service-card-icon {
    font-size: 30px;
  }

  .mobile-menu a.mobile-link-active {
    background: var(--yellow);
    color: #0a304e;
  }

  .booking-header {
    margin-bottom: 34px;
  }

  .booking-eyebrow {
    margin-bottom: 12px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .booking-title {
    font-size: 34px;
    line-height: 1.02;
    margin-bottom: 24px;
  }

  .booking-intro {
    margin-top: -4px;
    font-size: 15px;
    line-height: 1.55;
  }

  .booking-trust-row {
    gap: 10px;
    margin-top: 16px;
  }

  .booking-trust-chip {
    padding: 8px 12px;
    font-size: 13px;
  }

  .booking-title-highlight::after {
    left: 12px;
    right: 12px;
    bottom: -14px;
    height: 20px;
  }

  .booking-stepper {
    gap: 12px;
    align-items: flex-start;
  }

  .booking-step {
    flex-direction: column;
    gap: 8px;
    flex: 1;
  }

  .booking-step-number {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .booking-step-label {
    font-size: 15px;
    text-align: center;
  }

  .booking-step-divider {
    margin-top: 22px;
    height: 1px;
    width: 36px;
  }

  .booking-panel-banner {
    padding: 22px 18px 34px;
    border-radius: 24px 24px 0 0;
    font-size: 15px;
    line-height: 1.45;
  }

  .booking-card-grid-owner,
  .booking-card-grid-dog {
    grid-template-columns: 1fr;
  }

  .booking-field-group-owner,
  .booking-field-group-dog {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .booking-field-card {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .booking-card-grid-with-banner .booking-field-card {
    border-radius: 0 0 24px 24px;
  }

  .booking-field-card-group {
    padding: 24px 22px;
  }

  .booking-field-card label,
  .booking-service-label {
    font-size: 16px;
  }

  .booking-field-card input,
  .booking-field-card textarea {
    padding: 14px 18px;
    /*
     * 16px is the iOS-Safari threshold for triggering auto-zoom on
     * focus. Anything smaller and the page jolts every time a field
     * is tapped — kills the form's perceived quality at the most
     * critical conversion step.
     */
    font-size: 16px;
    border-width: 2px;
    border-radius: 18px;
  }

  .booking-service-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
  }

  .booking-service-options {
    gap: 12px 18px;
  }

  .booking-toggle-group {
    flex-direction: column;
  }

  .booking-toggle-option {
    width: 100%;
    border-width: 2px;
    border-radius: 16px;
    padding: 14px 16px;
  }

  .booking-toggle-indicator {
    width: 22px;
    height: 22px;
    border-width: 2px;
  }

  .booking-check-option {
    font-size: 15px;
  }

  .booking-check-box {
    width: 24px;
    height: 24px;
    border-width: 2px;
    border-radius: 6px;
  }

  .booking-actions-final {
    gap: 14px;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .booking-actions-final .btn,
  .booking-actions-next .btn {
    justify-content: center;
  }

  .services-inner,
  .values-inner,
  .testimonials-inner,
  .info-inner,
  .form-inner {
    padding: 0 24px;
  }

  .section-heading {
    font-size: 30px;
  }

  footer {
    padding: 48px 24px 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-action {
    order: -1;
  }

  .footer-panel {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .footer-action-title {
    font-size: 22px;
  }

  .footer-action-copy {
    font-size: 14px;
  }

  .footer-book-note {
    text-align: left;
  }

  .footer-nav a {
    padding: 11px 0;
  }

  .footer-contact {
    gap: 6px;
  }

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

  #instagram {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    gap: 2px 16px;
  }

  .mobile-phone {
    gap: 6px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .mobile-phone span {
    letter-spacing: -0.01em;
  }

  .hero-text h1,
  .hero-heading {
    font-size: 32px;
    line-height: 1.12;
  }

  .hero-text h1 .hero-heading-mobile {
    font-size: 31px;
    line-height: 1.12;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 8px;
    padding-right: 0;
  }

  .hero-buttons .btn {
    flex: 1 1 0;
    width: 0;
    margin-right: 0 !important;
    padding: 13px 9px;
    font-size: 12px;
    line-height: 1.1;
  }
}
