/* Page-specific presentation for the mobile start page. */
@media (max-width: 960px) {
  .mobile-flyer,
  .mobile-flyer * {
    box-sizing: border-box;
  }

  .mobile-flyer {
    --home-blue: #004080;
    --home-blue-dark: #002f5d;
    --home-blue-soft: #eaf3fb;
    --home-ink: #172a3a;
    --home-muted: #536779;
    --home-border: #cbd9e6;
    --home-surface: #ffffff;
    color: var(--home-ink);
  }

  .mobile-flyer .flyer {
    padding: 20px 0 6px;
    background:
      radial-gradient(circle at 100% 0, rgba(0, 102, 204, 0.09), transparent 34%),
      #f3f7fb;
  }

  .mobile-flyer .container {
    width: calc(100% - 32px);
    max-width: 680px;
  }

  .mobile-flyer .paper {
    display: grid;
    gap: 16px;
  }

  .mobile-flyer .flyer-hero,
  .mobile-flyer .value-card,
  .mobile-flyer .info-card,
  .mobile-flyer .appointment-card {
    border: 1px solid var(--home-border);
    background: var(--home-surface);
    box-shadow: 0 10px 28px rgba(0, 47, 93, 0.08);
  }

  .mobile-flyer .flyer-hero {
    position: relative;
    overflow: hidden;
    padding: 24px 20px 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 10%, #edf5fc 100%);
  }

  .mobile-flyer .flyer-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--home-blue), #1681c4);
  }

  .mobile-flyer .flyer-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--home-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .mobile-flyer .flyer-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #1681c4;
    box-shadow: 0 0 0 4px rgba(22, 129, 196, 0.12);
  }

  .mobile-flyer .flyer-hero h1 {
    margin: 0;
    color: var(--home-blue-dark);
    font-size: clamp(2rem, 9.1vw, 2.55rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.04;
  }

  .mobile-flyer .flyer-hero h1 span {
    display: block;
  }

  .mobile-flyer .flyer-hero h1 span + span {
    margin-top: 4px;
    color: var(--home-blue);
  }

  .mobile-flyer .flyer-hero__subtitle {
    margin: 16px 0 0;
    color: var(--home-ink);
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .mobile-flyer .lead {
    margin: 8px 0 0;
    color: var(--home-muted);
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .mobile-flyer .flyer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .mobile-flyer .flyer-button {
    display: inline-flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 12px;
    border: 2px solid var(--home-blue);
    border-radius: 12px;
    font-size: 0.91rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .mobile-flyer .flyer-button--primary {
    background: var(--home-blue);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 64, 128, 0.2);
  }

  .mobile-flyer .flyer-button--secondary {
    background: #ffffff;
    color: var(--home-blue);
  }

  .mobile-flyer .flyer-button:hover,
  .mobile-flyer .flyer-button:focus-visible {
    outline: 3px solid rgba(22, 129, 196, 0.22);
    outline-offset: 2px;
  }

  .mobile-flyer .flyer-button--primary:hover,
  .mobile-flyer .flyer-button--primary:focus-visible {
    background: #0061ad;
  }

  .mobile-flyer .flyer-emergency {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #b9cee0;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--home-blue-dark);
    font-size: 0.87rem;
    text-decoration: none;
  }

  .mobile-flyer .flyer-emergency span {
    font-weight: 700;
  }

  .mobile-flyer .flyer-emergency strong {
    color: var(--home-blue);
    white-space: nowrap;
  }

  .mobile-flyer .flyer-contact {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--home-border);
    color: var(--home-muted);
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .mobile-flyer .flyer-contact strong {
    display: block;
    color: var(--home-ink);
  }

  .mobile-flyer .flyer-contact address {
    margin: 2px 0 0;
    font-style: normal;
  }

  .mobile-flyer .flyer-contact a {
    width: fit-content;
    color: var(--home-blue);
    font-weight: 750;
    overflow-wrap: anywhere;
  }

  .mobile-flyer .flyer-section {
    padding: 0;
  }

  .mobile-flyer .value-grid {
    display: grid;
    gap: 12px;
  }

  .mobile-flyer .value-card {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
  }

  .mobile-flyer .value-card__mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--home-blue-soft);
    color: var(--home-blue);
    font-size: 1.05rem;
    font-weight: 900;
  }

  .mobile-flyer .value-card h3,
  .mobile-flyer .info-card h3 {
    margin: 2px 0 7px;
    color: var(--home-blue-dark);
    font-size: 1.04rem;
    line-height: 1.25;
  }

  .mobile-flyer .value-card p,
  .mobile-flyer .info-card p {
    margin: 0;
    color: var(--home-muted);
    font-size: 0.91rem;
    line-height: 1.48;
  }

  .mobile-flyer .flyer-section--services {
    padding: 22px 0 0;
  }

  .mobile-flyer .flyer-section__heading {
    margin-bottom: 14px;
  }

  .mobile-flyer .flyer-section__heading .flyer-eyebrow {
    margin-bottom: 7px;
  }

  .mobile-flyer .flyer-section h2,
  .mobile-flyer .appointment-card h2 {
    margin: 0;
    color: var(--home-blue-dark);
    font-size: 1.55rem;
    letter-spacing: -0.02em;
    line-height: 1.16;
  }

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

  .mobile-flyer .info-card.service {
    display: flex;
    min-width: 0;
    min-height: 262px;
    flex-direction: column;
    padding: 15px 14px 14px;
    border-radius: 16px;
  }

  .mobile-flyer .service > div:first-child {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 13px;
    background: var(--home-blue-soft);
  }

  .mobile-flyer .service .icon {
    width: 36px;
    height: 36px;
    color: var(--home-blue);
  }

  .mobile-flyer .service h3 {
    font-size: 1.06rem;
  }

  .mobile-flyer .service p {
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .mobile-flyer .service-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--home-border);
    color: var(--home-blue);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
  }

  .mobile-flyer .service-link:hover,
  .mobile-flyer .service-link:focus-visible {
    color: #0061ad;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .mobile-flyer .appointment-card {
    padding: 21px 19px 20px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 10%, #edf5fc 100%);
  }

  .mobile-flyer .appointment-card > p:not(.flyer-eyebrow) {
    margin: 9px 0 0;
    color: var(--home-muted);
    font-size: 0.93rem;
    line-height: 1.5;
  }

  .mobile-flyer .appointment-card__hours {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
    color: var(--home-muted);
    font-size: 0.86rem;
  }

  .mobile-flyer .appointment-card__hours strong {
    color: var(--home-blue-dark);
    text-align: right;
  }
}

@media (max-width: 350px) {
  .mobile-flyer .container {
    width: calc(100% - 24px);
  }

  .mobile-flyer .flyer-actions,
  .mobile-flyer .grid-4 {
    grid-template-columns: 1fr;
  }

  .mobile-flyer .info-card.service {
    min-height: 0;
  }
}
