@font-face {
  font-family: "Rabar 038";
  src:
    url("../fonts/Rabar_038.woff2") format("woff2"),
    url("../fonts/Rabar_038.woff") format("woff"),
    url("../fonts/Rabar_038.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-deep: #047985;
  --brand-mid: #058e9b;
  --brand: #07aebe;
  --brand-glow: #39d4e2;
  --brand-tint: #ccf2f6;
  --brand-mist: #e8f8fa;
  --brand-wash: #f4fcfd;

  --porcelain: #ffffff;
  --ink-primary: #0b2c33;
  --ink-secondary: #486e76;
  --ink-muted: #70959d;
  --border-soft: rgba(7, 174, 190, 0.14);
  --border-hover: rgba(7, 174, 190, 0.42);

  --icon-primary: var(--brand);
  --icon-secondary: rgba(7, 174, 190, 0.18);

  --radius-shell: 38px;
  --radius-card: 22px;
  --radius-squircle: 15px;

  --spring: cubic-bezier(0.34, 1.48, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font-main: "Rabar 038", "Noto Sans Arabic", Tahoma, sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  color: var(--ink-primary);
  background: radial-gradient(
    circle at 50% 0%,
    #f7fdfe 0%,
    #e7f7f9 58%,
    #daf1f4 100%
  );
  display: grid;
  place-items: center;
  padding: 32px 16px;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

.is-hidden {
  display: none !important;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='116' viewBox='0 0 180 116'%3E%3Cg fill='%2307aebe' fill-opacity='0.065'%3E%3Cg transform='translate(14 14) scale(0.24)'%3E%3Cpath fill-rule='evenodd' d='M2 3H48C77 3 99 22 99 50C99 78 77 97 48 97H2C.5 97 0 95.5 0 94V92C0 90 1.5 89 4 88.5L7.2 87.5V12.5L4 11.5C1.5 11 0 10 0 8V6C0 4.5.5 3 2 3ZM27.5 20.5V79.5H47C66 79.5 79 67.5 79 50C79 32.5 66 20.5 47 20.5Z'/%3E%3Cpath d='M100 3H123C126 3 128 4.5 130 7L156 39.5L186 5.5C188.5 3.5 191 3 194 3H254C256 3 257 4.5 257 6.5V28.5C258.8 30 259.6 32.2 259.6 34.6C259.6 38.4 256.6 41.2 253 41.2C249.4 41.2 246.8 38.4 246.8 34.6C246.8 32.2 247.8 30 249.4 28.5V24C249.4 21.5 247.5 20 244.5 20H204C200.5 20 197.5 21.5 195 24.5L160 69.5C158.5 71.5 156 71.5 154.5 69.5L128 41V87.5L132.5 89C134.5 89.6 135.5 91 135.5 93V94.5C135.5 96 134.5 97 132.5 97H102C100.5 97 99.5 96 99.5 94.5V93C99.5 91 100.8 89.6 103 89L107.2 87.5V12.5L102 11C99.5 10.2 98.5 9 98.5 7V5.5C98.5 4 99 3 100 3Z'/%3E%3Cpath d='M184 78.5L192.5 68.5C194 67 195.8 67.5 197.5 69C202.5 74.5 208 79 216 79H244.5C247.5 79 249.4 77.5 249.4 75V71.5C247.8 70 246.8 67.8 246.8 65.4C246.8 61.6 249.4 58.8 253 58.8C256.6 58.8 259.6 61.6 259.6 65.4C259.6 67.8 258.8 70 257 71.5V93.5C257 95.5 256 97 254 97H211C198 97 189.5 92 183.5 82.5C182.5 81 182.8 79.6 184 78.5Z'/%3E%3Crect x='216.8' y='30' width='12.4' height='40' rx='6.2'/%3E%3Crect x='202.5' y='43.8' width='41' height='12.4' rx='6.2'/%3E%3C/g%3E%3Cg transform='translate(104 72) scale(0.24)'%3E%3Cpath fill-rule='evenodd' d='M2 3H48C77 3 99 22 99 50C99 78 77 97 48 97H2C.5 97 0 95.5 0 94V92C0 90 1.5 89 4 88.5L7.2 87.5V12.5L4 11.5C1.5 11 0 10 0 8V6C0 4.5.5 3 2 3ZM27.5 20.5V79.5H47C66 79.5 79 67.5 79 50C79 32.5 66 20.5 47 20.5Z'/%3E%3Cpath d='M100 3H123C126 3 128 4.5 130 7L156 39.5L186 5.5C188.5 3.5 191 3 194 3H254C256 3 257 4.5 257 6.5V28.5C258.8 30 259.6 32.2 259.6 34.6C259.6 38.4 256.6 41.2 253 41.2C249.4 41.2 246.8 38.4 246.8 34.6C246.8 32.2 247.8 30 249.4 28.5V24C249.4 21.5 247.5 20 244.5 20H204C200.5 20 197.5 21.5 195 24.5L160 69.5C158.5 71.5 156 71.5 154.5 69.5L128 41V87.5L132.5 89C134.5 89.6 135.5 91 135.5 93V94.5C135.5 96 134.5 97 132.5 97H102C100.5 97 99.5 96 99.5 94.5V93C99.5 91 100.8 89.6 103 89L107.2 87.5V12.5L102 11C99.5 10.2 98.5 9 98.5 7V5.5C98.5 4 99 3 100 3Z'/%3E%3Cpath d='M184 78.5L192.5 68.5C194 67 195.8 67.5 197.5 69C202.5 74.5 208 79 216 79H244.5C247.5 79 249.4 77.5 249.4 75V71.5C247.8 70 246.8 67.8 246.8 65.4C246.8 61.6 249.4 58.8 253 58.8C256.6 58.8 259.6 61.6 259.6 65.4C259.6 67.8 258.8 70 257 71.5V93.5C257 95.5 256 97 254 97H211C198 97 189.5 92 183.5 82.5C182.5 81 182.8 79.6 184 78.5Z'/%3E%3Crect x='216.8' y='30' width='12.4' height='40' rx='6.2'/%3E%3Crect x='202.5' y='43.8' width='41' height='12.4' rx='6.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 116px;
}

.linktree-shell {
  position: relative;
  width: 100%;
  max-width: 428px;
  min-height: 690px;
  background: var(--porcelain);
  border-radius: var(--radius-shell);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow:
    0 32px 72px -26px rgba(4, 121, 133, 0.22),
    0 8px 20px -8px rgba(7, 174, 190, 0.1),
    0 0 0 1px rgba(7, 174, 190, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: shellEnter 0.65s var(--ease-out) both;
}

.moroccan-cap {
  position: relative;
  height: 136px;
  background:
    radial-gradient(
      ellipse at 50% -10%,
      rgba(125, 232, 241, 0.45),
      transparent 62%
    ),
    linear-gradient(
      160deg,
      var(--brand-deep) 0%,
      var(--brand) 62%,
      #13becf 100%
    );
  flex-shrink: 0;
}

.dmc-pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='74' viewBox='0 0 118 74'%3E%3Cg fill='%23ffffff' fill-opacity='0.14'%3E%3Cg transform='translate(10 10) scale(0.165)'%3E%3Cpath fill-rule='evenodd' d='M2 3H48C77 3 99 22 99 50C99 78 77 97 48 97H2C.5 97 0 95.5 0 94V92C0 90 1.5 89 4 88.5L7.2 87.5V12.5L4 11.5C1.5 11 0 10 0 8V6C0 4.5.5 3 2 3ZM27.5 20.5V79.5H47C66 79.5 79 67.5 79 50C79 32.5 66 20.5 47 20.5Z'/%3E%3Cpath d='M100 3H123C126 3 128 4.5 130 7L156 39.5L186 5.5C188.5 3.5 191 3 194 3H254C256 3 257 4.5 257 6.5V28.5C258.8 30 259.6 32.2 259.6 34.6C259.6 38.4 256.6 41.2 253 41.2C249.4 41.2 246.8 38.4 246.8 34.6C246.8 32.2 247.8 30 249.4 28.5V24C249.4 21.5 247.5 20 244.5 20H204C200.5 20 197.5 21.5 195 24.5L160 69.5C158.5 71.5 156 71.5 154.5 69.5L128 41V87.5L132.5 89C134.5 89.6 135.5 91 135.5 93V94.5C135.5 96 134.5 97 132.5 97H102C100.5 97 99.5 96 99.5 94.5V93C99.5 91 100.8 89.6 103 89L107.2 87.5V12.5L102 11C99.5 10.2 98.5 9 98.5 7V5.5C98.5 4 99 3 100 3Z'/%3E%3Cpath d='M184 78.5L192.5 68.5C194 67 195.8 67.5 197.5 69C202.5 74.5 208 79 216 79H244.5C247.5 79 249.4 77.5 249.4 75V71.5C247.8 70 246.8 67.8 246.8 65.4C246.8 61.6 249.4 58.8 253 58.8C256.6 58.8 259.6 61.6 259.6 65.4C259.6 67.8 258.8 70 257 71.5V93.5C257 95.5 256 97 254 97H211C198 97 189.5 92 183.5 82.5C182.5 81 182.8 79.6 184 78.5Z'/%3E%3Crect x='216.8' y='30' width='12.4' height='40' rx='6.2'/%3E%3Crect x='202.5' y='43.8' width='41' height='12.4' rx='6.2'/%3E%3C/g%3E%3Cg transform='translate(69 47) scale(0.165)'%3E%3Cpath fill-rule='evenodd' d='M2 3H48C77 3 99 22 99 50C99 78 77 97 48 97H2C.5 97 0 95.5 0 94V92C0 90 1.5 89 4 88.5L7.2 87.5V12.5L4 11.5C1.5 11 0 10 0 8V6C0 4.5.5 3 2 3ZM27.5 20.5V79.5H47C66 79.5 79 67.5 79 50C79 32.5 66 20.5 47 20.5Z'/%3E%3Cpath d='M100 3H123C126 3 128 4.5 130 7L156 39.5L186 5.5C188.5 3.5 191 3 194 3H254C256 3 257 4.5 257 6.5V28.5C258.8 30 259.6 32.2 259.6 34.6C259.6 38.4 256.6 41.2 253 41.2C249.4 41.2 246.8 38.4 246.8 34.6C246.8 32.2 247.8 30 249.4 28.5V24C249.4 21.5 247.5 20 244.5 20H204C200.5 20 197.5 21.5 195 24.5L160 69.5C158.5 71.5 156 71.5 154.5 69.5L128 41V87.5L132.5 89C134.5 89.6 135.5 91 135.5 93V94.5C135.5 96 134.5 97 132.5 97H102C100.5 97 99.5 96 99.5 94.5V93C99.5 91 100.8 89.6 103 89L107.2 87.5V12.5L102 11C99.5 10.2 98.5 9 98.5 7V5.5C98.5 4 99 3 100 3Z'/%3E%3Cpath d='M184 78.5L192.5 68.5C194 67 195.8 67.5 197.5 69C202.5 74.5 208 79 216 79H244.5C247.5 79 249.4 77.5 249.4 75V71.5C247.8 70 246.8 67.8 246.8 65.4C246.8 61.6 249.4 58.8 253 58.8C256.6 58.8 259.6 61.6 259.6 65.4C259.6 67.8 258.8 70 257 71.5V93.5C257 95.5 256 97 254 97H211C198 97 189.5 92 183.5 82.5C182.5 81 182.8 79.6 184 78.5Z'/%3E%3Crect x='216.8' y='30' width='12.4' height='40' rx='6.2'/%3E%3Crect x='202.5' y='43.8' width='41' height='12.4' rx='6.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 118px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.96), transparent 90%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.96),
    transparent 90%
  );
}

.arch-curve {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  width: 100%;
  height: 54px;
  display: block;
}

.linktree-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 24px 22px;
}

.jelly-svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
  transition: transform 0.4s var(--spring);
}

.jelly-stroke {
  fill: none;
  stroke: var(--icon-primary);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    stroke 0.25s ease,
    fill 0.25s ease;
}

.jelly-fill {
  fill: var(--icon-secondary);
  stroke: none;
  transition:
    fill 0.25s ease,
    opacity 0.25s ease;
}

.jelly-dot {
  fill: var(--icon-primary);
  transition: fill 0.25s ease;
}

[data-icon-style="regular"] .jelly-fill {
  opacity: 0;
}

[data-icon-style="fill"] .jelly-fill {
  fill: var(--icon-primary);
}

[data-icon-style="fill"] .jelly-stroke {
  stroke: var(--icon-primary);
}

[data-icon-style="fill"] .jelly-detail {
  stroke: var(--icon-cutout, #ffffff);
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -60px;
  margin-bottom: 22px;
}

.avatar-frame {
  position: relative;
  padding: 2.5px;
  border-radius: 26px;
  background: var(--porcelain);
  box-shadow:
    0 10px 26px -10px rgba(4, 121, 133, 0.24),
    0 0 0 1px rgba(7, 174, 190, 0.08);
  margin-bottom: 14px;
}

.avatar-squircle {
  width: 82px;
  height: 82px;
  border-radius: 23.5px;
  background: linear-gradient(
    160deg,
    var(--brand-wash) 0%,
    var(--brand-tint) 100%
  );
  border: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  --icon-primary: var(--brand);
  --icon-secondary: rgba(7, 174, 190, 0.18);
}

.avatar-squircle--profile {
  width: 94px;
  height: 94px;
  border-radius: 23.5px;
}

.avatar-squircle--profile:has(.avatar-photo) {
  background:
    radial-gradient(circle at 50% 24%, #6ce6f2 0%, rgba(19, 190, 207, 0.25) 48%, transparent 74%),
    linear-gradient(160deg, #09b8c8 0%, var(--brand) 48%, var(--brand-deep) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -10px 20px -10px rgba(2, 68, 76, 0.32);
}

.avatar-squircle.is-cutout {
  position: relative;
  overflow: visible;
}

.avatar-pop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.avatar-squircle--profile.is-cutout .avatar-pop {
  clip-path: inset(-36px 0 0 0 round 0 0 23.5px 23.5px);
}

.avatar-squircle--profile.is-cutout .avatar-photo {
  transform-origin: 50% 96%;
  transform: scale(1.18);
  filter: drop-shadow(0 3px 8px rgba(2, 68, 76, 0.26));
}


.avatar-squircle--dmc {
  padding: 0;
  color: var(--brand);
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  display: block;
}

.avatar-photo--logo {
  object-position: center;
}

.jelly-svg--avatar {
  width: 40px;
  height: 40px;
}

.jelly-svg--avatar .jelly-stroke {
  stroke-width: 1.65;
}

.doctor-name {
  font-size: 1.58rem;
  font-weight: 400;
  color: var(--ink-primary);
  line-height: 1.45;
}

.doctor-specialty {
  margin-top: 3px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--brand-deep);
}

.doctor-meta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(7, 174, 190, 0.52);
  flex-shrink: 0;
}

.schedule-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 8px;
  padding-inline-start: 8px;
  padding-inline-end: 16px;
  margin-bottom: 11px;
  border-radius: var(--radius-card);
  background: var(--brand-wash);
  border: 1px solid rgba(7, 174, 190, 0.15);
  animation: itemFadeUp 0.48s var(--ease-out) both;
}

.schedule-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-squircle);
  background: var(--porcelain);
  border: 1px solid rgba(7, 174, 190, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  --icon-primary: var(--brand);
  --icon-secondary: rgba(7, 174, 190, 0.18);
}

.schedule-icon .jelly-svg {
  width: 22px;
  height: 22px;
}

.schedule-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: start;
}

.schedule-days {
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink-primary);
}

.schedule-hours {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--brand-deep);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.search-icon {
  position: absolute;
  inset-inline-start: 14px;
  pointer-events: none;
  display: grid;
  place-items: center;
  --icon-primary: var(--brand);
  --icon-secondary: rgba(7, 174, 190, 0.16);
}

.search-icon .jelly-svg {
  width: 19px;
  height: 19px;
}

.search-input {
  width: 100%;
  height: 48px;
  padding-inline-start: 44px;
  padding-inline-end: 16px;
  border-radius: 20px;
  border: 1px solid rgba(7, 174, 190, 0.18);
  background: var(--porcelain);
  color: var(--ink-primary);
  font-size: 0.94rem;
  line-height: 1.5;
  box-shadow: 0 6px 18px -14px rgba(4, 121, 133, 0.18);
  outline: none;
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.search-input::placeholder {
  color: var(--ink-muted);
}

.search-input:focus {
  background: var(--porcelain);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(7, 174, 190, 0.16);
}

.directory-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.doctor-dir-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-block: 8px;
  padding-inline-start: 8px;
  padding-inline-end: 16px;
  border-radius: var(--radius-card);
  background: var(--porcelain);
  border: 1px solid var(--border-soft);
  text-decoration: none;
  color: var(--ink-primary);
  box-shadow:
    0 6px 18px -14px rgba(4, 121, 133, 0.22),
    0 1px 2px rgba(4, 121, 133, 0.04);
  transition:
    transform 0.36s var(--spring),
    border-color 0.24s ease,
    box-shadow 0.28s var(--ease-out),
    background-color 0.24s ease;
  outline: none;
  animation: itemFadeUp 0.5s var(--ease-out) both;
}

.doctor-dir-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: #fcffff;
  box-shadow:
    0 16px 30px -18px rgba(4, 121, 133, 0.28),
    0 4px 10px -6px rgba(7, 174, 190, 0.12);
}

.doctor-dir-card:hover .dir-avatar {
  background: var(--brand);
  border-color: var(--brand);
  --icon-primary: #ffffff;
  --icon-secondary: rgba(255, 255, 255, 0.28);
  --icon-cutout: var(--brand);
}

.doctor-dir-card:hover .dir-avatar:has(img) {
  background:
    radial-gradient(circle at 50% 24%, #6ce6f2 0%, rgba(19, 190, 207, 0.25) 48%, transparent 74%),
    linear-gradient(160deg, #09b8c8 0%, var(--brand) 48%, var(--brand-deep) 100%);
  border-color: var(--brand);
}

.doctor-dir-card:hover .link-arrow {
  color: var(--brand);
  transform: translateX(-3px);
}

.doctor-dir-card:active {
  transform: translateY(0) scale(0.988);
}

.doctor-dir-card:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(7, 174, 190, 0.26);
}

.dir-avatar {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--brand-mist);
  border: 1px solid rgba(7, 174, 190, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease;
}

.dir-avatar.is-cutout {
  overflow: visible;
}

.dir-avatar.is-cutout .avatar-pop {
  clip-path: inset(-20px 0 0 0 round 0 0 14px 14px);
}

.dir-avatar.is-cutout .avatar-photo {
  transform-origin: 50% 95%;
  transform: scale(1.16);
  filter: drop-shadow(0 2px 5px rgba(2, 68, 76, 0.22));
}

.dir-avatar:has(img) {
  background:
    radial-gradient(circle at 50% 24%, #6ce6f2 0%, rgba(19, 190, 207, 0.25) 48%, transparent 74%),
    linear-gradient(160deg, #09b8c8 0%, var(--brand) 48%, var(--brand-deep) 100%);
  border-color: rgba(7, 174, 190, 0.22);
}

.dir-avatar .jelly-svg {
  width: 22px;
  height: 22px;
}

.dir-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: start;
}

.dir-name {
  font-size: 0.99rem;
  line-height: 1.45;
  color: var(--ink-primary);
}

.dir-specialty {
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--brand-deep);
}

.dir-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.empty-state {
  text-align: center;
  padding: 26px 18px;
  border-radius: var(--radius-card);
  background: var(--brand-wash);
  border: 1.5px dashed rgba(7, 174, 190, 0.26);
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-state-title {
  font-size: 1.04rem;
  color: var(--ink-primary);
  line-height: 1.5;
}

.empty-state-desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.primary-action-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 16px;
  background: var(--brand);
  color: var(--porcelain);
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.5;
  box-shadow: 0 12px 22px -10px rgba(7, 174, 190, 0.58);
  transition:
    transform 0.35s var(--spring),
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-action-btn:hover {
  background: var(--brand-mid);
  transform: translateY(-2px);
}

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

.links-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.link-card {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 8px;
  padding-inline-start: 8px;
  padding-inline-end: 16px;
  border-radius: var(--radius-card);
  background: var(--porcelain);
  border: 1px solid var(--border-soft);
  text-decoration: none;
  color: var(--ink-primary);
  cursor: pointer;
  box-shadow:
    0 6px 18px -14px rgba(4, 121, 133, 0.22),
    0 1px 2px rgba(4, 121, 133, 0.04);
  transition:
    transform 0.36s var(--spring),
    border-color 0.24s ease,
    box-shadow 0.28s var(--ease-out),
    background-color 0.24s ease;
  outline: none;
  animation: itemFadeUp 0.55s var(--ease-out) both;
}

.icon-squircle {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-squircle);
  background: var(--brand-mist);
  border: 1px solid rgba(7, 174, 190, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    transform 0.4s var(--spring),
    background-color 0.26s var(--ease-out),
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.link-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

.link-label {
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink-primary);
}

.link-sublabel {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--brand-deep);
}

.link-sublabel--ltr {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.34em;
  direction: ltr;
  unicode-bidi: isolate;
}

.location-map-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  background: var(--porcelain);
  border: 1px solid var(--border-soft);
  text-decoration: none;
  color: var(--ink-primary);
  box-shadow:
    0 6px 18px -14px rgba(4, 121, 133, 0.22),
    0 1px 2px rgba(4, 121, 133, 0.04);
  overflow: hidden;
  outline: none;
  animation: itemFadeUp 0.55s var(--ease-out) both;
  transition:
    transform 0.36s var(--spring),
    border-color 0.24s ease,
    box-shadow 0.28s var(--ease-out),
    background-color 0.24s ease;
}

.location-map-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: #fcffff;
  box-shadow:
    0 16px 30px -18px rgba(4, 121, 133, 0.28),
    0 4px 10px -6px rgba(7, 174, 190, 0.12);
}

.location-map-card:active {
  transform: translateY(0) scale(0.988);
}

.location-map-card:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(7, 174, 190, 0.26);
}

.location-map-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 8px;
  padding-inline-start: 8px;
  padding-inline-end: 16px;
}

.location-map-card:hover .icon-squircle {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 8px 18px -8px rgba(7, 174, 190, 0.55);
  transform: scale(1.05);
  --icon-primary: #ffffff;
  --icon-secondary: rgba(255, 255, 255, 0.28);
  --icon-cutout: var(--brand);
}

.location-map-card:hover .link-arrow {
  color: var(--brand);
  transform: translateX(-3px);
}

.location-map-strip {
  position: relative;
  margin: 0 8px 8px;
  height: 98px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(7, 174, 190, 0.14);
  background: #ebf8fa;
}

.mini-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mini-map-badge {
  position: absolute;
  bottom: 8px;
  inset-inline-end: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(7, 174, 190, 0.22);
  color: var(--brand-deep);
  font-size: 0.75rem;
  line-height: 1.4;
  box-shadow: 0 4px 12px -4px rgba(4, 121, 133, 0.24);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.location-map-card:hover .mini-map-badge {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--porcelain);
}

.link-arrow {
  color: rgba(7, 174, 190, 0.48);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    transform 0.36s var(--spring),
    color 0.24s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: #fcffff;
  box-shadow:
    0 16px 30px -18px rgba(4, 121, 133, 0.28),
    0 4px 10px -6px rgba(7, 174, 190, 0.12);
}

.link-card:hover .icon-squircle {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 8px 18px -8px rgba(7, 174, 190, 0.55);
  transform: scale(1.05);
  --icon-primary: #ffffff;
  --icon-secondary: rgba(255, 255, 255, 0.28);
  --icon-cutout: var(--brand);
}

.link-card:hover .jelly-svg {
  transform: scale(1.06);
}

.link-card:hover .link-arrow {
  color: var(--brand);
  transform: translateX(-3px);
}

.link-card:active {
  transform: translateY(0) scale(0.988);
}

.link-card:active .icon-squircle {
  transform: scale(0.95);
}

.link-card:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(7, 174, 190, 0.26);
}

.footer-dock {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-squircle {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--brand-wash);
  border: 1px solid rgba(7, 174, 190, 0.14);
  display: grid;
  place-items: center;
  text-decoration: none;
  --icon-primary: var(--brand);
  --icon-secondary: rgba(7, 174, 190, 0.18);
  transition:
    transform 0.38s var(--spring),
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
  outline: none;
}

.social-squircle .jelly-svg {
  width: 20px;
  height: 20px;
}

.social-squircle:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 20px -10px rgba(7, 174, 190, 0.58);
  --icon-primary: #ffffff;
  --icon-secondary: rgba(255, 255, 255, 0.28);
  --icon-cutout: var(--brand);
}

.social-squircle:active {
  transform: scale(0.95);
}

.social-squircle:focus-visible {
  box-shadow: 0 0 0 3px rgba(7, 174, 190, 0.3);
}

.dmc-footer-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(7, 174, 190, 0.42);
}

.dmc-footer-mark svg {
  width: 46px;
  height: auto;
  display: block;
}

.app-footer {
  padding: 14px 24px 20px;
  text-align: center;
  border-top: 1px solid rgba(7, 174, 190, 0.12);
  width: 100%;
}

.premionix-footer {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.premionix-footer .dev-by {
  font-size: 0.56rem;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

.premionix-footer .premionix-brand {
  font-size: 0.74rem;
  color: var(--ink-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  transition: color 0.25s ease;
}

.premionix-footer .divider {
  margin: 0 0.45rem;
  opacity: 0.35;
}

.premionix-footer:hover .premionix-brand {
  color: var(--brand);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: 20px 16px;
  display: grid;
  place-items: center;
  background: rgba(8, 42, 48, 0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s var(--ease-out),
    visibility 0.24s var(--ease-out);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 406px;
  max-height: calc(100svh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--porcelain);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 30px 64px -20px rgba(4, 121, 133, 0.34),
    0 0 0 1px rgba(7, 174, 190, 0.14);
  transform: translateY(14px) scale(0.96);
  transition: transform 0.38s var(--spring);
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 14px;
  background: var(--porcelain);
  border-bottom: 1px solid rgba(7, 174, 190, 0.12);
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
}

.modal-icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  --icon-primary: #ffffff;
  --icon-secondary: rgba(255, 255, 255, 0.26);
  --icon-cutout: var(--brand);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink-primary);
  line-height: 1.45;
}

.modal-subtitle {
  margin-top: 2px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    transform 0.3s var(--spring),
    background-color 0.2s ease,
    color 0.2s ease;
  outline: none;
}

.modal-close:hover {
  background: var(--brand-mist);
  color: var(--brand-deep);
  transform: scale(1.06);
}

.modal-close:active {
  transform: scale(0.94);
}

.modal-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(7, 174, 190, 0.28);
}

.modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: start;
}

.section-kicker {
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--brand-deep);
  margin-bottom: 6px;
}

.specialty-chips {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.specialty-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-primary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(7, 174, 190, 0.1);
}

.specialty-chip:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.specialty-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.cert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(7, 174, 190, 0.1);
}

.cert-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cert-dot {
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.cert-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cert-name {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink-primary);
}

.cert-issuer {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.cert-issuer-label {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.cert-code {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--brand-deep);
  direction: ltr;
  unicode-bidi: isolate;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 14px);
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--brand-deep);
  color: var(--porcelain);
  font-size: 0.86rem;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 12px 24px -10px rgba(4, 121, 133, 0.45);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    transform 0.34s var(--spring);
}

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

@keyframes shellEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes itemFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  body {
    padding: 0;
    background: var(--porcelain);
    display: block;
  }

  .page-backdrop {
    display: none;
  }

  .linktree-shell {
    max-width: 100%;
    min-height: 100svh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
