/* Markitious — lemon-gold + charcoal palette */
:root {
  --color-1: #f2df80;
  --color-2: #f7db6c;
  --color-3: #171717;
  --color-4: #fbf19b;
  --color-5: #f7cf4c;
  --bg: var(--color-3);
  --bg-2: #1c1c1c;
  --bg-elevated: #232323;
  --bg-alt: #141414;
  --text: #fafafa;
  --text-muted: #a3a3a3;
  --cyan: var(--color-5);
  --violet: var(--color-1);
  --pink: var(--color-2);
  --amber: var(--color-5);
  --accent: var(--color-5);
  --accent-2: var(--color-1);
  --glow-cyan: rgba(247, 207, 76, 0.45);
  --glow-violet: rgba(242, 223, 128, 0.35);
  --accent-dim: rgba(247, 207, 76, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(251, 241, 155, 0.28);
  --header-h: 4rem;
  --radius: 14px;
  --radius-pill: 16px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
  --max: 1100px;
  --safe: max(1.25rem, env(safe-area-inset-left));
  --btn-fg: var(--color-3);
  --grad: linear-gradient(120deg, var(--color-5) 0%, var(--color-4) 45%, var(--color-1) 100%);
  --grad-subtle: linear-gradient(
    135deg,
    rgba(247, 207, 76, 0.14) 0%,
    rgba(251, 241, 155, 0.1) 50%,
    rgba(242, 223, 128, 0.08) 100%
  );
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 80% at 10% 0%, rgba(251, 241, 155, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 90% 20%, rgba(247, 207, 76, 0.07) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--grad);
  color: var(--btn-fg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}

.skip-link:focus {
  left: var(--safe);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding: 0;
}

.breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text-muted);
  font-weight: 500;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 0 calc(1.25rem + env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 100% 0%, rgba(247, 207, 76, 0.06), transparent 50%);
  pointer-events: none;
}

/* Sticky top bar: no backdrop-filter here — it breaks position:fixed nav inside some browsers (0-height overlay) */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.25rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  background: rgba(23, 23, 23, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.site-header {
  display: block;
  width: 100%;
  min-width: 0;
  height: var(--header-h);
  background: none;
  border: none;
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(60vw, 16rem);
}

.logo__img {
  display: block;
  height: clamp(2.25rem, 5.5vw, 2.75rem);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

@media (min-width: 769px) {
  .logo {
    max-width: min(92vw, 18rem);
  }

  .site-nav {
    position: static;
    transform: none !important;
    min-height: 0;
    max-height: none;
    width: auto;
    margin: 0;
    margin-left: auto;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    z-index: auto;
  }
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
  outline: none;
}

.site-nav a.is-active {
  color: var(--cyan);
  border-bottom-color: var(--violet);
  text-shadow: 0 0 20px var(--glow-cyan);
}

.nav-cta {
  color: var(--color-4) !important;
  text-shadow: 0 0 16px var(--glow-cyan);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  z-index: 110;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-top {
    overflow: visible;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 200;
    width: 100%;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    max-height: none;
    background: var(--color-3);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.5rem 1.25rem 2.5rem;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border: none;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    display: block;
    padding: 1rem 0.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-shadow: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--cyan);
    outline: none;
  }

  .site-nav a.is-active {
    color: var(--cyan);
    border-bottom-color: rgba(148, 163, 184, 0.1);
    text-shadow: none;
  }

  .site-nav a.nav-cta,
  .site-nav a.nav-cta.is-active {
    color: var(--pink) !important;
    text-shadow: 0 0 18px var(--glow-cyan);
  }

  .site-nav a.nav-cta:hover,
  .site-nav a.nav-cta:focus-visible {
    color: var(--color-1) !important;
  }

  .nav-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(35, 35, 35, 0.96);
  }
}

/* Hero */
.hero {
  min-height: min(90vh, 800px);
  display: flex;
  align-items: center;
  padding-top: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 20% 0%, rgba(251, 241, 155, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 30%, rgba(247, 207, 76, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(242, 223, 128, 0.08) 0%, transparent 45%),
    var(--grad-subtle);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}

/* Floating icon decorations (right side of hero) */
.hero-floating-icons {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(247, 207, 76, 0.08), rgba(251, 241, 155, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: hero-float-drift 10s ease-in-out infinite, hero-float-glow 5s ease-in-out infinite;
}

.hero-float-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-float--1 {
  top: 10%;
  right: 5%;
  width: 4.25rem;
  height: 4.25rem;
  color: var(--color-5);
  animation-delay: 0s, 0.3s;
}

.hero-float--2 {
  top: 8%;
  right: 32%;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--color-1);
  animation-delay: -2s, -1s;
}

.hero-float--3 {
  top: 38%;
  right: 3%;
  width: 3.75rem;
  height: 3.75rem;
  color: var(--color-2);
  animation-delay: -4s, -2s;
}

.hero-float--4 {
  top: 42%;
  right: 24%;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-5);
  animation-delay: -1.5s, 0.5s;
}

.hero-float--5 {
  bottom: 18%;
  right: 8%;
  width: 3.5rem;
  height: 3.5rem;
  top: auto;
  color: var(--color-4);
  animation-delay: -3.5s, 1s;
}

.hero-float--6 {
  bottom: 12%;
  right: 40%;
  width: 3rem;
  height: 3rem;
  top: auto;
  color: var(--color-1);
  animation-delay: -6s, -0.5s;
}

@keyframes hero-float-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(6px, -10px) rotate(4deg);
  }
  66% {
    transform: translate(-5px, 8px) rotate(-3deg);
  }
}

@keyframes hero-float-glow {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}

@media (max-width: 900px) {
  .hero-float--2,
  .hero-float--4 {
    opacity: 0.5;
  }

  .hero-float--5 {
    right: 4%;
  }
}

@media (max-width: 640px) {
  .hero-floating-icons {
    opacity: 0.45;
  }

  .hero-float--1 {
    width: 3.25rem;
    height: 3.25rem;
    right: 2%;
    top: 6%;
  }

  .hero-float--2 {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-float--4,
  .hero-float--6 {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-float--3,
  .hero-float--5 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
    opacity: 0.25;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
  text-shadow: 0 0 24px var(--glow-cyan);
}

.eyebrow .num,
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--btn-fg);
  background: var(--grad);
  border-radius: 6px;
  letter-spacing: 0;
  box-shadow: 0 0 20px var(--glow-violet);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 32px var(--glow-cyan));
}

.hero-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

.hero-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(35, 35, 35, 0.75);
  backdrop-filter: blur(6px);
}

.hero-strip-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: var(--grad-subtle);
  color: var(--color-5);
}

.hero-strip-ico svg {
  width: 14px;
  height: 14px;
}

.hero-lead {
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero-actions--center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--grad);
  color: var(--btn-fg);
  border: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 4px 24px rgba(247, 207, 76, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.06) saturate(1.05);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 8px 32px rgba(251, 241, 155, 0.35);
  outline: none;
}

.btn-ghost {
  background: rgba(35, 35, 35, 0.65);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--violet);
  color: var(--cyan);
  outline: none;
  box-shadow: 0 0 20px var(--glow-cyan);
}

.btn-block {
  width: 100%;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0;
  max-width: 32rem;
}

.section-sub {
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  max-width: 40rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 44rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Icons */
.ico {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  flex-shrink: 0;
}

.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  color: var(--btn-fg);
  flex-shrink: 0;
}

.icon-wrap--sm {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
}

.icon-wrap--sm .ico {
  width: 1.1rem;
  height: 1.1rem;
}

.icon-wrap--lg {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 18px;
  margin-bottom: 0.2rem;
}

.icon-wrap--lg .ico {
  width: 1.6rem;
  height: 1.6rem;
}

.icon-wrap--cyan {
  background: linear-gradient(145deg, var(--color-4) 0%, var(--color-5) 100%);
  box-shadow: 0 0 24px var(--glow-cyan);
}

.icon-wrap--violet {
  background: linear-gradient(145deg, var(--color-1) 0%, var(--color-2) 100%);
  color: var(--btn-fg);
  box-shadow: 0 0 24px var(--glow-violet);
}

.icon-wrap--pink {
  background: linear-gradient(145deg, var(--color-2) 0%, var(--color-5) 100%);
  color: var(--btn-fg);
  box-shadow: 0 0 24px rgba(247, 207, 76, 0.35);
}

.icon-wrap--amber {
  background: linear-gradient(145deg, var(--color-5) 0%, #d4a817 100%);
  color: var(--btn-fg);
  box-shadow: 0 0 24px rgba(247, 207, 76, 0.32);
}

.icon-wrap--gradient {
  background: var(--grad);
  color: var(--btn-fg);
  box-shadow: 0 0 28px var(--glow-cyan), 0 0 36px rgba(251, 241, 155, 0.2);
}

/* Icon grids */
.icon-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 2.25rem;
  gap: 0.75rem;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: none;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  max-width: 58rem;
}

.icon-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(160deg, rgba(35, 35, 35, 0.95) 0%, rgba(28, 28, 28, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.icon-cell:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(251, 241, 155, 0.12);
}

.icon-cell strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.icon-cell > span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.icon-cell--compact {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  min-height: 3.25rem;
}

.icon-cell--compact > span:last-child {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* Services overview */
.service-pills {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-pills a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-5);
  text-decoration: none;
  background: rgba(247, 207, 76, 0.1);
  border: 1px solid rgba(251, 241, 155, 0.28);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.service-pills a:hover,
.service-pills a:focus-visible {
  background: rgba(242, 223, 128, 0.14);
  border-color: var(--color-1);
  box-shadow: 0 0 20px var(--glow-cyan);
  outline: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  background: linear-gradient(160deg, #252525 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.2s;
}

.card--icon {
  padding-top: 1.5rem;
}

.card--icon h3 {
  margin-top: 0.5rem;
}

.card:hover {
  border-color: rgba(251, 241, 155, 0.28);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(247, 207, 76, 0.1);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.card-wide {
  grid-column: 1 / -1;
}

@media (min-width: 700px) {
  .card-wide {
    grid-column: span 2;
  }
}

.text-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-4);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Service detail */
.service-detail-follow {
  margin-top: 1.75rem;
}

.service-detail .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 48rem;
  margin: 0 0 1.5rem;
  text-transform: none;
  font-weight: 400;
}

.mission-box {
  position: relative;
  max-width: 44rem;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  padding-left: 4.25rem;
  background: linear-gradient(135deg, rgba(247, 207, 76, 0.1) 0%, rgba(251, 241, 155, 0.08) 100%);
  border: 1px solid rgba(251, 241, 155, 0.22);
  border-radius: var(--radius);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.mission-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--grad);
  color: var(--btn-fg);
}

.mission-box .ico {
  width: 1.25rem;
  height: 1.25rem;
}

.mission-box p {
  margin: 0;
}

@media (max-width: 520px) {
  .mission-box {
    padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    padding-top: 3.5rem;
  }

  .mission-icon {
    left: 1.1rem;
    top: 1.1rem;
    transform: none;
  }
}

/* Contact */
.contact-section {
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--grad-subtle);
  border: 1px solid var(--border);
  color: var(--cyan);
  flex-shrink: 0;
}

.contact-row-icon .ico {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  text-shadow: 0 0 20px var(--glow-cyan);
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  background: linear-gradient(160deg, #242424 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 1.25rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.req {
  color: var(--pink);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #5c6470;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-5);
  box-shadow: 0 0 0 3px rgba(247, 207, 76, 0.2);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: var(--cyan);
  margin: 0 0 0.75rem;
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 1rem 0 0;
}

/* Outro */
.cta-outro {
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.cta-outro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(247, 207, 76, 0.12), transparent 60%);
  pointer-events: none;
}

.cta-outro .container {
  position: relative;
  z-index: 1;
}

.cta-outro .eyebrow {
  justify-content: center;
}

.cta-outro .eyebrow.light .num {
  background: var(--grad);
  color: var(--btn-fg);
  box-shadow: 0 0 24px var(--glow-violet);
}

.cta-outro .section-title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.outro-text {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}

.footer-logo {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  margin-bottom: 0.15rem;
}

.footer-logo__img {
  display: block;
  height: clamp(2.5rem, 6vw, 3.25rem);
  width: auto;
  max-width: min(16rem, 90vw);
  object-fit: contain;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link {
  color: var(--color-1);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-link:hover {
  text-decoration: underline;
}
