.tap-page {
  --tap-blue: #073d90;
  --tap-ink: #142d4f;
  --tap-gray: #465971;
  --tap-line: #cedae7;
  color: var(--tap-ink);
}

.tap-hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  width: min(1330px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: var(--tap-blue);
  color: white;
}

.tap-hero-copy {
  align-self: center;
  padding: clamp(32px, 4.5vw, 68px);
}

.tap-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.tap-signature img {
  width: clamp(64px, 6vw, 82px);
  height: auto;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 16px;
}

.tap-signature a {
  font-size: .9rem;
  font-weight: 500;
}

.tap-signature a:hover,
.tap-signature a:focus-visible,
.tap-contact:hover {
  text-decoration: underline;
}

.tap-hero h1 {
  max-width: 13ch;
  margin: 0 0 18px;
  color: white;
  font-size: clamp(2.75rem, 4.5vw, 4.65rem);
  line-height: 1.04;
}

.tap-hero-copy > p {
  max-width: 38ch;
  margin: 0 0 28px;
  color: #f0f5ff;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.56;
}

.tap-action,
.tap-contact {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 23px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.tap-action {
  background: #fff;
  color: var(--tap-blue);
}

.tap-action:hover { background: #e5efff; }
.tap-hero :focus-visible { outline-color: #ffcc80; }

.tap-hero-photo {
  width: 100%;
  height: 100%;
  min-height: 365px;
  object-fit: cover;
  object-position: 53% center;
}

.tap-demo {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(30px, 6vw, 90px);
  padding-block: clamp(52px, 7vw, 100px);
  scroll-margin-top: 24px;
}

.tap-demo h2,
.tap-partner-grid h2 {
  margin-bottom: 16px;
  color: var(--tap-ink);
}

.tap-demo-intro > p,
.tap-partner-grid p {
  max-width: 40ch;
  color: var(--tap-gray);
}

.tap-demo-intro .tap-demo-note {
  max-width: 33ch;
  margin-top: 20px;
  padding-left: 12px;
  border-left: 3px solid #e98e23;
  color: var(--tap-ink);
  font-size: .9375rem;
  line-height: 1.5;
}

.tap-directory {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--tap-line);
  border-radius: 18px;
  background: white;
}

.tap-directory h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.tap-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}

.tap-filters button {
  min-height: 43px;
  padding: 7px 14px;
  border: 1px solid var(--tap-line);
  border-radius: 30px;
  background: white;
  color: var(--tap-ink);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
}

.tap-filters button:hover { border-color: var(--tap-blue); }
.tap-filters button[aria-pressed=true] {
  border-color: var(--tap-blue);
  background: var(--tap-blue);
  color: white;
}

.tap-offer {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--tap-line);
}

.tap-offer:last-child { padding-bottom: 0; }
.tap-offer-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  background: #e9f1ff;
  color: var(--tap-blue);
}

.tap-offer-icon svg { width: 22px; height: 22px; }
.tap-place {
  margin: 0 0 3px;
  color: var(--tap-gray);
  font-size: .875rem;
  line-height: 1.5;
}

.tap-offer h4 {
  margin: 0;
  color: var(--tap-ink);
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  line-height: 1.3;
}

.tap-terms { margin-top: 3px; }
.tap-terms summary {
  display: list-item;
  width: fit-content;
  min-height: 38px;
  padding: 7px 4px 6px 0;
  color: var(--tap-blue);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
}

.tap-terms summary:hover { text-decoration: underline; }
.tap-terms p {
  margin: 4px 0 0;
  color: var(--tap-gray);
  line-height: 1.55;
}

.tap-partners {
  padding: clamp(36px, 4.5vw, 65px) 0;
  background: #edf3fc;
}

.tap-partner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.tap-partner-grid h2 { font-size: clamp(1.75rem, 2.7vw, 2.3rem); }
.tap-partner-grid p { max-width: 58ch; margin-bottom: 0; }
.tap-contact { flex-shrink: 0; background: var(--tap-blue); color: white; }

@media (max-width: 760px) {
  .tap-hero {
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr);
    border-radius: 18px;
  }
  .tap-hero-copy { padding: 27px clamp(20px, 5vw, 36px) 32px; }
  .tap-signature { margin-bottom: 20px; }
  .tap-hero-photo { height: auto; min-height: 0; aspect-ratio: 2 / 1; }
  .tap-demo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tap-demo-intro .tap-demo-note { max-width: none; margin-top: 12px; }
  .tap-partner-grid { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (max-width: 390px) {
  .tap-directory { padding-inline: 15px; }
  .tap-filters button { padding-inline: 11px; }
  .tap-offer { gap: 9px; }
}

.tap-locale { display:inline-block; margin:0.85rem; color:white; text-decoration:underline; }
.tap-paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.6rem; padding-block:3rem 0; }
.tap-paths article { border-top:3px solid var(--tap-blue); padding-block:1.25rem; }
.tap-paths h2 { font-size:clamp(1.45rem,2.2vw,2rem); margin:0 0 .75rem; }
.tap-paths p { max-width:39ch; margin:0 0 .8rem; line-height:1.6; }
.tap-paths a { display:block; width:fit-content; color:var(--tap-blue); font-weight:650; padding:.35rem 0; text-decoration:underline; text-underline-offset:.15em; }
@media(max-width:720px) { .tap-paths { grid-template-columns:1fr; gap:0; padding-block:2rem 0; } }
.tap-standalone {padding-top:clamp(.75rem,2vw,2rem);}
