/* ==========================================================================
   DR. HANDYMAN — digital business card
   Mobile-first, dependency-free. Brand: black / yellow / white / honeycomb.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/fonts/sora-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #060708;
  --ink-soft: #0a0b0d;
  --panel: #101113;
  --panel-2: #17181b;
  --charcoal: #141519;
  --yellow: #fdc401;
  --yellow-soft: #ffda58;
  --white: #ffffff;
  --text: #f2f1ed;
  --muted: #c7c6c2;
  --muted-2: #aaa9a5;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --amber-line: rgba(253, 196, 1, 0.22);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 13px;
  --shadow: 0 32px 80px -34px rgba(0, 0, 0, 0.95);
  --honeycomb: url("/assets/brand/honeycomb.svg");
  --honeycomb-size: 84px;
  --font-display: "Sora", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: var(--font-body);
  --icon-tile-size: 36px;
  --icon-glyph-size: 20px;
  --icon-tile-padding: 7px;
  --service-rail: 82px;
  --service-icon-size: 48px;
  --service-icon-glyph: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(118px + env(safe-area-inset-bottom));
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.62;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}

/* --- Icon system --------------------------------------------------------- */

.app-icon {
  display: block;
  flex: 0 0 auto;
  stroke-width: 1.8;
  transform: scale(var(--icon-scale, 1));
  transform-origin: center;
}

.icon-tile {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--icon-tile-size);
  height: var(--icon-tile-size);
  padding: var(--icon-tile-padding);
  border: 1px solid rgba(253, 196, 1, 0.16);
  border-radius: 10px;
  background: rgba(253, 196, 1, 0.085);
  color: var(--yellow);
}

.icon-tile .app-icon {
  width: var(--icon-glyph-size);
  height: var(--icon-glyph-size);
}

/* Optical corrections: dense shapes recede slightly; open shapes lift. */
.app-icon--home { --icon-scale: 0.98; }
.app-icon--wrench { --icon-scale: 1.03; }
.app-icon--roller { --icon-scale: 0.95; }
.app-icon--cabinet { --icon-scale: 0.94; }
.app-icon--bath { --icon-scale: 0.97; }
.app-icon--grid { --icon-scale: 0.9; }
.app-icon--planks { --icon-scale: 0.89; }
.app-icon--droplet { --icon-scale: 1.04; }
.app-icon--trowel { --icon-scale: 1.02; }
.app-icon--saw { --icon-scale: 0.95; }
.app-icon--phone { --icon-scale: 1.04; }
.app-icon--whatsapp { --icon-scale: 0.98; }
.app-icon--mail { --icon-scale: 0.98; }
.app-icon--instagram { --icon-scale: 1.02; }
.app-icon--pin { --icon-scale: 1.08; }
.app-icon--share { --icon-scale: 1.06; }
.app-icon--copy { --icon-scale: 1.04; }
.app-icon--qr { --icon-scale: 0.98; }
.app-icon--close { --icon-scale: 1.08; }
.app-icon--arrow-up-right { --icon-scale: 1.02; }

::selection {
  background: var(--yellow);
  color: #0a0a0b;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: #0a0a0b;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* --- Backdrop ------------------------------------------------------------ */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(860px 620px at 50% -18%, rgba(253, 196, 1, 0.21), transparent 62%),
    radial-gradient(700px 540px at 104% 22%, rgba(253, 196, 1, 0.08), transparent 68%),
    radial-gradient(860px 700px at -12% 78%, rgba(253, 196, 1, 0.052), transparent 70%),
    linear-gradient(180deg, #090a0b 0%, #060708 48%, #090a0b 100%);
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: -2px;
  background-image: var(--honeycomb);
  background-size: var(--honeycomb-size) auto;
  opacity: 0.52;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 55%, rgba(0, 0, 0, 0.18) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 55%, rgba(0, 0, 0, 0.18) 100%);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(380px 380px at 84% 7%, rgba(253, 196, 1, 0.105), transparent 68%),
    radial-gradient(520px 440px at 3% 46%, rgba(253, 196, 1, 0.035), transparent 71%),
    linear-gradient(180deg, transparent 66%, rgba(0, 0, 0, 0.24));
  filter: blur(3px);
  pointer-events: none;
}

/* --- App shell ----------------------------------------------------------- */

.app {
  width: min(100%, 632px);
  margin: 0 auto;
  padding: 14px 14px calc(128px + env(safe-area-inset-bottom));
}

.boot {
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  animation: boot-in 0.5s ease both;
}

.boot__tile {
  width: 94px;
  height: 94px;
  padding: 7px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 55px -12px rgba(0, 0, 0, 0.7);
}

.boot__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.boot__name {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.boot__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.boot__loader {
  width: 20px;
  height: 20px;
  margin-top: 16px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes boot-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* --- Top bar ------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.brand__tile {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 4px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.brand__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__tag {
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.share-btn:hover {
  border-color: rgba(253, 196, 1, 0.5);
  background: rgba(253, 196, 1, 0.08);
}

.share-btn:active {
  transform: scale(0.97);
}

.share-btn .app-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

/* --- Reveal -------------------------------------------------------------- */

.reveal {
  opacity: 1;
}

.reveal.is-in {
  animation: reveal-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 20px 22px;
  border: 1px solid rgba(253, 196, 1, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 95% at 100% 0%, rgba(253, 196, 1, 0.11), transparent 56%),
    radial-gradient(90% 80% at -12% 100%, rgba(253, 196, 1, 0.025), transparent 62%),
    linear-gradient(180deg, rgba(18, 19, 22, 0.72) 0%, rgba(12, 13, 15, 0.7) 58%, rgba(9, 10, 11, 0.76) 100%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

/* The page-level honeycomb remains visible through the translucent hero.
   This keeps the hero panel and the surrounding page on one continuous field. */

.hero::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 196, 1, 0.68), transparent);
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  top: 26px;
  right: 14px;
  width: clamp(136px, 42vw, 176px);
  height: auto;
  z-index: -1;
  object-fit: contain;
  opacity: 0.13;
  pointer-events: none;
}

.hero__body {
  position: relative;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #d0cfcb;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(253, 196, 1, 0.13);
}

.hero__name {
  margin: 22px 0 10px;
  padding-block: 0.04em 0.06em;
  font-size: clamp(56px, 17.6vw, 78px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.075em;
  color: var(--white);
  white-space: nowrap;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__name {
    background: linear-gradient(180deg, #ffffff 8%, #f3f0e5 56%, #c6c2b4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.hero__role {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--yellow-soft);
}

.hero__role::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.68;
}

.hero__desc {
  max-width: 48ch;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.66;
  color: #d3d2ce;
  text-wrap: pretty;
}

.actions {
  margin-top: 22px;
}

.call {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffcf1b, var(--yellow));
  color: #0a0a0b;
  text-decoration: none;
  box-shadow: 0 16px 36px -18px rgba(253, 196, 1, 0.75);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.call:hover {
  filter: brightness(1.04);
  box-shadow: 0 20px 44px -18px rgba(253, 196, 1, 0.85);
}

.call:active {
  transform: scale(0.992);
}

.call__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 13px;
  background: rgba(10, 10, 11, 0.12);
  color: #0a0a0b;
}

.call__icon .app-icon {
  width: 22px;
  height: 22px;
}

.call__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.2;
}

.call__label {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.call__number {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  color: rgba(10, 10, 11, 0.78);
}

.call__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-left: auto;
  padding: 8px;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.12);
}

.call__arrow .app-icon {
  width: 18px;
  height: 18px;
}

.quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.quick__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 9px 7px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
}

.quick__btn:hover {
  border-color: rgba(253, 196, 1, 0.42);
  background: rgba(253, 196, 1, 0.055);
  transform: translateY(-1px);
}

.quick__btn:active {
  transform: scale(0.985);
}

.quick__label {
  display: grid;
  align-content: center;
  min-height: 2.4em;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-align: center;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.pill .app-icon {
  width: 14px;
  height: 14px;
  color: var(--yellow);
}

/* --- Banner (brand artwork as a live typographic band) ------------------- */

.banner {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 22px 18px 21px;
  border: 1px solid rgba(253, 196, 1, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(100% 160% at 100% 0%, rgba(253, 196, 1, 0.13), transparent 56%),
    linear-gradient(100deg, rgba(253, 196, 1, 0.075), transparent 52%),
    #0a0b0d;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--honeycomb);
  background-size: 76px auto;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(130% 150% at 100% 50%, #000, transparent 70%);
  mask-image: radial-gradient(130% 150% at 100% 50%, #000, transparent 70%);
  pointer-events: none;
}

.banner__inner {
  position: relative;
}

.banner__lead,
.banner__second {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 6.1vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.banner__lead span {
  color: var(--yellow);
  margin: 0 0.16em;
}

.banner__city {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* --- Sections ------------------------------------------------------------ */

.section {
  margin-top: 32px;
}

.section__head {
  padding: 0 2px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.section h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 7.5vw, 34px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--white);
}

.section__intro {
  max-width: 46ch;
  margin: 9px 0 0;
  font-size: 1rem;
  line-height: 1.58;
  color: var(--muted);
  text-wrap: pretty;
}

/* --- Services ------------------------------------------------------------ */

.services {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: var(--service-rail) minmax(0, 1fr);
  align-items: stretch;
  min-height: 98px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(253, 196, 1, 0.045), transparent 44%),
    rgba(10, 11, 13, 0.74);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.service:hover {
  border-color: rgba(253, 196, 1, 0.32);
  background:
    linear-gradient(90deg, rgba(253, 196, 1, 0.065), transparent 46%),
    rgba(13, 14, 16, 0.82);
  transform: translateY(-1px);
}

.service__rail {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 10px;
  background:
    radial-gradient(130% 120% at 50% 0%, rgba(253, 196, 1, 0.17), transparent 72%),
    linear-gradient(180deg, rgba(253, 196, 1, 0.075), rgba(253, 196, 1, 0.018));
}

.service__rail::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  background-image: var(--honeycomb);
  background-position: center top;
  background-size: 52px auto;
  opacity: 0.24;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%);
  mask-image: linear-gradient(180deg, #000, transparent 92%);
}

.service__rail::after {
  content: "";
  position: absolute;
  top: 16%;
  bottom: 16%;
  right: -1px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(253, 196, 1, 0.34), transparent);
}

.service__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--service-icon-size);
  height: var(--service-icon-size);
  padding: 0;
  border: 1px solid rgba(253, 196, 1, 0.3);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(253, 196, 1, 0.13), rgba(9, 10, 11, 0.82));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service__icon .app-icon {
  width: var(--service-icon-glyph);
  height: var(--service-icon-glyph);
}

.service:hover .service__icon {
  border-color: rgba(253, 196, 1, 0.48);
  background: linear-gradient(180deg, rgba(253, 196, 1, 0.18), rgba(9, 10, 11, 0.8));
}

.service__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 16px 16px 16px 18px;
}

.service h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #f5f3ee;
}

.service p {
  margin: 5px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --- Gallery ------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 10px;
  margin-top: 18px;
  padding: 0 0 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery__item span {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 500;
  text-align: left;
  color: #fff;
}

/* --- Share / QR ---------------------------------------------------------- */

.sharecard {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(253, 196, 1, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(253, 196, 1, 0.13), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    #0c0d0f;
}

.sharecard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--honeycomb);
  background-size: 60px auto;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(120% 120% at 0% 0%, #000, transparent 72%);
  mask-image: radial-gradient(120% 120% at 0% 0%, #000, transparent 72%);
  pointer-events: none;
}

.sharecard__qr {
  position: relative;
  width: 100%;
  max-width: 186px;
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 10px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
}

.sharecard__qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sharecard__qr:empty::after {
  content: "QR";
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #555;
}

.sharecard__body {
  position: relative;
}

.sharecard h2 {
  margin: 10px 0 0;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.sharecard p {
  max-width: 34ch;
  margin: 9px 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.sharecard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.sharecard p.sharecard__signature {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: none;
  margin: 15px 0 0;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(253, 196, 1, 0.76);
}

.sharecard__signature-mark {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: currentColor;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ghost-btn:hover {
  border-color: rgba(253, 196, 1, 0.5);
  background: rgba(253, 196, 1, 0.07);
}

.ghost-btn .app-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
  color: var(--yellow);
}

.ghost-btn--accent {
  border-color: rgba(253, 196, 1, 0.45);
  background: rgba(253, 196, 1, 0.1);
  color: var(--yellow-soft);
}

/* --- Contact ------------------------------------------------------------- */

.contact-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(10, 11, 13, 0.68);
}

.contact-list li + li {
  border-top: 1px solid var(--line);
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.contact-list a:hover {
  background: rgba(253, 196, 1, 0.045);
}

.contact-list__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.contact-list__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-list__value {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f2f2f4;
  overflow-wrap: anywhere;
}

.contact-list__arrow {
  margin-left: auto;
  color: var(--muted-2);
}

.contact-list__arrow .app-icon {
  width: 18px;
  height: 18px;
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 2px 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted-2);
}

.contact-note .app-icon {
  width: 14px;
  height: 14px;
  color: var(--yellow);
}

/* --- Footer -------------------------------------------------------------- */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 40px;
  padding: 26px 4px 8px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__logo {
  display: block;
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: 11px;
  background: #fff;
  object-fit: contain;
}

.footer__brand {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer__tag {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted-2);
}

.footer__row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.footer__row a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 2px;
}

.footer__row a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

/* --- Mobile dock --------------------------------------------------------- */

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  gap: 4px;
  width: min(calc(100% - 24px), 592px);
  margin-inline: auto;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px;
  background: rgba(13, 14, 16, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(100% + 24px));
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.38s;
}

.dock.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.dock a {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 6px 4px;
  border-radius: 13px;
  color: #e0e0e4;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dock a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dock a .app-icon {
  width: 20px;
  height: 20px;
}

.dock__primary {
  background: var(--yellow);
  color: #0a0a0b !important;
}

.dock__primary:hover {
  background: var(--yellow-soft) !important;
}

/* --- Dialog / lightbox --------------------------------------------------- */

.lightbox {
  width: min(92vw, 720px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #fff;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.84);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.lightbox figcaption,
.lightbox p {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.85);
  color: #fff;
  cursor: pointer;
}

.lightbox__close .app-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

/* --- Toast --------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: calc(100% - 34px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0b;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --- No-JS fallback ------------------------------------------------------ */

.nojs {
  max-width: 520px;
  margin: 32px auto;
  padding: 24px;
  border: 1px solid #2a2a2e;
  border-radius: 22px;
  background: #111214;
  color: #e9e9ec;
  font-family: var(--font);
  text-align: center;
}

.nojs__logo {
  width: 96px;
  height: 96px;
  padding: 7px;
  border-radius: 24px;
  background: #fff;
}

.nojs h1 {
  margin: 16px 0 4px;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.nojs__tag {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.nojs__actions {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.nojs__actions a {
  padding: 13px;
  border-radius: 12px;
  background: var(--yellow);
  color: #0a0a0b;
  font-weight: 700;
  text-decoration: none;
}

.nojs__note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --- Error state --------------------------------------------------------- */

.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70svh;
  padding: 24px;
  text-align: center;
}

.error__tile {
  display: block;
  width: 76px;
  height: 76px;
  padding: 6px;
  border-radius: 20px;
  background: #fff;
  object-fit: contain;
}

.error h1 {
  margin: 18px 0 6px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.error p {
  margin: 0 0 18px;
  max-width: 36ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* --- Responsive ---------------------------------------------------------- */

@media (min-width: 520px) {
  :root {
    --service-rail: 86px;
    --service-icon-size: 50px;
    --service-icon-glyph: 27px;
  }

  .app {
    padding: 22px 20px calc(132px + env(safe-area-inset-bottom));
  }

  .hero {
    padding: 30px 26px 24px;
  }

  .hero__desc {
    font-size: 1rem;
  }

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

  .service {
    min-height: 104px;
  }

  .quick__btn {
    min-height: 84px;
  }

  .quick__label {
    min-height: 0;
  }

  .sharecard {
    grid-template-columns: 178px 1fr;
    align-items: center;
    gap: 22px;
    padding: 20px;
  }

  .sharecard__qr {
    max-width: 178px;
  }

  .banner {
    padding: 28px 26px;
  }

  .section {
    margin-top: 38px;
  }
}

@media (min-width: 860px) {
  .app {
    padding-top: 34px;
    padding-bottom: 70px;
  }

  .dock {
    display: none;
  }

  .toast {
    bottom: 28px;
  }

  .hero {
    border-radius: 30px;
  }

  .share-btn {
    height: 42px;
    padding: 0 16px;
  }

  .share-btn__label {
    display: inline;
  }
}

@media (max-width: 359px) {
  :root {
    --service-rail: 72px;
    --service-icon-size: 44px;
    --service-icon-glyph: 24px;
  }

  .brand__tag {
    display: none;
  }

  .share-btn {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .share-btn__label {
    display: none;
  }

  .quick__label {
    font-size: 0.8125rem;
  }

  .hero {
    padding-inline: 16px;
  }

  .banner {
    padding-inline: 16px;
  }

  .service__body {
    padding: 15px 13px 15px 14px;
  }
}

/* --- Motion & contrast preferences -------------------------------------- */

@media (prefers-contrast: more) {
  :root {
    --muted: #dedee3;
    --muted-2: #cfd0d5;
    --line: rgba(255, 255, 255, 0.24);
    --line-strong: rgba(255, 255, 255, 0.4);
  }

  .service,
  .quick__btn,
  .contact-list {
    background: #151618;
  }

  .icon-tile {
    border-color: rgba(253, 196, 1, 0.42);
    background: #1b1910;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal.is-in {
    animation: none;
  }
}

@media (forced-colors: active) {
  .call,
  .quick__btn,
  .ghost-btn,
  .share-btn,
  .dock__primary {
    border: 1px solid ButtonText;
  }
}

/* --- Small runtime fallbacks -------------------------------------------- */

.qr-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
}

.copy-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* --- Optional supplied banner artwork ----------------------------------- */

.banner--image {
  padding: 0;
  background: #0b0c0d;
}

.banner--image::before {
  display: none;
}

.banner--image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 21px;
}
