:root {
  --panel: #171b24;
  --panel-2: #1f2533;
  --text-primary: #2a2a2a;
  --text-muted: #4a4a4a;
  --text-on-hero: #f5f7ff;
  --hero-title-shadow: 0 4px 16px rgba(0,0,0,0.8);
  --top-video-height: 50vh;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background: #f0e5d4;
  color: var(--text-primary);
}
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 12px 14px;
  background: rgba(15, 19, 30, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.site-nav a.active, .site-nav a:hover { background: rgba(103,181,255,0.22); }

.top-video { position: relative; z-index: 9998; margin-top: 58px; width: 100%; height: var(--top-video-height); min-height: 220px; overflow: hidden; }
.top-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.top-video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); }

.page-intro { max-width: 1200px; margin: 0 auto; padding: 24px 20px 8px; text-align: center; }
.page-intro h1 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.5rem); }
.page-intro p { color: var(--text-muted); margin: 10px auto 0; max-width: 800px; }
.portfolio-section { margin-bottom: 36px; }

.testimonials {
  max-width: 1100px;
  margin: 16px auto 48px;
  padding: 0 20px;
}

.testimonials h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
}

.testimonial-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(103,181,255,0.2);
  border: 1px solid rgba(103,181,255,0.45);
}


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

.testimonial-content h3 {
  margin: 0;
  color: #f5f7ff;
  font-size: 1rem;
}

.testimonial-content p {
  margin: 8px 0 0;
  color: #c7d1ea;
  line-height: 1.45;
  font-size: 0.93rem;
}

.hero {
  position: relative;
  min-height: 35vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(103,181,255,0.45), rgba(11,14,20,0.75)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 14px; }
.hero-title { margin: 0; font-size: clamp(1.6rem, 4.6vw, 3.4rem); color: var(--text-on-hero); text-shadow: var(--hero-title-shadow); }
.hero-icon-slot {
  width: clamp(90px, 11vw, 134px);
  aspect-ratio: 1/1;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.45);
  object-fit: cover;
  display: block;
}
.section-lead {
  max-width: 980px;
  margin: 16px auto 6px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0 18px;
}
.section-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.media-card { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; }
.media-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #1d2432; }
.media-thumb.slot { display: grid; place-items: center; color: #d3dbef; font-size: 0.82rem; letter-spacing: 0.3px; }
.media-body { padding: 10px 12px 12px; }
.media-body h3 { font-size: 0.96rem; margin: 0; }
.media-body p { font-size: 0.82rem; margin: 6px 0 0; color: #c7d1ea; line-height: 1.35; }

@media (max-width: 700px) {
  .section-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding: 14px; }
  .testimonial-card { flex-direction: column; }
}
