:root {
      --plum-950: #4b0d67;
      --plum-900: #5d1175;
      --plum-800: #742099;
      --orchid-700: #8d41b7;
      --mauve-600: #b33ab9;
      --lilac-100: #f7f2ff;
      --lilac-200: #efe4ff;
      --lilac-300: #dfcdf8;
      --mist: #fbf9fe;
      --ink: #23172b;
      --muted: #64566e;
      --line: rgba(93, 17, 117, 0.14);
      --shadow: 0 24px 60px rgba(84, 38, 118, 0.12);
      --wave-fill: #fbf9fe;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background:
        radial-gradient(circle at top right, rgba(179, 58, 185, 0.12), transparent 24%),
        linear-gradient(180deg, #fcfbfe 0%, #f7f3fd 100%);
      color: var(--ink);
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    body,
    header,
    footer,
    section,
    article,
    .surface,
    .modal-panel,
    .service-modal-copy,
    .service-item,
    .apple-btn,
    .branch-link,
    .bg-white,
    .bg-\[var\(--mist\)\],
    .bg-\[var\(--lilac-100\)\] {
      transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
    }

    body.dark-mode {
      --lilac-100: #17141d;
      --lilac-200: #211b29;
      --lilac-300: #2b2235;
      --mist: #120f17;
      --ink: #f5effb;
      --muted: #c5bdd2;
      --line: rgba(255, 255, 255, 0.1);
      --shadow: 0 28px 72px rgba(0, 0, 0, 0.38);
      --wave-fill: #120f17;
      background:
        radial-gradient(circle at top right, rgba(210, 102, 255, 0.14), transparent 24%),
        linear-gradient(180deg, #08070a 0%, #120f17 44%, #17121f 100%);
      color: var(--ink);
    }

    body.dark-mode .surface,
    body.dark-mode .bg-white,
    body.dark-mode .service-modal-copy,
    body.dark-mode .service-modal-panel {
      background: rgba(24, 20, 31, 0.9) !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
    }

    body.dark-mode .service-modal-panel {
      background:
        radial-gradient(circle at top right, rgba(118, 70, 156, 0.22), transparent 30%),
        linear-gradient(180deg, rgba(24, 20, 31, 0.98) 0%, rgba(20, 17, 27, 0.98) 100%) !important;
    }

    body.dark-mode .bg-\[var\(--mist\)\],
    body.dark-mode .bg-\[var\(--lilac-100\)\] {
      background-color: rgba(31, 26, 39, 0.92) !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
    }

    body.dark-mode .media-frame,
    body.dark-mode .service-modal-media {
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.28);
    }

    body.dark-mode .modal-backdrop {
      background: rgba(5, 4, 9, 0.78);
    }

    body.dark-mode .modal-header::before {
      background:
        radial-gradient(68% 95% at 78% 10%, rgba(134, 82, 176, 0.24), transparent 58%),
        radial-gradient(88% 90% at 20% 0%, rgba(30, 24, 40, 0.94), rgba(30, 24, 40, 0.72) 44%, rgba(30, 24, 40, 0.12) 72%, transparent 100%),
        linear-gradient(180deg, rgba(24, 20, 31, 0.92) 0%, rgba(24, 20, 31, 0.48) 52%, rgba(24, 20, 31, 0) 100%);
    }

    body.dark-mode .apple-btn-light {
      background: rgba(246, 241, 252, 0.96);
      color: #1b1321;
      border-color: rgba(255, 255, 255, 0.98);
    }

    body.dark-mode .apple-btn-soft,
    body.dark-mode .branch-link {
      background: rgba(40, 32, 49, 0.88);
      color: var(--ink);
      border-color: rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .service-item,
    body.dark-mode .service-row {
      background: rgba(24, 20, 31, 0.82);
      border-color: rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .branches-shell {
      background: rgba(20, 17, 27, 0.9) !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
    }

    body.dark-mode .branch-card {
      background:
        radial-gradient(circle at top right, rgba(118, 70, 156, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(24, 20, 31, 0.98) 0%, rgba(30, 24, 40, 0.94) 100%);
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    }

    body.dark-mode .branch-card::before {
      background: rgba(118, 70, 156, 0.12);
    }

    body.dark-mode .branch-card .text-\[var\(--plum-900\)\] {
      color: #f5effb !important;
    }

    body.dark-mode .branch-card .text-\[var\(--muted\)\] {
      color: #c5bdd2 !important;
    }

    body.dark-mode .branch-icon {
      background: linear-gradient(135deg, rgba(164, 93, 214, 0.2), rgba(111, 48, 158, 0.2));
      color: #f5effb;
    }

    body.dark-mode .branch-link {
      background: rgba(58, 46, 72, 0.92);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    }

    body.dark-mode .branch-link:hover {
      background: rgba(86, 67, 108, 0.96);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.14);
    }

    body.dark-mode .service-modal-copy,
    body.dark-mode .modal-panel .text-\[var\(--muted\)\],
    body.dark-mode .service-modal-points {
      color: var(--muted) !important;
    }

    body.dark-mode .modal-panel h3,
    body.dark-mode .modal-panel .text-\[var\(--plum-900\)\] {
      color: var(--ink) !important;
    }

    body.dark-mode .modal-close {
      color: var(--ink) !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
      background: rgba(255, 255, 255, 0.03);
    }

    .theme-toggle {
      appearance: none;
      position: fixed;
      top: max(0.35rem, env(safe-area-inset-top));
      right: max(0.35rem, env(safe-area-inset-right));
      z-index: 220;
      width: 3.1rem;
      height: 3.1rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.96);
      cursor: pointer;
      box-shadow: 0 16px 32px rgba(17, 9, 24, 0.18);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
    }

    .theme-toggle:hover {
      transform: translateY(-1px);
      background: rgba(255, 255, 255, 0.16);
      box-shadow: 0 18px 36px rgba(17, 9, 24, 0.22);
    }

    .theme-icon {
      position: absolute;
      width: 1.35rem;
      height: 1.35rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: opacity 220ms ease, transform 220ms ease;
    }

    .theme-icon svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .theme-icon-sun {
      opacity: 1;
      transform: scale(1) rotate(0deg);
    }

    .theme-icon-moon {
      opacity: 0;
      transform: scale(0.72) rotate(-18deg);
    }

    body.dark-mode .theme-toggle {
      background: rgba(18, 15, 23, 0.78);
      border-color: rgba(255, 255, 255, 0.08);
      color: #f5effb;
    }

    body.dark-mode .theme-toggle:hover {
      background: rgba(30, 24, 40, 0.88);
    }

    body.dark-mode .theme-icon-sun {
      opacity: 0;
      transform: scale(0.72) rotate(18deg);
    }

    body.dark-mode .theme-icon-moon {
      opacity: 1;
      transform: scale(1) rotate(0deg);
    }

    .modal-panel.about-modal-panel {
      width: min(96vw, 104rem);
    }

    @media (min-width: 1024px) {
      .modal-panel.about-modal-panel {
        width: min(97vw, 118rem);
      }
    }

    .page-shell {
      min-height: 100vh;
      overflow-x: hidden;
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .surface {
      background: rgba(255, 255, 255, 0.84);
      border: 1px solid rgba(255, 255, 255, 0.92);
      box-shadow: var(--shadow);
    }

    .delay-1 {
      transition-delay: 90ms;
    }

    .delay-2 {
      transition-delay: 180ms;
    }

    .delay-3 {
      transition-delay: 270ms;
    }

    .hero-glow,
    .section-glow {
      position: absolute;
      border-radius: 999px;
      pointer-events: none;
      filter: blur(20px);
      opacity: 0.38;
    }

    .hero-glow.one {
      left: -8rem;
      top: -6rem;
      width: 24rem;
      height: 24rem;
      background: rgba(255, 255, 255, 0.16);
    }

    .hero-glow.two {
      right: -6rem;
      top: 4rem;
      width: 22rem;
      height: 18rem;
      background: rgba(239, 228, 255, 0.18);
    }

    .hero-glow.three {
      left: 42%;
      bottom: -8rem;
      width: 18rem;
      height: 18rem;
      background: rgba(179, 58, 185, 0.16);
    }

    .section-glow {
      width: 11rem;
      height: 11rem;
      background: rgba(141, 65, 183, 0.12);
    }

    .section-glow.alt {
      background: rgba(223, 205, 248, 0.7);
    }

    .lift {
      transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1), border-color 420ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .lift:hover {
      transform: translateY(-6px);
      box-shadow: 0 26px 48px rgba(84, 38, 118, 0.14);
      border-color: rgba(93, 17, 117, 0.22);
    }

    .nav-link {
      position: relative;
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -0.4rem;
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.85);
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-link:hover::after {
      transform: scaleX(1);
    }

    .nav-branches,
    .nav-services {
      position: relative;
      display: inline-flex;
      align-items: center;
      z-index: 40;
    }

    .branch-menu-trigger,
    .service-menu-trigger {
      appearance: none;
      border: 0;
      background: transparent;
      padding: 0;
      color: inherit;
      cursor: pointer;
      font: inherit;
      text-transform: inherit;
      letter-spacing: inherit;
    }

    .branch-menu,
    .service-menu {
      position: absolute;
      left: 50%;
      top: calc(100% + 1rem);
      min-width: 15rem;
      padding: 0.65rem;
      border-radius: 1.4rem 1.7rem 1.4rem 1.8rem;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: linear-gradient(180deg, rgba(78, 14, 108, 1) 0%, rgba(62, 8, 88, 1) 100%);
      box-shadow: 0 26px 54px rgba(20, 8, 31, 0.4);
      opacity: 0;
      visibility: hidden;
      transform: translateX(-50%) translateY(10px);
      transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
      z-index: 60;
    }

    .nav-branches:hover .branch-menu,
    .nav-branches:focus-within .branch-menu,
    .nav-branches.open .branch-menu,
    .nav-services:hover .service-menu,
    .nav-services:focus-within .service-menu,
    .nav-services.open .service-menu {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    body.modal-open .branch-menu,
    body.modal-open .service-menu {
      opacity: 0 !important;
      visibility: hidden !important;
      transform: translateX(-50%) translateY(10px) !important;
      pointer-events: none;
    }

    .branch-menu-item,
    .service-menu-item {
      display: block;
      width: 100%;
      border: 0;
      background: transparent;
      padding: 0.8rem 0.95rem;
      border-radius: 1rem;
      color: white;
      text-align: left;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background-color 180ms ease, transform 180ms ease;
      text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
    }

    .branch-menu-item:hover,
    .branch-menu-item:focus-visible,
    .service-menu-item:hover,
    .service-menu-item:focus-visible {
      background: rgba(255, 255, 255, 0.12);
      transform: translateX(4px);
      outline: none;
    }

    .button-glow {
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .hero-photo-panel {
      background: rgba(34, 16, 46, 0.18);
      box-shadow: 0 22px 46px rgba(28, 10, 39, 0.26);
      backdrop-filter: none;
    }

    .button-glow::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
      transform: translateX(-140%);
      transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
      z-index: -1;
    }

    .button-glow:hover::before {
      transform: translateX(140%);
    }

    .apple-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3rem;
      padding: 0 1.25rem;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 0.92rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      text-decoration: none;
      transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
      box-shadow: 0 10px 24px rgba(35, 23, 43, 0.08);
      backdrop-filter: none;
    }

    .apple-btn:hover,
    .apple-btn:focus-visible {
      transform: translateY(-1px);
      outline: none;
    }

    .apple-btn-light {
      background: rgba(255, 255, 255, 0.96);
      color: var(--plum-900);
      border-color: rgba(255, 255, 255, 0.78);
    }

    .apple-btn-light:hover,
    .apple-btn-light:focus-visible {
      background: white;
      color: var(--plum-950);
      box-shadow: 0 14px 28px rgba(20, 8, 31, 0.12);
    }

    .apple-btn-outline {
      background: rgba(255, 255, 255, 0.08);
      color: white;
      border-color: rgba(255, 255, 255, 0.38);
      box-shadow: none;
    }

    .apple-btn-outline:hover,
    .apple-btn-outline:focus-visible {
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.56);
      box-shadow: 0 12px 24px rgba(20, 8, 31, 0.12);
    }

    .apple-btn-soft {
      background: rgba(247, 242, 255, 0.98);
      color: var(--plum-900);
      border-color: rgba(93, 17, 117, 0.1);
      box-shadow: none;
    }

    .apple-btn-soft:hover,
    .apple-btn-soft:focus-visible {
      background: white;
      border-color: rgba(93, 17, 117, 0.18);
      box-shadow: 0 12px 24px rgba(93, 17, 117, 0.08);
    }

    .media-frame {
      overflow: hidden;
    }

    .media-frame img {
      transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .media-frame:hover img {
      transform: scale(1.02);
    }

    .branch-card {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      background:
        radial-gradient(circle at top right, rgba(223, 205, 248, 0.75), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 242, 255, 0.92) 100%);
      box-shadow: 0 14px 28px rgba(93, 17, 117, 0.06);
    }

    .branch-card::before {
      content: "";
      position: absolute;
      inset: -2rem auto auto -2rem;
      width: 5.25rem;
      height: 5.25rem;
      border-radius: 999px;
      background: rgba(141, 65, 183, 0.08);
      pointer-events: none;
    }

    .branch-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.45rem 0.8rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid rgba(93, 17, 117, 0.1);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--orchid-700);
      white-space: nowrap;
    }

    .branch-line {
      display: flex;
      gap: 0.65rem;
      align-items: flex-start;
    }

    .branch-icon {
      width: 1.8rem;
      height: 1.8rem;
      flex: 0 0 1.8rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(141, 65, 183, 0.14), rgba(179, 58, 185, 0.14));
      color: var(--plum-900);
      font-size: 0.8rem;
    }

    .branch-link {
      display: inline-flex;
      align-items: center;
      min-height: 2.2rem;
      padding: 0 0.8rem;
      border-radius: 999px;
      border: 1px solid rgba(93, 17, 117, 0.1);
      background: rgba(255, 255, 255, 0.85);
      color: var(--plum-900);
      font-size: 0.8rem;
      font-weight: 600;
      text-decoration: none;
      transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease, color 240ms ease;
    }

    .branch-link:hover {
      transform: translateY(-2px);
      border-color: rgba(93, 17, 117, 0.22);
      background: white;
      color: var(--orchid-700);
    }

    .service-item {
      width: 100%;
      position: relative;
      overflow: hidden;
      display: block;
      border: 1px solid rgba(93, 17, 117, 0.08);
      background: rgba(255, 255, 255, 0.88);
      border-radius: 1.25rem;
      padding: 1.05rem 1.1rem;
      text-align: left;
      color: var(--ink);
      font-size: 0.94rem;
      line-height: 1.45;
      font-weight: 500;
      transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 260ms ease, color 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
    }

    .service-item::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(141, 65, 183, 0.08) 0%, rgba(141, 65, 183, 0) 55%);
      opacity: 0;
      transform: translateX(-14px);
      transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .service-item:hover,
    .service-item:focus-visible {
      transform: translateX(6px);
      border-color: rgba(93, 17, 117, 0.22);
      background: white;
      box-shadow: 0 14px 26px rgba(93, 17, 117, 0.08);
      color: var(--plum-900);
      outline: none;
    }

    .service-item:hover::before,
    .service-item:focus-visible::before {
      opacity: 1;
      transform: translateX(0);
    }

    .service-item-title {
      position: relative;
      display: inline-block;
      font-size: 0.98rem;
      font-weight: 600;
      color: var(--ink);
      transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms ease;
    }

    .service-item:hover .service-item-title,
    .service-item:focus-visible .service-item-title {
      transform: translateX(6px);
      color: var(--plum-900);
    }

    .liquid-edge {
      position: absolute;
      inset: auto 0 0 0;
      height: 86px;
      pointer-events: none;
    }

    .liquid-edge svg {
      width: 100%;
      height: 100%;
      display: block;
    }

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(26, 8, 37, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
  z-index: 140;
}

    .modal-backdrop.open {
      opacity: 1;
      visibility: visible;
    }

.modal-panel {
  width: min(100%, 42rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateY(18px) scale(0.98);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: -0.25rem -0.25rem 0.65rem;
  padding: 0.45rem 0.45rem 0.95rem;
  overflow: hidden;
}

.modal-header::before {
  content: "";
  position: absolute;
  inset: -1.25rem -1.5rem -0.25rem;
  pointer-events: none;
  background:
    radial-gradient(68% 95% at 78% 10%, rgba(223, 205, 248, 0.48), transparent 58%),
    radial-gradient(88% 90% at 20% 0%, rgba(247, 242, 255, 0.95), rgba(247, 242, 255, 0.78) 44%, rgba(247, 242, 255, 0.18) 72%, transparent 100%),
    linear-gradient(180deg, rgba(250, 246, 254, 0.86) 0%, rgba(247, 242, 255, 0.48) 52%, rgba(247, 242, 255, 0) 100%);
  filter: blur(14px);
}

.modal-header > * {
  position: relative;
  z-index: 1;
}

.modal-close {
  position: relative;
  z-index: 3;
  min-width: 4.5rem;
  min-height: 2.75rem;
  touch-action: manipulation;
}

    .modal-backdrop.open .modal-panel {
      transform: translateY(0) scale(1);
    }

    .service-modal-panel {
      width: min(100%, 64rem);
      background:
        radial-gradient(circle at top right, rgba(223, 205, 248, 0.65), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 242, 255, 0.96) 100%);
      border: 1px solid rgba(255, 255, 255, 0.96);
      box-shadow: 0 28px 72px rgba(52, 19, 74, 0.22);
    }

    .service-modal-layout {
      display: grid;
      gap: 1rem;
      grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
      align-items: stretch;
    }

    .service-modal-media {
      position: relative;
      overflow: hidden;
      min-height: 26rem;
      border-radius: 2rem 2.6rem 2rem 2.9rem;
      background: linear-gradient(180deg, rgba(49, 15, 68, 0.18) 0%, rgba(49, 15, 68, 0.3) 100%);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    }

    .service-modal-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      filter: saturate(0.96) contrast(1.04);
      transform: scale(1.02);
    }

    .service-modal-copy {
      border-radius: 2rem 2.2rem 2rem 2.4rem;
      background: rgba(255, 255, 255, 0.88);
      border: 1px solid rgba(93, 17, 117, 0.08);
      padding: 1.35rem;
    }

    .service-modal-points {
      margin: 0.85rem 0 0;
      padding-left: 1.1rem;
    }

    .service-modal-points li::marker {
      color: var(--orchid-700);
    }

    .idea-section {
      position: relative;
      overflow: hidden;
      padding: 2.5rem 2rem;
      border-radius: 3rem;
      background:
        radial-gradient(circle at 12% 8%, rgba(242, 63, 255, 0.95) 0%, rgba(194, 42, 236, 0.88) 18%, rgba(126, 25, 197, 0.35) 34%, transparent 36%),
        radial-gradient(circle at 88% 16%, rgba(255, 47, 196, 0.9) 0%, rgba(173, 33, 214, 0.78) 20%, rgba(110, 20, 172, 0.3) 36%, transparent 38%),
        radial-gradient(circle at 82% 84%, rgba(188, 40, 233, 0.88) 0%, rgba(126, 25, 197, 0.72) 20%, rgba(98, 20, 155, 0.22) 34%, transparent 36%),
        linear-gradient(135deg, #3a0857 0%, #6e13b7 42%, #a41fe0 74%, #6a12a3 100%);
    }

    .idea-line {
      position: absolute;
      pointer-events: none;
      z-index: 0;
      opacity: 0.95;
    }

    .idea-line svg {
      display: block;
      width: 100%;
      height: 100%;
    }

    .idea-section::before {
      content: "";
      position: absolute;
      inset: -8% 42% 16% -12%;
      border-radius: 52% 48% 62% 38% / 44% 39% 61% 56%;
      background: linear-gradient(135deg, rgba(255, 55, 208, 0.72), rgba(137, 24, 197, 0.45));
      transform: rotate(-14deg);
      pointer-events: none;
    }

    .idea-section::after {
      content: "";
      position: absolute;
      inset: 6% 16% -24% 34%;
      border-radius: 44% 56% 36% 64% / 60% 34% 66% 40%;
      background: rgba(41, 6, 73, 0.84);
      transform: rotate(12deg);
      pointer-events: none;
    }

    .idea-line.left {
      left: -13rem;
      top: 7rem;
      width: 12rem;
      height: 30rem;
    }

    .idea-line.right {
      right: -12rem;
      top: 1.5rem;
      width: 13rem;
      height: 32rem;
    }

    @media (max-width: 768px) {
      .liquid-edge {
        height: 58px;
      }

      .hero-glow,
      .section-glow {
        opacity: 0.24;
        filter: blur(14px);
      }

      .service-modal-layout {
        grid-template-columns: 1fr;
      }

      .service-modal-media {
        min-height: 14rem;
      }

      .idea-line {
        display: none;
      }

      .idea-section {
        padding: 1.25rem 0.75rem;
      }
    }

    @media (max-width: 640px) {
      .theme-toggle {
        top: max(0.3rem, env(safe-area-inset-top));
        right: max(0.3rem, env(safe-area-inset-right));
        width: 2.8rem;
        height: 2.8rem;
      }

      .modal-backdrop {
        align-items: flex-end;
        padding: 0.625rem;
      }

      .modal-panel,
      .service-modal-panel {
        width: 100%;
        max-height: calc(100vh - 1.25rem);
        border-radius: 1.6rem 1.6rem 1.2rem 1.2rem;
      }

      .modal-panel.about-modal-panel {
        width: 100%;
      }

  .service-modal-panel {
    border-radius: 1.6rem 1.6rem 1.2rem 1.2rem;
  }

  .modal-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: -0.2rem -0.2rem 0.55rem;
    padding: 0.35rem 0.35rem 0.75rem;
  }

  .modal-header::before {
    inset: -1rem -1rem -0.2rem;
    filter: blur(12px);
  }

  .modal-close {
    flex: 0 0 auto;
    min-width: 4rem;
    min-height: 2.6rem;
  }
}
