:root {
  --cursor-default: url("Assets/cursors/arrow.svg") 5 4, default;
  --cursor-pointer: url("Assets/cursors/pointer.svg") 13 4, pointer;
  --cursor-text: url("Assets/cursors/text.svg") 16 16, text;
  --cursor-grab: url("Assets/cursors/grab.svg") 16 16, grab;
  --cursor-grabbing: url("Assets/cursors/grabbing.svg") 16 16, grabbing;
  --cursor-disabled: url("Assets/cursors/not-allowed.svg") 16 16, not-allowed;
  --bg: #f5f6fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-soft: #eef1fb;
  --text: #36435b;
  --muted: #67748f;
  --line: rgba(54, 67, 91, 0.1);
  --accent: #2e5e95;
  --navy: #36435b;
  --shadow: 0 20px 60px rgba(54, 67, 91, 0.12);
  --radius-lg: 24px;
  --page-width: min(1160px, calc(100vw - 40px));
}

:root[data-theme="dark"] {
  --bg: #0d1421;
  --surface: rgba(23, 33, 49, 0.82);
  --surface-strong: #121c2c;
  --surface-soft: #182132;
  --text: #eef3fb;
  --muted: #adb7ca;
  --line: rgba(181, 198, 227, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1421;
    --surface: rgba(23, 33, 49, 0.82);
    --surface-strong: #121c2c;
    --surface-soft: #182132;
    --text: #eef3fb;
    --muted: #adb7ca;
    --line: rgba(181, 198, 227, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  cursor: var(--cursor-default);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--navy) rgba(0, 0, 0, 0.08);
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
}

html::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(46, 94, 149, 0.08), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 78%, #edf1fb 22%) 100%);
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Keep native interaction cues while using the same outlined blue cursor family. */
a[href],
button,
select,
summary,
[role="button"],
label[for],
input:is([type="button"], [type="submit"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"]) {
  cursor: var(--cursor-pointer);
}

input:not([type]),
input:is([type="text"], [type="email"], [type="password"], [type="search"], [type="url"], [type="tel"], [type="number"]),
textarea,
[contenteditable=""],
[contenteditable="true"],
[contenteditable="plaintext-only"] {
  cursor: var(--cursor-text);
}

/* State overrides also cover buttons with their own component cursor rules. */
html :is(button, input, select, textarea):disabled,
html [aria-disabled="true"] {
  cursor: var(--cursor-disabled);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-width {
  width: var(--page-width);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, rgba(255, 255, 255, 0.4) 18%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: clamp(180px, 22vw, 250px);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

:root[data-theme="dark"] .brand-logo {
  background: #f5f6fb;
  border-radius: 10px;
  padding: 6px 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo {
    background: #f5f6fb;
    border-radius: 10px;
    padding: 6px 10px;
  }
}

.brand span:last-child {
  font-size: 1.1rem;
}

.site-nav,
.nav-actions,
.footer-links,
.button-row {
  display: flex;
  align-items: center;
}

.site-nav,
.footer-links {
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.text-link-button:hover,
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(54, 67, 91, 0.14);
}

.button-small {
  padding: 12px 18px;
  font-size: 0.92rem;
}

.social-button {
  margin-top: 14px;
}

.facebook-float {
  position: fixed;
  top: 50%;
  right: 10px;
  z-index: 45;
  display: none;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent 12%);
  border: 1px solid color-mix(in srgb, var(--line) 72%, var(--accent) 28%);
  box-shadow: 0 10px 26px rgba(54, 67, 91, 0.16);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.facebook-float:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 14px 32px rgba(54, 67, 91, 0.22);
}

.facebook-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.button-dark,
.button-light,
.text-link-button,
.theme-toggle {
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.theme-toggle {
  cursor: var(--cursor-pointer);
  padding: 10px 14px;
}

.menu-toggle {
  display: none;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.hero,
.page-main {
  padding-top: 64px;
}

main {
  flex: 1 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 470px);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 76px);
}

.eyebrow,
.gallery-tag {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--navy);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3.6rem, 8vw, 5.95rem);
  font-weight: 800;
}

.title-primary {
  color: var(--text);
}

.title-accent {
  color: var(--accent);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
}

h3 {
  font-size: 1.45rem;
  font-weight: 800;
}

.hero-text,
.info-card p,
.showcase-copy p,
.floating-panel p,
.gallery-body p,
.pricing-card p,
.contact-panel p,
.contact-form label,
.site-footer p,
.status-text,
.section-intro,
.event-body p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.button-row {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-device {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-shadow {
  position: absolute;
  inset: 4% 10% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 94, 149, 0.18), transparent 68%);
  filter: blur(18px);
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 390px;
  min-height: 740px;
  padding: 12px;
  border-radius: 60px;
  border: 8px solid var(--navy);
  background: #fdfdfd;
  box-shadow: 0 40px 100px rgba(19, 29, 56, 0.22);
  overflow: hidden;
}

.hero-device .phone-mockup[data-tilt-base] {
  transform: rotate(6deg);
}

.phone-notch-bar {
  display: flex;
  justify-content: center;
  padding: 10px 16px 4px;
  color: #7f8baa;
  font-size: 0.72rem;
  font-weight: 600;
}

.phone-embed-shell {
  position: relative;
  margin: 8px 0 0;
  height: 654px;
  border-radius: 44px;
  overflow: hidden;
  background: #fff;
}

.phone-screenshot-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(245, 246, 251, 0.98), rgba(238, 241, 251, 0.98));
  overflow: hidden;
}

.phone-slideshow {
  display: grid;
  grid-auto-rows: 100%;
  height: 100%;
  transition: transform 900ms ease;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.phone-slide-dots {
  position: absolute;
  top: 50%;
  right: 14px;
  z-index: 2;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.phone-slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(127, 139, 170, 0.72);
  cursor: var(--cursor-pointer);
  transition: background 180ms ease, transform 180ms ease;
}

.phone-slide-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.feature-band {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 30%, transparent 70%);
}

.feature-marquee {
  display: flex;
  width: max-content;
  padding: 18px 0;
}

.feature-marquee:hover .feature-marquee-group {
  animation-play-state: paused;
}

.feature-marquee-group {
  flex: 0 0 auto;
  display: flex;
  min-width: 100vw;
  align-items: center;
  justify-content: space-around;
  gap: 22px;
  padding: 0 11px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.feature-marquee-group span:not(.feature-dot) {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Every repeat ends with a dot, including the seam before Website Design. */
.feature-dot,
.feature-marquee-group::after {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 6px;
}

.feature-marquee-group::after {
  content: "";
}

.section {
  padding: 110px 0 0;
}

.stats-section {
  padding-top: 76px;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  max-width: 12ch;
}

.section-header.section-header-wide .section-intro {
  max-width: 920px;
  margin: 0 auto;
}

.section-header.section-header-wide h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.center-text {
  text-align: center;
}

.no-heading {
  margin-bottom: 20px;
}

.card-grid,
.pricing-grid,
.contact-layout,
.admin-grid,
.events-grid,
.testimonials-grid {
  display: grid;
  gap: 22px;
}

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

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

.services-main {
  padding-bottom: 90px;
}

.apps-main { padding-bottom: 90px; }
.review-main { padding-bottom: 90px; }
.review-panel { max-width: 760px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.review-consent { display: flex !important; align-items: flex-start; gap: 12px; line-height: 1.6; }
.review-consent input { width: auto; flex: 0 0 auto; margin-top: 5px; }
[data-review-form][hidden] { display: none; }
.review-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.review-admin-copy { min-width: 0; }
.review-admin-copy label { display: grid; gap: 8px; margin: 16px 0; }
.review-admin-copy input { max-width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-strong); color: var(--text); }
.review-admin-copy { flex: 1; }
.review-published { margin-top: 36px; }
.review-admin-item { cursor: auto; align-items: flex-start; }
.review-state { font-weight: 700; color: var(--text); }
.review-admin-item .admin-item-actions { flex-wrap: wrap; }
.apps-catalog { scroll-margin-top: 110px; }
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app-card { display: flex; flex-direction: column; min-width: 0; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.app-card-intro { display: flex; align-items: center; gap: 20px; }
.app-logo { display: grid; place-items: center; flex: 0 0 80px; width: 80px; height: 80px; border-radius: 18px; overflow: hidden; background: var(--surface-soft); color: var(--text); font-size: 2rem; font-weight: 700; }
.app-logo img { width: 100%; height: 100%; object-fit: contain; }
.app-title { min-width: 0; overflow-wrap: anywhere; }
.app-title h2 { margin: 0; font-size: 1.65rem; }
.app-availability { margin: 8px 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.app-title .eyebrow { margin-bottom: 7px; }
.app-description { color: var(--muted); line-height: 1.75; margin: 22px 0 26px; overflow-wrap: anywhere; }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.app-actions .button { flex: 1 1 150px; text-align: center; }
.apps-store-note { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin-top: 20px; }
.apps-custom { display: flex; align-items: center; gap: 32px; justify-content: space-between; margin-top: 70px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.apps-custom p:not(.eyebrow) { max-width: 650px; color: var(--muted); line-height: 1.75; margin-bottom: 0; }
.apps-custom .button { flex-shrink: 0; }
.apps-gallery-link { margin: 0 0 28px; color: var(--muted); }
.apps-gallery-link a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.app-admin-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.app-admin-list { margin-top: 24px; }
[data-app-cancel][hidden] { display: none; }
.app-admin-item h3 { margin: 0; }
.app-admin-item .status-text { margin-bottom: 0; }

@media (max-width: 780px) {
  .apps-grid { grid-template-columns: 1fr; }
  .apps-custom { align-items: flex-start; flex-direction: column; }
  .app-card, .apps-custom { padding: 24px; }
  .app-admin-item { flex-direction: column; align-items: flex-start; }
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.floating-panel,
.gallery-card,
.event-card,
.testimonial-card,
.pricing-card,
.contact-panel,
.contact-form,
.admin-card,
.admin-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.info-card,
.floating-panel,
.pricing-card,
.contact-panel,
.contact-form,
.admin-card,
.admin-list {
  padding: 28px;
}

.stat-number {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 800;
}

.stat-label {
  margin: 0;
  color: var(--accent) !important;
  font-weight: 700;
  line-height: 1.55;
}

.split-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 100px;
}

.showcase-copy {
  display: grid;
  align-content: start;
}

.text-link-button,
.services-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  font-weight: 700;
  padding: 14px 20px;
  gap: 12px;
}

.services-button::after {
  content: "\2192";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.stacked-preview {
  display: grid;
  gap: 18px;
}

.process-panel {
  min-height: 100%;
  padding: 34px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 90%, transparent 10%), color-mix(in srgb, var(--surface-soft) 82%, transparent 18%));
}

.process-support-card {
  margin-top: 26px;
  padding: 24px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent 22%);
  box-shadow: var(--shadow);
}

.process-support-card .eyebrow {
  margin-bottom: 12px;
}

.process-support-card .feature-list {
  margin-top: 0;
}

.process-timeline {
  position: relative;
  display: grid;
  gap: 28px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 64px;
  width: 2px;
  background: linear-gradient(180deg, rgba(46, 94, 149, 0.9), rgba(46, 94, 149, 0.18));
}

.process-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: start;
}

.process-marker {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  z-index: 1;
}

.process-index {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-icon-circle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(46, 94, 149, 0.4);
  background: color-mix(in srgb, var(--surface-strong) 96%, var(--accent) 4%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(54, 67, 91, 0.08);
}

.process-icon-circle svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-content h3 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.process-content p {
  margin: 0;
  max-width: 30ch;
  font-size: 1.03rem;
}

.page-hero {
  padding: 40px 0 24px;
}

.page-hero h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 6vw, 4.7rem);
}

.page-text {
  max-width: 720px;
}

.not-found-main {
  display: grid;
  align-items: center;
  padding-bottom: 90px;
}

.not-found-main .page-hero {
  max-width: 920px;
  margin: 0 auto;
}

.not-found-main .page-hero h1 {
  max-width: none;
}

.not-found-copy {
  margin-left: auto;
  margin-right: auto;
}

.not-found-card {
  max-width: 620px;
  margin: 34px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.not-found-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.not-found-actions {
  justify-content: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 90px;
}

.gallery-card,
.event-card,
.testimonial-card {
  overflow: hidden;
}

a.gallery-card {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

a.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(54, 67, 91, 0.16);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line) 66%);
}

.gallery-image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}

.event-image {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.gallery-body,
.event-body {
  padding: 22px;
}

.testimonials-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 32px;
}

.testimonial-card {
  padding: 24px;
}

a.testimonial-card {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

a.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(54, 67, 91, 0.16);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line) 66%);
}

.testimonial-card-top {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.testimonial-avatar {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.testimonial-card h3 {
  line-height: 1.05;
}

.testimonial-name,
.testimonial-company {
  margin: 0;
}

.testimonial-name {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
}

.testimonial-company {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 4px;
}

.testimonial-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.testimonial-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-date {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.placeholder-gradient-one {
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 45%, #d3e7fb 100%);
}

.placeholder-gradient-two {
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 45%, #89b9e6 100%);
}

.placeholder-gradient-three {
  background: linear-gradient(135deg, #98bddf 0%, var(--accent) 45%, var(--navy) 100%);
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.pricing-card,
.pricing-card.featured {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 94%, transparent 6%), color-mix(in srgb, var(--surface-soft) 88%, transparent 12%));
}

.pricing-card h2 {
  margin: 6px 0 14px;
  max-width: 10ch;
}

:root[data-theme="dark"] .pricing-card,
:root[data-theme="dark"] .pricing-card.featured {
  background: linear-gradient(180deg, rgba(21, 30, 46, 0.98), rgba(16, 24, 38, 0.94));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pricing-card,
  :root:not([data-theme="light"]) .pricing-card.featured {
    background: linear-gradient(180deg, rgba(21, 30, 46, 0.98), rgba(16, 24, 38, 0.94));
  }
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: start;
  padding: 40px 0 24px;
}

.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  padding-bottom: 90px;
}

.contact-layout-under {
  margin-top: 18px;
}

.contact-side {
  display: grid;
  gap: 22px;
}

.contact-hero-grid .hero-text {
  margin-bottom: 0;
  max-width: 780px;
}

.contact-layout .contact-side {
  justify-items: stretch;
}

.contact-layout .contact-side:last-child {
  grid-template-rows: auto 1fr;
}

.contact-panel,
.contact-form {
  height: 100%;
}

.contact-photo {
  display: grid;
  justify-self: end;
}

.portrait-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portrait-card-hero {
  margin-top: 0;
  border-radius: 28px;
}

.portrait-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.1;
  object-fit: cover;
}

.portrait-card-hero .portrait-image {
  aspect-ratio: 4 / 4.55;
  object-position: center top;
}

.contact-process-card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 94%, transparent 6%), color-mix(in srgb, var(--surface-soft) 88%, transparent 12%));
  height: 100%;
}

.contact-steps {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-step-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: color-mix(in srgb, var(--surface-strong) 92%, var(--accent) 8%);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line) 72%);
}

.contact-step h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.05;
}

.contact-step p {
  margin: 0;
}

@media (min-width: 1081px) {
  .contact-photo {
    width: min(100%, 320px);
  }

  .facebook-float {
    display: block;
  }
}

.admin-page {
  padding-bottom: 96px;
}

.admin-auth {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  padding-bottom: 28px;
}

.admin-card-auth {
  max-width: 580px;
}

.admin-card-note {
  align-self: start;
}

.compact-list {
  margin-top: 8px;
  line-height: 1.75;
}

.contact-form,
.admin-form {
  display: grid;
  gap: 18px;
}

.admin-form-actions,
.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-grid {
  align-items: start;
  margin-bottom: 28px;
}

.admin-card > h2 {
  margin-bottom: 18px;
}

.contact-form label,
.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

textarea {
  resize: vertical;
}

.events-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 100px;
}

.events-section {
  padding-top: 44px;
}

.events-section .section-header {
  margin-bottom: 22px;
}

.events-section .section-intro {
  max-width: 760px;
}

.events-section .empty-state {
  max-width: 100%;
  margin-top: 4px;
}

.admin-items {
  display: grid;
  gap: 0;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  cursor: var(--cursor-grab);
}

.admin-item:last-child {
  border-bottom: 0;
}

.admin-item.is-dragging {
  opacity: 0.58;
  cursor: var(--cursor-grabbing);
}

.admin-list {
  margin-top: 20px;
}

.gallery-toolbar {
  margin-bottom: 8px;
}

.status-text {
  margin: 14px 0 0;
}

.form-status {
  min-height: 1.6em;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 24%, transparent 76%);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 28px 0 20px;
}

.brand-footer {
  margin-bottom: 10px;
}

.copyright-row {
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.placeholder-hidden {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
  background: color-mix(in srgb, var(--surface-strong) 52%, transparent 48%);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 1080px) {
  .hero,
  .split-showcase,
  .admin-auth,
  .contact-hero-grid,
  .contact-layout,
  .admin-grid,
  .three-up,
  .pricing-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-device {
    order: 2;
  }

  .center-text-mobile {
    text-align: center;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-photo {
    width: min(100%, 360px);
    justify-self: start;
  }

  .contact-layout {
    justify-content: stretch;
  }

  .admin-card-auth {
    max-width: none;
  }

  .admin-item {
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .gallery-body {
    padding: 18px;
  }

  .gallery-body h3 {
    font-size: 1.2rem;
  }

}

@media (max-width: 780px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .site-nav.open {
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: 20px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .nav-wrap {
    position: relative;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .phone-mockup {
    min-height: 690px;
  }

  .phone-embed-shell {
    height: 604px;
  }

  .footer-wrap,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-timeline::before {
    left: 50px;
  }

  .process-row {
    grid-template-columns: 66px 1fr;
    gap: 14px;
  }

  .process-icon-circle {
    width: 50px;
    height: 50px;
  }

  .process-content h3 {
    font-size: 1.55rem;
  }

  .process-content p {
    font-size: 0.98rem;
  }
}

@media (max-width: 560px) {
  :root {
    --page-width: min(1160px, calc(100vw - 24px));
  }

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

  .gallery-image {
    aspect-ratio: 1 / 1.1;
  }

  .gallery-body {
    padding: 14px;
  }

  .gallery-tag {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }

  .gallery-body h3 {
    font-size: 1rem;
    line-height: 1.1;
  }

  .gallery-body p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .brand span:last-child {
    font-size: 0.96rem;
  }

  .info-card,
  .floating-panel,
  .pricing-card,
  .contact-panel,
  .contact-form,
  .admin-card,
  .admin-list {
    padding: 22px;
  }

  .admin-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

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

.app-actions .app-release-status { cursor: default; pointer-events: none; }
[data-app-form] label[hidden] { display: none; }
