:root {
  --bg: #050816;
  --bg-alt: #0b1120;
  --bg-soft: #111827;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.15);
  --accent-strong: #4f46e5;
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #1f2937 0, #020617 40%, #020617 100%);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover .logo-text {
  filter: brightness(1.1);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 0, #a855f7, #4f46e5 45%, #22c55e 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.6);
}

.logo-mark-letter {
  background: linear-gradient(to right, #e5e7eb, #c7d2fe, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.logo-text {
  font-weight: 650;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  background: linear-gradient(to right, #e5e7eb, #c7d2fe, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.main-nav a:hover {
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 3.3vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0 0 1.8rem;
  color: var(--text-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(to right, #4f46e5, #6366f1, #8b5cf6);
  color: #f9fafb;
  box-shadow: 0 16px 35px rgba(79, 70, 229, 0.6);
}

.btn.primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.6);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 1);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-meta span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-card {
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.6), rgba(15, 23, 42, 0.95));
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform: translateY(4px);
}

.hero-card-header,
.hero-card-footer {
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
}

.hero-card-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem 1.1rem 1.1rem;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.95);
}

.stat {
  padding: 0.78rem 0.8rem;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(55, 65, 81, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.stat .label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-soft);
  margin-bottom: 0.18rem;
}

.stat .value {
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 0.4rem;
}

.status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
}

.hero-card-header span:first-child {
  display: inline-flex;
  align-items: center;
}

.hero-footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-footer-title {
  font-weight: 500;
}

.hero-footer-sub {
  font-size: 0.72rem;
  color: var(--text-soft);
}

.hero-discord-link {
  margin-left: 0.25rem;
  color: #a5b4fc;
  text-decoration: underline;
  font-weight: 500;
}

.hero-discord-link:hover {
  color: #e5e7eb;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  max-width: 42rem;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  margin: 0 0 0.45rem;
  font-size: 1.8rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
}

.filter-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  color: #e5e7eb;
  border-color: rgba(99, 102, 241, 0.9);
}

.filter-btn.active {
  background: linear-gradient(to right, #4f46e5, #6366f1);
  color: #f9fafb;
  border-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.project-card {
  position: relative;
  padding: 1.05rem 1rem 1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.18s ease, background 0.18s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.95);
  border-color: rgba(129, 140, 248, 0.9);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.28), rgba(15, 23, 42, 0.98));
}

.project-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: -0.1rem -0.1rem 0.55rem;
  background: #020617;
}

.project-media-video {
  margin: 0.25rem 0.4rem 0.6rem;
  border-radius: 12px;
}

.project-media-link {
  display: inline-block;
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
}

.project-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.project-video {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.project-card:hover .project-image,
.project-card:hover .project-video {
  transform: scale(1.03);
  opacity: 0.97;
}

.project-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.15),
    rgba(15, 23, 42, 0.7)
  );
  color: #e5e7eb;
  font-size: 0.86rem;
  opacity: 1;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.project-media-link:hover .project-video-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.25),
    rgba(15, 23, 42, 0.95)
  );
}

.overlay-button {
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
}

.project-media-link:hover .overlay-button {
  border-color: rgba(129, 140, 248, 0.95);
}

.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.video-modal.open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
}

.video-modal-content {
  position: relative;
  width: min(960px, 94vw);
  max-height: 90vh;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.95);
  padding: 0.9rem 0.9rem 1rem;
}

.video-modal-player {
  width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  background: black;
}

.video-modal-close {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.86rem;
}

.video-modal-close:hover {
  background: rgba(30, 64, 175, 0.95);
}

.project-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-soft);
}

.project-card h3 {
  margin: 0.3rem 0 0.35rem;
  font-size: 1rem;
}

.project-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.project-meta {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0.4rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.project-meta li + li {
  margin-top: 0.12rem;
}

.project-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.project-invite {
  margin-top: 0.5rem;
  padding: 0.5rem 0.65rem 0.5rem 0.5rem;
  border-radius: 12px;
  background: radial-gradient(circle at left, rgba(79, 70, 229, 0.45), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(129, 140, 248, 0.85);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
  cursor: pointer;
}

.project-invite-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: #a5b4fc;
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.7);
}

.project-invite-main {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.project-invite-label {
  font-size: 0.82rem;
  color: #e5e7eb;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.project-invite-note {
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.7);
}

.project-invite-copy {
  margin-left: auto;
  padding: 0.23rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  font-size: 0.7rem;
  cursor: pointer;
}

.project-invite-copy:hover {
  background: rgba(37, 99, 235, 0.95);
}

.project-invite:hover {
  border-color: rgba(191, 219, 254, 0.95);
}

.project-btn {
  margin-top: 0.6rem;
  width: 100%;
  border-radius: 999px;
  border: none;
  outline: none;
  background: rgba(79, 70, 229, 0.92);
  color: #f9fafb;
  padding: 0.55rem 0.8rem;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.16s ease;
}

.project-btn:hover {
  background: rgba(99, 102, 241, 0.98);
  transform: translateY(-1px);
}

.project-gallery-btn {
  margin-top: 0.4rem;
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

.project-gallery-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  border-color: rgba(129, 140, 248, 0.95);
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.image-modal.open {
  display: flex;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
}

.image-modal-content {
  position: relative;
  width: min(960px, 94vw);
  max-height: 90vh;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.95);
  padding: 1.4rem 1.4rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  display: block;
  background: black;
}

.image-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.image-modal-close:hover {
  background: rgba(30, 64, 175, 0.95);
}

.image-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.image-modal-nav-prev {
  left: 0.5rem;
}

.image-modal-nav-next {
  right: 0.5rem;
}

.image-modal-nav:hover {
  background: rgba(30, 64, 175, 0.95);
}

.image-modal-fullscreen {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.95), rgba(15, 23, 42, 0.98));
  color: #e5e7eb;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.95);
}

.image-modal-fullscreen:hover {
  background: radial-gradient(circle at top, rgba(37, 99, 235, 1), rgba(15, 23, 42, 1));
  border-color: rgba(239, 246, 255, 0.98);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-grid p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.about-grid p + p {
  margin-top: 0.6rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
}

.highlight-card {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.highlight-title {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.highlight-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.process-step {
  padding: 1rem 1.1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.9);
}

.process-step h3 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, #4f46e5, #6366f1);
  color: #f9fafb;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.contact-list .label {
  color: var(--text-soft);
  width: 70px;
}

.contact-list .value {
  font-weight: 500;
}
.contact-server-row .label {
  width: auto;
  margin-right: 0.3rem;
}
.contact-server-btn {
  margin-top: 0;
  width: auto;
  padding: 0.4rem 1.2rem;
  font-size: 0.82rem;
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.75);
}
.copy-btn {
  margin-left: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.copy-btn:hover {
  color: #e5e7eb;
  border-color: rgba(99, 102, 241, 0.9);
}

.contact-note {
  font-size: 0.84rem;
  color: var(--text-soft);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.trust-badge {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(6, 78, 59, 0.95));
  border: 1px solid rgba(45, 212, 191, 0.8);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.95);
  font-size: 0.86rem;
  color: #bbf7d0;
}

.trust-badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #22c55e, #16a34a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(187, 247, 208, 0.95);
}

.trust-badge-text {
  white-space: nowrap;
}

.request-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.request-modal.open {
  display: flex;
}

.request-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
}

.request-modal-content {
  position: relative;
  width: min(560px, 94vw);
  border-radius: 18px;
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.95);
  padding: 1.5rem 1.6rem 1.3rem;
}

.request-modal h2 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.request-modal-sub {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.request-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.request-modal-close:hover {
  background: rgba(30, 64, 175, 0.95);
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.field-group label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.field-group input,
.field-group select,
.field-group textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  padding: 0.5rem 0.7rem;
  font: inherit;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.field-group textarea {
  resize: vertical;
  min-height: 80px;
}

.request-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.1rem;
}

.request-actions .btn {
  width: auto;
  padding-inline: 1.1rem;
}

.request-note {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.request-success {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
  border-radius: 18px;
  text-align: center;
}

.request-success.show {
  display: flex;
}

.request-success-message {
  margin: 0;
  font-size: 0.9rem;
  color: #bbf7d0;
  max-width: 26rem;
}

.request-success-ok {
  min-width: 90px;
}
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.1rem 0 1.4rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1));
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-note {
  font-size: 0.78rem;
}

.footer-brand {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-brand:hover {
  color: #e5e7eb;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.75rem 0;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 3.3rem;
  }

  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 3rem 0;
  }
}

