/*
Theme Name: My Custom Theme
Theme URI: https://example.com
Author: Agency
Description: Custom agency theme — AI, web, and mobile development.
Version: 1.0.0
Text Domain: my-custom-theme
*/

:root {
  --bg-deep: #05060d;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f5f7;
  --text-muted: #9aa3b2;
  --accent: #5eead4;
  --accent-2: #a78bfa;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #0c4a6e 100%);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 80px rgba(94, 234, 212, 0.12);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

body.agency-home {
  background: var(--bg-deep);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #99f6e4;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 6, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.site-brand span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:not(.btn):hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
  color: #042f2e;
  box-shadow: 0 4px 24px rgba(45, 212, 191, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45, 212, 191, 0.45);
  color: #022c22;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 80%;
  top: -20%;
  left: -20%;
  background: radial-gradient(ellipse at 30% 20%, rgba(94, 234, 212, 0.15), transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(167, 139, 250, 0.12), transparent 45%);
  pointer-events: none;
  animation: hero-breathe 12s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
  0% {
    opacity: 0.7;
    transform: scale(1) translate(0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) translate(2%, 1%);
  }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.hero__title .gradient {
  background: linear-gradient(105deg, #fff 20%, #5eead4 50%, #c4b5fd 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
}

/* —— “What we do” — animated backdrop (services only) —— */
.section--services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.65) 0%,
    rgba(15, 23, 42, 0.35) 42%,
    rgba(5, 6, 13, 0.2) 100%
  );
}

.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.services-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.85;
  will-change: transform;
}

.services-bg__glow--1 {
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  left: -25%;
  top: -15%;
  background: radial-gradient(circle at 35% 45%, rgba(94, 234, 212, 0.35), rgba(94, 234, 212, 0.06) 48%, transparent 68%);
  animation: services-drift-a 22s ease-in-out infinite alternate;
}

.services-bg__glow--2 {
  width: min(85vw, 640px);
  height: min(85vw, 640px);
  right: -22%;
  top: 5%;
  background: radial-gradient(circle at 55% 50%, rgba(167, 139, 250, 0.32), rgba(167, 139, 250, 0.05) 50%, transparent 70%);
  animation: services-drift-b 28s ease-in-out infinite alternate;
}

.services-bg__glow--3 {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  left: 25%;
  bottom: -35%;
  background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.22), transparent 62%);
  animation: services-drift-c 26s ease-in-out infinite alternate;
  animation-delay: -4s;
}

.services-bg__mesh {
  position: absolute;
  inset: -1px;
  opacity: 0.45;
  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: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, black 0%, transparent 72%);
  animation: services-mesh-pan 55s linear infinite;
}

.services-bg__beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  margin-left: -70%;
  margin-top: -70%;
  background: conic-gradient(from 220deg at 50% 50%, transparent 0deg, rgba(94, 234, 212, 0.04) 38deg, transparent 76deg, rgba(167, 139, 250, 0.05) 118deg, transparent 200deg, rgba(56, 189, 248, 0.04) 260deg, transparent 320deg);
  animation: services-beam-spin 48s linear infinite;
  opacity: 0.7;
}

@keyframes services-drift-a {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(12%, 8%) scale(1.12);
  }
}

@keyframes services-drift-b {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(-10%, 12%) scale(1.08) rotate(6deg);
  }
}

@keyframes services-drift-c {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-6%, -10%) scale(1.15);
  }
}

@keyframes services-mesh-pan {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 52px 52px, 52px 52px;
  }
}

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

.section__inner--services {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .services-bg__glow,
  .services-bg__mesh,
  .services-bg__beam {
    animation: none !important;
  }

  .services-bg__beam {
    opacity: 0.35;
  }
}

.section__inner {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
}

/* —— Single post: hero (theme) + Elementor / block body + related —— */
.single-post-layout {
  padding-top: calc(var(--header-h) + 1rem);
}

.single-hero {
  position: relative;
  padding: 2rem 0 2.5rem;
  margin-bottom: 0;
  overflow: hidden;
}

.single-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(94, 234, 212, 0.08) 0%, transparent 42%, rgba(167, 139, 250, 0.06) 100%);
  pointer-events: none;
}

.single-hero__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}

.single-hero__inner {
  position: relative;
  z-index: 1;
}

.single-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.single-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 1.25rem;
  max-width: min(100%, 42rem);
}

.single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.single-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

a.single-hero__pill--cat {
  color: var(--accent);
  transition: border-color 0.2s ease, background 0.2s ease;
}

a.single-hero__pill--cat:hover {
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.08);
  color: #99f6e4;
}

/* Body: Elementor = full width under hero */
.single-body--elementor {
  padding: 2rem 0 3rem;
}

.single-body__elementor-root {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.single-body__elementor-root .elementor {
  width: 100%;
}

body.mct-single-elementor-content .single-body__elementor-root {
  overflow-x: clip;
}

/* Body: classic block editor */
.single-body--classic {
  padding: 0 0 3rem;
}

.single-body--classic .entry-content--prose {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.single-body--classic .entry-content--prose p,
.single-body--classic .entry-content--prose li {
  color: rgba(244, 245, 247, 0.94);
  line-height: 1.75;
}

.single-body--classic .entry-content--prose h2,
.single-body--classic .entry-content--prose h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 1.75rem 0 0.65rem;
}

/* Prev / next */
.single-footer-nav {
  padding: 0 0 3rem;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.single-footer-nav__inner {
  padding-top: 2rem;
}

.single-footer-nav .post-navigation {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .single-footer-nav .post-navigation {
    grid-template-columns: 1fr 1fr;
  }
}

.single-footer-nav .post-navigation a {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.single-footer-nav .post-navigation a:hover {
  border-color: rgba(94, 234, 212, 0.3);
  color: var(--text);
}

.single-nav__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.single-nav__title {
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* Related posts */
.related-posts {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, transparent 100%);
}

.related-posts__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.related-posts__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.related-posts__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .related-posts__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.related-posts__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.related-posts__link:hover {
  border-color: rgba(94, 234, 212, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.related-posts__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.related-posts__item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  flex: 1;
}

.related-posts__arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0.7;
}

/* —— Comments (single post) —— */
.comments-area {
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.comments-title,
.comment-reply-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin: 1rem 0 0 1.25rem;
  padding: 0;
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}

.comment-body {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}

.comment-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.comment-meta a {
  color: var(--accent);
}

.comment-content {
  color: rgba(244, 245, 247, 0.92);
  line-height: 1.65;
}

.comment-content p {
  margin: 0 0 0.75rem;
}

.reply .comment-reply-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.comments-pagination {
  margin: 1rem 0 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.comments-pagination a {
  color: var(--text-muted);
}

.no-comments {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form .submit {
  width: auto;
  cursor: pointer;
}

.comment-form .logged-in-as {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
  max-width: none;
}

/* —— Default pages (page.php): center column; Elementor = full inner width —— */
.page-article {
  width: 100%;
  max-width: 100%;
}

.page-content--prose {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

.page-content--prose > *:not(h1, h2, h3, h4, h5, h6) {
  color: inherit;
}

.page-content--prose h1,
.page-content--prose h2,
.page-content--prose h3,
.page-content--prose h4 {
  color: var(--text);
}

.page-content--elementor {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-shell .page-content--elementor .elementor {
  width: 100%;
}

/* Elementor boxed sections: keep container centered inside theme column */
.page-shell .elementor-section.elementor-section-boxed > .elementor-container {
  margin-left: auto;
  margin-right: auto;
}

/* Elementor pages: full viewport width (no 1200px constraint) */
.page-shell--full-width .section__inner {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.page-shell--full-width .page-article,
.page-shell--full-width .page-content--elementor {
  max-width: none;
}

/* Avoid horizontal scroll when Elementor uses full-width / 100vw sections */
body.mct-elementor-page {
  overflow-x: hidden;
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  max-width: 20ch;
}

.section__desc {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 234, 212, 0.25);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.2), rgba(167, 139, 250, 0.15));
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.service-card__shine {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12), transparent 70%);
  pointer-events: none;
}

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 3.25rem;
  border-left: 2px solid rgba(94, 234, 212, 0.35);
  margin-left: 0.5rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -13px;
  top: 1.35rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-band {
  margin: 2rem 0 0;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(167, 139, 250, 0.1));
  border: 1px solid rgba(94, 234, 212, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(94, 234, 212, 0.06), transparent 40%);
  animation: spin-slow 20s linear infinite;
  pointer-events: none;
}

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

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

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn--primary {
  margin: 0 0.35rem;
}

.cta-band--teaser {
  margin-top: 3.5rem;
}

.section--contact {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.contact-quote-launcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(167, 139, 250, 0.06));
  border: 1px solid rgba(94, 234, 212, 0.18);
}

.contact-quote-launcher__copy {
  flex: 1;
  min-width: min(100%, 280px);
}

.contact-quote-launcher__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.contact-quote-launcher__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 36rem;
}

.contact-connect-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.mct-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overscroll-behavior: contain;
}

.mct-modal[hidden] {
  display: none !important;
}

.mct-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 13, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mct-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 880px);
  display: flex;
  flex-direction: column;
  animation: mct-modal-in 0.35s ease-out;
}

@keyframes mct-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mct-modal__panel {
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 880px);
  border-radius: var(--radius);
  background: #0a0c14;
  border: 1px solid rgba(94, 234, 212, 0.22);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), var(--shadow-glow);
  overflow: hidden;
}

.mct-modal__header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}

.mct-modal__intro {
  min-width: 0;
}

.mct-modal__heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.35rem 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mct-modal__lede {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 36rem;
}

.mct-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.35rem -0.35rem 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mct-modal__close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.mct-modal__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mct-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.mct-modal .mct-form__success {
  margin-top: 0.5rem;
}

body.mct-modal-open {
  overflow: hidden;
}

.contact-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-panel:focus {
  outline: none;
}

.contact-panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.contact-panel:hover {
  border-color: rgba(94, 234, 212, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.contact-panel--connect {
  border-color: rgba(167, 139, 250, 0.2);
}

.contact-panel--connect:hover {
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 20px 50px rgba(30, 27, 75, 0.45);
}

.contact-panel__head {
  margin-bottom: 1.75rem;
}

.contact-panel__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.contact-panel__tag--violet {
  color: #c4b5fd;
}

.contact-panel__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.contact-panel__lede {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.mct-form__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mct-form__error {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: var(--radius-sm);
}

.mct-form.is-loading {
  pointer-events: none;
}

.mct-form.is-loading button[type="submit"] {
  opacity: 0.65;
  cursor: wait;
}

.form-row {
  display: grid;
  gap: 1rem;
}

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

@media (max-width: 560px) {
  .form-row--2 {
    grid-template-columns: 1fr;
  }
}

.form-field {
  margin: 0;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-field .req {
  color: var(--accent);
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(154, 163, 178, 0.65);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.12);
  background: rgba(0, 0, 0, 0.45);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239aa3b2' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-actions {
  margin-top: 0.25rem;
}

.form-actions--split {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.mct-form.is-sent .mct-form__body {
  display: none;
}

.mct-form__success {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.22);
  animation: mct-success-in 0.45s ease-out;
}

.contact-panel--connect .mct-form__success {
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.25);
}

@keyframes mct-success-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mct-form__success-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.mct-form__success-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.55;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-inline-help {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-inline-help a {
  font-weight: 600;
}

#mct-quote,
#mct-connect {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.site-footer__inner {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a:not(.btn) {
    display: none;
  }
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.site-footer p,
.site-footer a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0 0 1rem;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  width: min(1200px, 100% - 48px);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #042f2e;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}
