:root {
  --mgk-bg: #07111a;
  --mgk-bg-soft: #0d1a2a;
  --mgk-bg-deeper: #050c14;
  --mgk-surface: rgba(255, 255, 255, 0.05);
  --mgk-surface-strong: rgba(255, 255, 255, 0.08);
  --mgk-line: rgba(255, 255, 255, 0.1);
  --mgk-text: #ebf5fb;
  --mgk-text-soft: #9eb3c3;
  --mgk-accent: #0de0aa;
  --mgk-accent-deep: #06b98b;
  --mgk-highlight: #ffb703;
  --mgk-danger: #ff8f8f;
  --mgk-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  --mgk-radius-xl: 30px;
  --mgk-radius-lg: 24px;
  --mgk-radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--mgk-text);
  background:
    radial-gradient(circle at top left, rgba(13, 224, 170, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 183, 3, 0.12), transparent 22%),
    linear-gradient(180deg, #07111a 0%, #09131f 45%, #050c14 100%);
}

h1,
h2,
h3,
h4,
.brand-title {
  font-family: "Space Grotesk", sans-serif;
}

img {
  display: block;
  width: 100%;
}

.site-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.92), transparent 88%);
}

.mgk-navbar {
  background: rgba(4, 10, 18, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mgk-highlight), #ffe39e);
  color: #07111a;
  font-weight: 800;
  box-shadow: var(--mgk-shadow);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-text-wrap small,
.nav-link,
.section-copy,
.hero-copy p,
.metric-card p,
.service-card p,
.showcase-copy p,
.project-copy p,
.contact-card p,
.contact-links,
.footer-shell p,
.stat-card span,
.timeline-card p,
.list-copy,
.form-status {
  color: var(--mgk-text-soft);
}

.nav-link,
.footer-links a,
.contact-links a,
.quick-link-card,
.service-link {
  text-decoration: none;
}

.nav-link,
.footer-links a {
  font-weight: 600;
}

.nav-link:hover,
.footer-links a:hover,
.contact-links a:hover,
.service-link:hover {
  color: #fff;
}

.btn-mgk,
.btn-mgk-outline {
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 700;
}

.btn-mgk {
  border: 0;
  background: linear-gradient(135deg, var(--mgk-accent), var(--mgk-accent-deep));
  color: #031017;
  box-shadow: 0 18px 40px rgba(13, 224, 170, 0.18);
}

.btn-mgk:hover {
  background: linear-gradient(135deg, #1af0bb, #0ed6a3);
  color: #031017;
}

.btn-mgk-outline {
  background: rgba(255,255,255,0.03);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.btn-mgk-outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.08);
}

.page-hero,
.hero-section {
  position: relative;
  padding: 4rem 0 3rem;
}

.hero-media-wrap,
.page-hero-media {
  position: relative;
}

.hero-image,
.page-hero-image,
.showcase-image,
.project-image,
.service-image,
.about-image,
.inline-image {
  object-fit: cover;
  border-radius: var(--mgk-radius-xl);
  box-shadow: var(--mgk-shadow);
}

.hero-image,
.page-hero-image {
  min-height: 620px;
  height: 620px;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #c9ffee;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.display-title,
.page-title,
.section-title {
  color: #fff;
  line-height: 1.02;
}

.display-title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  max-width: 11ch;
}

.page-title,
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero-copy p,
.section-copy,
.project-copy p,
.contact-card p,
.timeline-card p,
.list-copy {
  line-height: 1.8;
  font-size: 1.05rem;
}

.glass-card,
.stat-card,
.service-card,
.metric-card,
.showcase-card,
.project-card,
.contact-card,
.form-panel,
.timeline-card,
.quick-link-card,
.value-card,
.icon-panel {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--mgk-line);
  box-shadow: var(--mgk-shadow);
  backdrop-filter: blur(18px);
}

.hero-panel,
.contact-card,
.form-panel,
.project-card,
.timeline-card,
.quick-link-card,
.showcase-card {
  border-radius: var(--mgk-radius-xl);
}

.hero-panel {
  position: absolute;
  max-width: 270px;
  padding: 1rem 1.1rem;
  background: rgba(7, 18, 30, 0.78);
}

.hero-panel span,
.metric-card span,
.service-card .service-index,
.timeline-card span,
.project-meta,
.card-kicker,
.icon-panel span {
  color: #90efd1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel strong,
.stat-card strong,
.metric-card strong,
.value-card strong {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  margin-top: 0.35rem;
}

.panel-a {
  left: -24px;
  bottom: 76px;
}

.panel-b {
  right: -24px;
  top: 56px;
}

.stat-card,
.metric-card,
.value-card,
.icon-panel {
  padding: 1.2rem;
  border-radius: 22px;
}

.stat-card strong {
  font-size: 1.85rem;
}

.section-shell {
  padding: 5rem 0;
}

.section-copy.max-wide {
  max-width: 70ch;
}

.brand-grid,
.quick-links-grid,
.value-grid {
  display: grid;
  gap: 1rem;
}

.brand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-links-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-link-card,
.value-card {
  padding: 1.2rem;
  border-radius: 24px;
  color: #fff;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}

.services-grid .service-card,
.projects-grid .project-card,
.values-row .value-card {
  height: 100%;
}

.service-card {
  overflow: hidden;
  border-radius: var(--mgk-radius-lg);
}

.service-image {
  height: 240px;
}

.service-content,
.project-copy,
.showcase-copy {
  padding: 1.35rem;
}

.service-content h3,
.project-copy h3,
.showcase-copy h3,
.contact-card h3,
.timeline-card h3,
.value-card h3,
.icon-panel h3 {
  color: #fff;
}

.service-link {
  color: #c9ffee;
  font-weight: 700;
}

.showcase-image,
.about-image {
  min-height: 560px;
  height: 100%;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
}

.project-image {
  height: 280px;
}

.project-card {
  overflow: hidden;
}

.contact-card,
.form-panel {
  padding: 2rem;
  height: 100%;
}

.contact-links {
  display: grid;
  gap: 1rem;
}

.form-control,
.form-select {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.form-control:focus,
.form-select:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(13, 224, 170, 0.55);
  color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(13, 224, 170, 0.14);
}

.form-select option {
  color: #111;
}

.form-status.is-success {
  color: #a0f6da;
}

.form-status.is-error {
  color: var(--mgk-danger);
}

.footer-shell {
  padding: 2rem 0 5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #0f9d71);
  color: #03120c;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.25);
}

.reveal-up,
.reveal-up-delay {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up-delay {
  transition-delay: 0.14s;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .brand-grid,
  .quick-links-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-a {
    left: 16px;
  }

  .panel-b {
    right: 16px;
  }
}

@media (max-width: 991px) {
  .display-title {
    max-width: none;
  }

  .hero-image,
  .page-hero-image {
    min-height: 460px;
    height: 460px;
  }

  .showcase-image,
  .about-image {
    min-height: 380px;
  }

  .quick-links-grid,
  .brand-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .section-shell,
  .hero-section,
  .page-hero {
    padding: 4rem 0;
  }

  .hero-image,
  .page-hero-image {
    min-height: 380px;
    height: 380px;
  }

  .hero-panel {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .contact-card,
  .form-panel {
    padding: 1.4rem;
  }

  .floating-whatsapp {
    left: 1rem;
    right: 1rem;
  }
}
