/* Phone composition only. Tablet and desktop retain their existing cascade. */
@media (max-width: 767px) {
  /* A single reading column keeps copy and photography comfortable. */
  .hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,auto);align-items:start;gap:16px 0;margin-top:22px;min-height:0;padding:0}
  .hero-copy{display:contents}
  .hero-copy>.eyebrow{grid-column:1;grid-row:1;margin:0;max-width:none}
  .hero h1{grid-column:1;grid-row:2;margin:0;font-size:min(9.3vw,40px);line-height:1.07}
  .hero .hero-description{grid-column:1;grid-row:3;align-self:start;width:100%;max-width:440px;margin:0;font-size:16px;line-height:1.6}
  .hero-description>br{display:none}
  .hero .hero-actions{grid-column:1;grid-row:4;display:flex;width:100%;margin:2px 0 4px}
  .hero-actions .btn{justify-content:center;width:100%;min-height:50px}
  .hero>.hero-scene{grid-column:1;grid-row:5;align-self:start;justify-self:stretch;width:100%;height:auto;min-height:0;aspect-ratio:1122/1402;border-radius:20px}
  .hero-scene>img{width:100%;height:100%;min-height:0;object-fit:contain;object-position:center}
  .hero .hero-scene .hero-note{top:9%;right:5%;width:46%;min-width:145px;max-width:210px}
  .hero>.hero-trust{grid-column:1;grid-row:6;width:100%;max-width:none;margin:6px 0 0;gap:12px}
  .hero-trust .trust-caption{max-width:none}

  /* All four service choices stay visible in a compact two-column grid. */
  .service-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 8px;
    margin-top: 18px;
    padding: 0;
  }

  .service-nav > a {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 22px auto;
    align-items: center;
    min-width: 0;
    min-height: 88px;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
  }

  .service-nav .service-icon {
    grid-column: 1;
    grid-row: 1;
    width: 22px;
    height: 22px;
  }

  .service-nav .nav-arrow {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 14px;
    height: 14px;
    margin: 0;
  }

  .service-nav span {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    white-space: normal;
    line-height: 1.35;
  }

  .section-space { margin-top: 48px; }
  .section-heading { margin-bottom: 22px; }

  .contact-card {
    min-height: 0;
    padding: 24px;
    gap: 16px;
  }

  .contact-content > h2 {
    margin: 16px 0;
    font-size: clamp(30px, 8.2vw, 34px);
    line-height: 1.08;
  }

  .contact-content > .btn {
    min-height: 48px;
    margin-top: 20px;
  }

  /* The footer is a compact directory, contact bar and legal row. */
  .footer {
    margin-top: 48px;
    padding: 24px 0 18px;
    border-radius: 24px 24px 0 0;
  }

  .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .footer .footer-navigation {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .footer-navigation > h3,
  .footer-contact > h3,
  .footer-channel > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 12px;
    max-width: none;
  }

  .footer-links > div { display: contents; }

  .footer-links a,
  .footer-links button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 4px 0;
    white-space: normal;
    text-align: left;
  }

  .footer-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 0;
  }

  .footer-phone {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-width: 64px;
    min-height: 48px;
    margin: 0;
    padding: 0;
  }

  .footer-channels {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    min-width: 0;
  }

  .footer-channel {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 44px;
    gap: 0;
  }

  .footer-channel svg {
    width: 26px;
    height: 26px;
    margin: 0;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 14px;
    margin-top: 14px;
  }

  .footer-bottom > span {
    grid-column: 1 / -1;
    grid-row: 2;
    line-height: 1.6;
  }

  .footer-bottom .text-button {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 44px;
    padding: 4px 0;
    margin: 0;
    text-align: left;
    line-height: 1.5;
  }

  .footer-bottom .footer-to-top {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    min-height: 44px;
    width: auto;
    margin: 0;
    padding: 4px 0;
  }
}

@media (max-width: 374px) {
  .hero { column-gap: 12px; }
  .hero-trust { gap: 10px; }
  .footer-links { column-gap: 8px; }
  .footer-contact { gap: 8px; }
  .contact-card { padding: 20px; }
}

@media(min-width:768px) and (max-width:999px){
  .hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-rows:auto auto auto auto auto;gap:18px 24px;margin-top:28px;align-items:center}
  .hero-copy{display:contents}
  .hero-copy>.eyebrow{grid-column:1/-1;grid-row:1;max-width:none;margin:0}
  .hero .hero-copy>h1{grid-column:1/-1;grid-row:2;font-size:clamp(44px,5.7vw,56px);margin:0}
  .hero .hero-description{grid-column:1;grid-row:3;align-self:end;font-size:18px;line-height:1.55;margin:0;max-width:none}
  .hero-description>br{display:none}
  .hero .hero-actions{grid-column:1;grid-row:4;align-self:start;margin:0}
  .hero .hero-actions .btn{font-size:14px;padding-inline:18px;min-height:52px}
  .hero>.hero-scene{grid-column:2;grid-row:3/5;width:100%;height:auto;min-height:0;aspect-ratio:1122/1402;align-self:center;justify-self:stretch}
  .hero .hero-note{top:9%;right:5%;width:44%;min-width:155px;max-width:210px}
  .hero>.hero-trust{grid-column:1/-1;grid-row:5;width:100%;max-width:none;margin:4px 0 0;gap:24px}
}
