:root {
  --bg: #0d0d0f;
  --bg-soft: #141416;
  --panel: #151518;
  --panel-strong: #111114;
  --text: #f2f2ee;
  --muted: #a0a0a4;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #7daff8;
  --accent-strong: #9fc5ff;
  --accent-pale: rgba(125, 175, 248, 0.1);
  --accent-border: rgba(125, 175, 248, 0.22);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 24px 64px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 175, 248, 0.07), transparent 24%),
    radial-gradient(circle at 100% 0, rgba(125, 175, 248, 0.04), transparent 20%),
    linear-gradient(180deg, #0d0d0f 0%, #09090b 100%);
}

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

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

/* ─── Header ─── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.25rem;
}

.header-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.header-tagline {
  margin: 0;
  line-height: 1;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand {
  margin: 0;
  line-height: 1;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.brand span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

/* ─── Shared Panel Style ─── */

.hero,
.content-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ─── Hero ─── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem clamp(1.5rem, 4vw, 4rem);
  margin-top: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(125, 175, 248, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 100%),
    var(--panel-strong);
  color: var(--text);
  border-top: 1px solid var(--accent-border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

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

.hero .button-primary {
  background: var(--accent);
  color: #07111f;
}

.hero .button-primary:hover,
.hero .button-primary:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

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

.hero h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 1.02;
}

.hero-copy,
.section-copy,
.card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 640px;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.hero-copy + .hero-copy {
  margin-top: 0.85rem;
}

.hero-copy strong {
  font-weight: 700;
  color: inherit;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

/* ─── Buttons ─── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #07111f;
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  border: 1px solid var(--accent-border);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--accent-pale);
  border-color: rgba(125, 175, 248, 0.34);
  color: var(--text);
}

/* ─── Content Blocks ─── */

.content-block {
  margin-top: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.section-heading {
  display: grid;
  gap: 0.35rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.section-copy {
  max-width: 720px;
  margin: 1rem 0 0;
}

.about-block .section-heading {
  margin-bottom: 0;
}

.about-visual {
  margin: 1.25rem 0 0;
  width: 100%;
  aspect-ratio: 1024 / 480;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  background: linear-gradient(180deg, rgba(125, 175, 248, 0.06), rgba(255, 255, 255, 0)), #101014;
}

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

.about-copy {
  margin-top: 1.25rem;
}

.about-copy .section-copy {
  margin-top: 0;
  max-width: none;
}

.about-copy .section-copy + .section-copy,
.contact-block .section-copy + .section-copy {
  margin-top: 0.9rem;
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.work-aside {
  max-width: 720px;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  opacity: 0.85;
}

/* ─── About + Stats ─── */

.about-inner {
  display: flex;
  flex-direction: column;
}

.about-stats {
  display: flex;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 1.5rem;
  border-right: 1px solid var(--line);
  margin-right: 1.5rem;
}

.about-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.about-stat-number {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Why Us / Differentiators ─── */

.differentiators-block {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.differentiators-block .section-heading {
  margin-bottom: 1.5rem;
}

.differentiators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.differentiator {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.differentiator:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-border);
}

.differentiator h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.differentiator p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Industry Tags ─── */

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.industry-tags span {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: border-color 160ms ease, color 160ms ease;
  cursor: default;
}

.industry-tags span:hover {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--text);
}

/* ─── Capabilities Card Grid ─── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-border);
}

.card h3 {
  margin: 0;
}

.card-number {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.card-icon,
.step-icon,
.differentiator-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: var(--accent);
}

.card-icon {
  margin-bottom: 0.9rem;
}

.step-icon {
  flex-shrink: 0;
}

.differentiator-icon {
  margin-bottom: 0.35rem;
}

.card-icon svg,
.step-icon svg,
.differentiator-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-icon svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 1.85;
}

/* ─── Project Grid & Carousel ─── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-carousel {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-carousel__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 16px;
}

.project-carousel__viewport::-webkit-scrollbar {
  display: none;
}

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

.project-carousel__viewport .project-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}

.project-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.project-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.project-carousel__btn:hover,
.project-carousel__btn:focus-visible {
  border-color: var(--accent-border);
  background: var(--accent-pale);
  color: var(--accent-strong);
}

.project-carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.project-carousel__dot.is-active,
.project-carousel__dot[aria-selected="true"] {
  background: var(--accent);
  transform: scale(1.15);
}

.project-carousel__dot:hover,
.project-carousel__dot:focus-visible {
  background: var(--accent-pale);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.project-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-border);
}

.project-card--feature {
  grid-column: span 2;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(125, 175, 248, 0.05), transparent 18%),
    var(--bg-soft);
}

.project-visual {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  background: linear-gradient(180deg, rgba(125, 175, 248, 0.06), rgba(255, 255, 255, 0)), #101014;
  flex-shrink: 0;
}

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

.project-visual--placeholder {
  min-height: 200px;
  background:
    linear-gradient(135deg, rgba(125, 175, 248, 0.04), transparent 55%),
    #101014;
}

.project-visual--placeholder:not(:has(img)) {
  border-style: dashed;
  border-color: rgba(125, 175, 248, 0.18);
}

.project-card--with-visual .project-visual:has(img) {
  border-style: solid;
}

.project-card--with-visual .project-visual--placeholder:has(img) {
  border-style: solid;
  min-height: 0;
}

.project-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-pale);
  border: 1px solid var(--accent-border);
}

.project-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.92rem;
  flex: 1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.project-meta span {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

/* ─── Process Steps ─── */

.process-steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.process-step:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-border);
}

.step-badge {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-self: flex-start;
  padding-right: 1.4rem;
  padding-bottom: 0.25rem;
}

.process-step > .step-badge {
  align-self: flex-start;
}

.step-num {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-block;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.14em;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.process-step h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ─── Testimonials ─── */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  margin: 0;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.97rem;
  font-style: italic;
  flex: 1;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.testimonial-card footer strong {
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-card footer span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── Contact ─── */

.contact-block {
  display: grid;
  gap: 1.25rem;
}

.contact-call-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-call-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-call-card:hover,
.contact-call-card:focus-visible {
  border-color: var(--accent-border);
}

.contact-call-card.is-active {
  border-color: var(--accent-border);
  background: var(--accent-pale);
  box-shadow: 0 0 0 3px rgba(125, 175, 248, 0.1);
}

.contact-call-duration {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-call-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.contact-call-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact-call-meta {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Mobile/default: Cal sets iframe height via embed.js — do not set height here */
.cal-embed-wrap {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}

.cal-embed {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cal-embed-wrap .cal-inline-container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.cal-embed-wrap cal-inline {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.cal-embed-wrap iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0;
}

@media (min-width: 801px) {
  .cal-embed-wrap {
    height: 580px;
    overflow: hidden;
  }

  .cal-embed {
    height: 100%;
    overflow: hidden;
  }

  .cal-embed-wrap .cal-inline-container {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  .cal-embed-wrap cal-inline {
    max-height: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .cal-embed-wrap iframe {
    max-height: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
}

.contact-fallback {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-fallback a {
  color: var(--accent);
}

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

.contact-email {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-email a {
  color: var(--accent);
}

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

/* ─── Contact Form (legacy) ─── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select option {
  background: #111114;
  color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b0b0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(125, 175, 248, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23767676' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-note a {
  color: var(--accent);
}

.form-note a:hover {
  text-decoration: underline;
}

/* ─── Submit Button States ─── */

#submit-btn {
  position: relative;
  min-width: 10rem;
}

#submit-btn .btn-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
  right: 1.25rem;
}

#submit-btn.is-loading .btn-label {
  opacity: 0.6;
}

#submit-btn.is-loading .btn-spinner {
  display: inline-block;
}

#submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

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

/* ─── Form Feedback ─── */

.form-feedback {
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  display: none;
  line-height: 1.5;
}

.form-feedback--success {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.form-feedback--error {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8b0b0;
}

/* ─── Responsive ─── */

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .differentiators {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card--feature {
    grid-column: auto;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-call-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .about-stat {
    flex: 1 1 40%;
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }

  .about-stat:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}
