:root {
  --mk-blue: #168bd7;
  --mk-blue-dark: #0f5f9d;
  --mk-blue-soft: #e9f6ff;
  --mk-ink: #172033;
  --mk-muted: #657084;
  --mk-line: #e4ebf3;
  --mk-bg: #f6f9fc;
  --mk-card: #ffffff;
  --mk-shadow: 0 18px 48px rgba(25, 45, 74, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background: var(--mk-bg);
  color: var(--mk-ink);
  margin: 0;
}

[data-aos],
[data-aos][data-aos],
[data-aos^="fade"][data-aos^="fade"],
[data-aos^="zoom"][data-aos^="zoom"] {
  opacity: 1 !important;
  transform: none !important;
}

#preloader {
  display: none !important;
}

.mk-loading-screen {
  align-items: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(22, 139, 215, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef6fd 100%);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 1;
  position: fixed;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  visibility: visible;
  z-index: 99999;
}

.mk-loading-screen-leaving {
  opacity: 0;
  visibility: hidden;
}

.mk-loading-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-10px);
}

.mk-loading-card img {
  height: 118px;
  object-fit: contain;
  width: auto;
}

.mk-loading-bar {
  background: rgba(22, 139, 215, 0.12);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
  position: relative;
  width: 150px;
}

.mk-loading-bar::before {
  animation: mk-loading-progress 1.05s ease-in-out infinite;
  background: linear-gradient(90deg, var(--mk-blue-dark), var(--mk-blue));
  border-radius: inherit;
  content: "";
  height: 100%;
  left: -45%;
  position: absolute;
  top: 0;
  width: 45%;
}

@keyframes mk-loading-progress {
  0% {
    left: -45%;
  }

  100% {
    left: 100%;
  }
}

#header,
#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--mk-line);
  box-shadow: 0 10px 30px rgba(25, 45, 74, 0.06);
  min-height: 78px;
  padding: 8px 0;
}

#header .container {
  min-height: 62px;
}

#header .customLogo {
  height: 68px;
  object-fit: contain;
  width: auto;
}

.mobile-nav-toggle {
  align-items: center;
  background: var(--mk-blue);
  border: 0;
  border-radius: 10px;
  color: #fff;
  display: none;
  height: 42px;
  justify-content: center;
  margin-left: 14px;
  width: 42px;
}

.mobile-nav-toggle i {
  font-size: 24px;
  line-height: 1;
}

.mobile-menu-head,
.mobile-menu-backdrop {
  display: none;
}

.navbar a,
.navbar a:focus {
  color: var(--mk-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 10px 0 10px 22px;
  position: relative;
  white-space: nowrap;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--mk-blue);
}

.navbar .active::after {
  background: var(--mk-blue);
  border-radius: 999px;
  bottom: 4px;
  content: "";
  height: 3px;
  left: 22px;
  position: absolute;
  right: 0;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: var(--mk-blue);
  border: 1px solid var(--mk-blue);
  border-radius: 999px;
  color: #fff;
  margin-left: 20px;
  padding: 11px 20px;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  background: var(--mk-blue-dark);
  border-color: var(--mk-blue-dark);
  color: #fff;
}

section {
  scroll-margin-top: 92px;
}

#hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(22, 139, 215, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f2f7fc 100%);
  min-height: 94vh;
  padding: 128px 0 74px;
}

#hero .container {
  padding-top: 0;
}

.hero-kicker,
.section-kicker {
  color: var(--mk-blue);
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

#hero h1 {
  color: var(--mk-ink);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 22px;
}

#hero h2 {
  color: var(--mk-muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 630px;
}

.hero-actions {
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

#hero .btn-get-started,
.cta-btn {
  background: var(--mk-blue);
  border: 1px solid var(--mk-blue);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(22, 139, 215, 0.22);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  padding: 13px 24px;
}

#hero .btn-get-started:hover,
.cta-btn:hover {
  background: var(--mk-blue-dark);
  border-color: var(--mk-blue-dark);
  color: #fff;
}

#hero .btn-watch-video {
  align-items: center;
  color: var(--mk-ink);
  display: inline-flex;
  font-weight: 800;
  margin-left: 0;
}

#hero .btn-watch-video i {
  color: var(--mk-blue);
  font-size: 28px;
  margin-right: 8px;
}

.hero-tech-card {
  align-items: center;
  aspect-ratio: 1 / 0.86;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  margin-left: auto;
  max-width: 540px;
  overflow: visible;
  position: relative;
}

.hero-mobile-visual {
  display: none;
}

.hero-tech-card::before {
  background: linear-gradient(90deg, transparent, rgba(22, 139, 215, 0.14), transparent);
  content: "";
  height: 1px;
  left: 10%;
  position: absolute;
  right: 10%;
  top: 18%;
}

.hero-tech-grid {
  background-image:
    linear-gradient(rgba(22, 139, 215, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 139, 215, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  border-radius: 50%;
  height: 420px;
  left: 50%;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%);
  opacity: 0.58;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
}

.hero-tech-glow {
  animation: hero-tech-pulse 3.8s ease-in-out infinite;
  background: rgba(22, 139, 215, 0.15);
  border-radius: 50%;
  filter: blur(12px);
  height: 230px;
  position: absolute;
  width: 230px;
}

.hero-tech-core {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 139, 215, 0.24);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 16px rgba(22, 139, 215, 0.055),
    0 0 76px rgba(22, 139, 215, 0.28);
  display: flex;
  height: 210px;
  justify-content: center;
  position: relative;
  width: 210px;
  z-index: 2;
}

.hero-tech-core::before,
.hero-tech-core::after {
  border: 1px solid rgba(22, 139, 215, 0.2);
  border-radius: 50%;
  content: "";
  inset: -34px;
  position: absolute;
}

.hero-tech-core::after {
  animation: hero-tech-spin 24s linear infinite;
  border-style: dashed;
  inset: -58px;
}

.hero-tech-core img {
  height: 128px;
  object-fit: contain;
  position: relative;
  width: auto;
  z-index: 2;
}

.hero-tech-orbit {
  border: 1px solid rgba(22, 139, 215, 0.22);
  border-radius: 50%;
  position: absolute;
}

.hero-tech-orbit-one {
  animation: hero-tech-spin 32s linear infinite;
  height: 330px;
  width: 330px;
}

.hero-tech-orbit-two {
  animation: hero-tech-spin-reverse 38s linear infinite;
  height: 430px;
  transform: rotate(-18deg);
  width: 430px;
}

.hero-tech-beam {
  background: linear-gradient(90deg, transparent, rgba(22, 139, 215, 0.28), transparent);
  height: 1px;
  position: absolute;
  transform-origin: center;
  width: 68%;
}

.hero-tech-beam-one {
  transform: rotate(28deg);
}

.hero-tech-beam-two {
  transform: rotate(-34deg);
}

.hero-tech-node {
  background: var(--mk-blue);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(22, 139, 215, 0.1), 0 8px 18px rgba(22, 139, 215, 0.2);
  height: 16px;
  position: absolute;
  width: 16px;
  z-index: 3;
}

.hero-tech-node-one {
  left: 23%;
  top: 36%;
}

.hero-tech-node-two {
  right: 24%;
  top: 29%;
}

.hero-tech-node-three {
  bottom: 31%;
  right: 30%;
}

.hero-tech-chip-orbit {
  animation: hero-chip-orbit 18s linear infinite;
  height: 390px;
  position: absolute;
  width: 390px;
  z-index: 4;
}

.hero-tech-chip-orbit-two {
  animation-delay: -4.5s;
}

.hero-tech-chip-orbit-three {
  animation-delay: -9s;
}

.hero-tech-chip-orbit-four {
  animation-delay: -13.5s;
}

.hero-tech-chip {
  align-items: center;
  animation: hero-chip-counter-orbit 18s linear infinite;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 139, 215, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(25, 45, 74, 0.09);
  color: var(--mk-blue-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  left: 50%;
  padding: 9px 14px;
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.hero-tech-chip i {
  color: var(--mk-blue);
  font-size: 15px;
}

.hero-tech-chip-orbit-two .hero-tech-chip {
  animation-delay: -4.5s;
}

.hero-tech-chip-orbit-three .hero-tech-chip {
  animation-delay: -9s;
}

.hero-tech-chip-orbit-four .hero-tech-chip {
  animation-delay: -13.5s;
}

@keyframes hero-tech-spin {
  to {
    rotate: 360deg;
  }
}

@keyframes hero-tech-spin-reverse {
  to {
    rotate: -360deg;
  }
}

@keyframes hero-tech-pulse {
  0%,
  100% {
    opacity: 0.68;
    scale: 0.96;
  }

  50% {
    opacity: 1;
    scale: 1.08;
  }
}

@keyframes hero-chip-orbit {
  to {
    rotate: 360deg;
  }
}

@keyframes hero-chip-counter-orbit {
  to {
    rotate: -360deg;
  }
}

main > section {
  padding: 86px 0;
}

.section-bg {
  background: #eef4fa !important;
}

.section-title {
  margin: 0 auto 38px;
  max-width: 860px;
  padding-bottom: 0;
  text-align: center;
}

.section-title h2 {
  color: var(--mk-ink);
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title h2::before,
.section-title h2::after {
  display: none;
}

.section-title p,
.team .section-title p,
.cta-panel p {
  color: var(--mk-muted);
  font-size: 17px;
  line-height: 1.75;
}

.services .icon-box,
.client-card,
.portfolio-card,
.team .member,
.cta-panel {
  background: var(--mk-card);
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(25, 45, 74, 0.08);
}

.about-shell {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.about-content-full {
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
}

.about-content h2 {
  color: var(--mk-ink);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--mk-muted);
  font-size: 17px;
  line-height: 1.78;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  text-align: left;
}

.about-value {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  display: flex;
  gap: 16px;
  padding: 18px;
}

.about-value i {
  align-items: center;
  background: var(--mk-blue-soft);
  border-radius: 50%;
  color: var(--mk-blue-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.about-value h3 {
  color: var(--mk-ink);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 5px;
}

.about-value p {
  color: var(--mk-muted);
  line-height: 1.6;
  margin: 0;
}

.about-value-list {
  color: var(--mk-muted);
  line-height: 1.6;
  margin: 0;
  padding-left: 18px;
  text-align: left;
}

.about-value-list li + li {
  margin-top: 6px;
}

.services .icon-box {
  height: 100%;
  padding: 32px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.services .icon-box:hover,
.portfolio-card:hover,
.client-card:hover {
  border-color: rgba(22, 139, 215, 0.35);
  box-shadow: var(--mk-shadow);
  transform: translateY(-4px);
}

.services .icon-box .icon {
  align-items: center;
  background: var(--mk-blue-soft);
  border-radius: 14px;
  display: inline-flex;
  height: 54px;
  justify-content: center;
  margin-bottom: 22px;
  width: 54px;
}

.services .icon-box .icon i {
  color: var(--mk-blue);
  font-size: 25px;
}

.services .icon-box h4 {
  font-size: 22px;
  line-height: 1.25;
}

.services .icon-box h4 a {
  color: var(--mk-ink);
}

.services .icon-box p {
  color: var(--mk-muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.client-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.client-card {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 108px;
  padding: 20px;
  transition: 0.2s ease;
}

.client-card img {
  filter: grayscale(1);
  max-height: 62px;
  opacity: 0.72;
  transition: 0.2s ease;
}

.client-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.cta {
  background: #fff;
}

.cta-panel {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 36px;
}

.cta-panel h3 {
  color: var(--mk-ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.portfolio-card {
  height: 100%;
  overflow: hidden;
  transition: 0.2s ease;
}

.portfolio-showcase {
  background: #fff;
}

.portfolio-work-card {
  display: flex;
  flex-direction: column;
}

.portfolio-work-link {
  display: block;
}

.portfolio-template {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0f5f9d, #168bd7);
  min-height: 245px;
  overflow: hidden;
  position: relative;
}

.portfolio-gallery-count {
  align-items: center;
  background: rgba(23, 32, 51, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 6px;
  line-height: 1;
  padding: 9px 11px;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

.portfolio-client-logo {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.18);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  left: 14px;
  padding: 8px;
  position: absolute;
  top: 14px;
  width: 92px;
  z-index: 3;
}

.portfolio-template .portfolio-client-logo img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: none;
  transition: none;
  width: 100%;
}

.portfolio-template::after {
  background:
    linear-gradient(180deg, rgba(23, 32, 51, 0) 28%, rgba(23, 32, 51, 0.78) 100%),
    linear-gradient(90deg, rgba(15, 95, 157, 0.26), rgba(15, 95, 157, 0));
  content: "";
  inset: 0;
  position: absolute;
}

.portfolio-template img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
  width: 100%;
}

.portfolio-card:hover .portfolio-template img {
  transform: scale(1.045);
}

.portfolio-image-caption {
  bottom: 20px;
  color: #fff;
  display: grid;
  gap: 5px;
  left: 20px;
  max-width: calc(100% - 40px);
  position: absolute;
  right: 20px;
  z-index: 2;
}

.portfolio-image-caption span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-image-caption strong {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.portfolio-work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 16px;
}

.portfolio-work-type {
  color: var(--mk-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.portfolio-work-body h3 {
  color: var(--mk-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.portfolio-work-body h3 a {
  color: inherit;
}

.portfolio-work-body p,
.portfolio-description-button {
  color: var(--mk-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.portfolio-description-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.portfolio-description-button:hover,
.portfolio-description-button:focus {
  color: var(--mk-blue-dark);
  outline: 0;
}

.portfolio-description-button::after {
  color: var(--mk-blue);
  content: " Ver galeria";
  font-weight: 800;
  white-space: nowrap;
}

.portfolio-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.portfolio-service-chip {
  background: #eef7fd;
  border: 1px solid rgba(22, 139, 215, 0.18);
  border-radius: 999px;
  color: var(--mk-blue-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}

.portfolio-gallery-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 9999;
}

.portfolio-gallery-backdrop {
  background: rgba(10, 21, 36, 0.76);
  border: 0;
  inset: 0;
  padding: 0;
  position: absolute;
}

.portfolio-gallery-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(10, 21, 36, 0.28);
  max-height: min(86vh, 900px);
  max-width: 1040px;
  overflow: auto;
  position: relative;
  width: min(100%, 1040px);
  z-index: 1;
}

.portfolio-gallery-header {
  align-items: center;
  border-bottom: 1px solid var(--mk-line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 20px 22px;
}

.portfolio-gallery-header span {
  color: var(--mk-blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-gallery-header h3 {
  color: var(--mk-ink);
  font-size: 22px;
  font-weight: 800;
  margin: 4px 0 0;
}

.portfolio-gallery-header button {
  align-items: center;
  background: #eef3f8;
  border: 0;
  border-radius: 8px;
  color: var(--mk-ink);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: 0.2s ease;
  width: 42px;
}

.portfolio-gallery-header button:hover {
  background: var(--mk-blue);
  color: #fff;
}

.portfolio-gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.portfolio-gallery-grid figure {
  background: #f5f8fb;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.portfolio-gallery-grid img {
  aspect-ratio: 16 / 10;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.portfolio-work-actions {
  align-items: center;
  border-top: 1px solid var(--mk-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: auto 24px 0;
  padding: 16px 0 20px;
}

.portfolio-visit-link {
  color: var(--mk-blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.portfolio-share-button {
  align-items: center;
  background: var(--mk-blue-soft);
  border: 0;
  border-radius: 999px;
  color: var(--mk-blue-dark);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portfolio-share-button:hover {
  background: var(--mk-blue);
  color: #fff;
  transform: translateY(-2px);
}

.portfolio-share-button i {
  font-size: 16px;
}

.portfolio-more-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.portfolio-more-button {
  background: var(--mk-blue);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(22, 139, 215, 0.24);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.portfolio-more-button:hover {
  background: var(--mk-blue-dark);
  box-shadow: 0 16px 34px rgba(15, 95, 157, 0.28);
  transform: translateY(-2px);
}

.clients-project-grid {
  justify-content: center;
}

.client-project-card {
  display: block;
  min-height: 150px;
}

.portfolio .portfolio-img {
  align-items: center;
  background: linear-gradient(180deg, #f8fbfe, #e9f2fa);
  display: flex;
  height: 230px;
  justify-content: center;
  min-height: 230px;
}

.portfolio .portfolio-img img {
  max-height: 170px;
  object-fit: contain;
  padding: 22px;
  width: 100%;
}

.clients-section .portfolio-img {
  height: 150px;
  min-height: 150px;
}

.clients-section .portfolio-img img {
  max-height: 118px;
  padding: 14px;
}

.admin-shell {
  background: #f5f8fb;
  color: var(--mk-ink);
  min-height: 100vh;
  padding: 28px;
}

.admin-centered,
.admin-login-page {
  align-items: center;
  display: flex;
  justify-content: center;
}

.admin-login-card,
.admin-panel,
.admin-sidebar,
.admin-modal-panel {
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(23, 32, 51, 0.08);
}

.admin-login-card {
  display: grid;
  gap: 18px;
  max-width: 430px;
  padding: 34px;
  width: 100%;
}

.admin-brand {
  align-items: center;
  color: var(--mk-ink);
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
}

.admin-brand img {
  height: 48px;
  object-fit: contain;
  width: auto;
}

.admin-login-card h1,
.admin-topbar h1,
.admin-table-card h2,
.admin-modal-header h2 {
  color: var(--mk-ink);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.admin-login-card p {
  color: var(--mk-muted);
  line-height: 1.6;
  margin: 0;
}

.admin-login-card label,
.admin-form label {
  color: var(--mk-ink);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

.admin-login-card input,
.admin-form input,
.admin-form textarea,
.admin-form select {
  background: #f8fbfe;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  color: var(--mk-ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.admin-form textarea {
  min-height: 116px;
  resize: vertical;
}

.admin-form input:disabled,
.admin-form textarea:disabled,
.admin-form select:disabled {
  background: #f3f6fa;
  color: var(--mk-muted);
  cursor: default;
}

.admin-login-card button,
.admin-topbar button,
.admin-actions button,
.admin-row-actions button,
.admin-table-head button,
.admin-icon-button {
  align-items: center;
  background: var(--mk-blue);
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-login-card button:hover,
.admin-topbar button:hover,
.admin-actions button:hover,
.admin-row-actions button:hover,
.admin-table-head button:hover,
.admin-icon-button:hover {
  background: var(--mk-blue-dark);
  transform: translateY(-1px);
}

.admin-actions button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.admin-secondary,
.admin-row-actions .admin-danger {
  background: #eef3f8 !important;
  color: var(--mk-ink) !important;
}

.admin-row-actions .admin-danger:hover {
  background: #fee6e6 !important;
  color: #a71717 !important;
}

.admin-error,
.admin-status {
  border-radius: 8px;
  display: block;
  font-weight: 700;
  padding: 11px 12px;
}

.admin-error {
  background: #fee6e6;
  color: #a71717;
}

.admin-status {
  background: #e9f6ff;
  color: var(--mk-blue-dark);
}

.admin-back-link {
  color: var(--mk-blue-dark);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.admin-dashboard {
  display: grid;
  gap: 24px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  align-self: start;
  display: grid;
  gap: 12px;
  min-height: calc(100vh - 56px);
  padding: 10px;
  position: sticky;
  top: 28px;
}

.admin-side-nav {
  display: grid;
  gap: 8px;
}

.admin-side-nav button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--mk-muted);
  display: flex;
  font-weight: 800;
  gap: 7px;
  min-height: 34px;
  padding: 0 7px;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-side-nav button i {
  font-size: 18px;
}

.admin-side-nav button:hover,
.admin-side-nav button.active {
  background: var(--mk-blue-soft);
  color: var(--mk-blue-dark);
}

.admin-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-topbar,
.admin-table-head,
.admin-modal-header {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.admin-topbar {
  min-height: 68px;
}

.admin-userbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-userbar span {
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-userbar strong {
  background: #e9f6ff;
  border-radius: 999px;
  color: var(--mk-blue-dark);
  font-size: 12px;
  padding: 7px 10px;
}

.admin-panel {
  padding: 24px;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-kicker {
  color: var(--mk-blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-logo-preview {
  align-items: center;
  background: #f8fbfe;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 120px;
  padding: 18px;
}

.admin-logo-preview img {
  max-height: 82px;
  max-width: 100%;
  object-fit: contain;
}

.admin-table-card {
  display: grid;
  gap: 18px;
}

.admin-table-filters,
.admin-filter-bar {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-table-filters label {
  color: var(--mk-ink);
  display: grid;
  flex: 1 1 220px;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  min-width: 190px;
}

.admin-table-filters input,
.admin-table-filters select {
  background: #f8fbfe;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  color: var(--mk-ink);
  font: inherit;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.admin-search-filter {
  flex: 999 1 320px !important;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

.admin-table th {
  background: #f8fbfe;
  color: var(--mk-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  text-align: left;
  text-transform: uppercase;
}

.admin-table td {
  border-top: 1px solid var(--mk-line);
  color: var(--mk-muted);
  line-height: 1.5;
  padding: 14px;
  vertical-align: middle;
}

.admin-table td strong {
  color: var(--mk-ink);
  display: block;
  font-weight: 800;
}

.admin-table td span {
  color: var(--mk-blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-top: 4px;
  text-transform: uppercase;
}

.admin-table-entity {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 240px;
}

.admin-table-entity img,
.admin-table-image-placeholder {
  background: #eef3f8;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  flex: 0 0 auto;
  height: 54px;
  object-fit: contain;
  padding: 6px;
  width: 78px;
}

.admin-log-table {
  min-width: 1080px;
}

.admin-log-table code {
  background: #eef3f8;
  border-radius: 6px;
  color: var(--mk-ink);
  display: inline-block;
  font-size: 12px;
  padding: 5px 7px;
}

.admin-log-details summary {
  color: var(--mk-blue-dark);
  cursor: pointer;
  font-weight: 900;
}

.admin-log-details div {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  min-width: 360px;
}

.admin-log-details p {
  background: #f8fbfe;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 10px;
}

.admin-log-details strong {
  color: var(--mk-ink);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-log-details span {
  color: var(--mk-muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-transform: none;
}

.admin-log-details pre {
  background: #f8fbfe;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  color: var(--mk-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
}

.admin-empty-state {
  align-items: center;
  background: #f8fbfe;
  border: 1px dashed var(--mk-line);
  border-radius: 8px;
  color: var(--mk-muted);
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 170px;
  text-align: center;
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  white-space: nowrap;
}

.admin-row-actions button {
  min-height: 36px;
  padding: 0 12px;
}

.admin-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 10000;
}

.admin-modal-backdrop {
  background: rgba(10, 21, 36, 0.66);
  border: 0;
  inset: 0;
  padding: 0;
  position: absolute;
}

.admin-modal-panel {
  display: grid;
  gap: 18px;
  max-height: min(90vh, 900px);
  max-width: 760px;
  overflow: auto;
  padding: 24px;
  position: relative;
  width: min(100%, 760px);
  z-index: 1;
}

.admin-icon-button {
  flex: 0 0 auto;
  height: 42px;
  padding: 0;
  width: 42px;
}

.admin-icon-button i {
  font-size: 22px;
}

.admin-mini-preview {
  background: #f8fbfe;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.admin-mini-preview img {
  aspect-ratio: 16 / 8;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.admin-mini-preview strong {
  color: var(--mk-ink);
  font-weight: 800;
}

.admin-mini-preview span {
  color: var(--mk-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-mini-preview p {
  color: var(--mk-muted);
  line-height: 1.55;
  margin: 0;
}

.admin-delete-panel {
  max-width: 520px;
}

.admin-delete-message {
  background: #fff8f8;
  border: 1px solid #f4cccc;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.admin-delete-message strong {
  color: var(--mk-ink);
  font-size: 18px;
  font-weight: 800;
}

.admin-delete-message p,
.admin-delete-message span {
  color: #8f1d1d;
  line-height: 1.55;
  margin: 0;
}

.admin-delete-actions {
  justify-content: flex-end;
}

.admin-danger-button {
  background: #c92a2a !important;
  color: #fff !important;
}

.admin-danger-button:hover {
  background: #9d1f1f !important;
}

.admin-access-note {
  background: #f8fbfe;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  padding: 12px;
}

.team .member {
  height: 100%;
  padding: 22px;
  text-align: left;
}

.team .member .pic {
  border-radius: 14px;
  height: 220px;
  margin: 0 0 20px;
  overflow: hidden;
  width: 100%;
}

.team .member .pic img {
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  width: 100%;
}

.team .member h4,
.contact .info h4 {
  color: var(--mk-ink);
}

.team .member span,
.contact .info p {
  color: var(--mk-muted);
}

.team .member .social {
  margin-top: 14px;
}

.team .member .social a {
  background: var(--mk-blue-soft);
  color: var(--mk-blue-dark);
}

.team .member .social a:hover {
  background: var(--mk-blue);
  color: #fff;
}

.contact {
  position: relative;
}

.contact .contact-title {
  margin-bottom: 32px;
}

.contact .contact-title h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.contact .contact-title p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.contact-layout {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.contact-panel,
.contact-form {
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(25, 45, 74, 0.1);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.contact-intro-panel {
  justify-content: center;
  min-height: 100%;
}

.contact-pill {
  align-self: flex-start;
  background: #f4f9ff;
  border: 1px solid var(--mk-line);
  border-radius: 999px;
  color: var(--mk-blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  padding: 8px 12px;
}

.contact-panel h3 {
  color: var(--mk-ink);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 14px;
}

.contact-panel p,
.contact-form-head p {
  color: var(--mk-muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-note-list {
  border-top: 1px solid var(--mk-line);
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
}

.contact-note-list span {
  color: var(--mk-ink);
  font-size: 15px;
  font-weight: 800;
  padding-left: 22px;
  position: relative;
}

.contact-note-list span::before {
  background: var(--mk-blue);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 8px;
}

.contact-channel-grid {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}

.contact-channel {
  align-items: center;
  background: #f8fbff;
  border: 1px solid var(--mk-line);
  border-radius: 14px;
  display: flex;
  gap: 15px;
  padding: 13px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-channel:hover {
  border-color: rgba(22, 139, 215, 0.3);
  transform: translateY(-2px);
}

.contact-channel i {
  align-items: center;
  background: var(--mk-blue-soft);
  border-radius: 50%;
  color: var(--mk-blue-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 19px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.contact-channel span {
  color: var(--mk-muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.contact-channel a,
.contact-channel strong {
  color: var(--mk-ink);
  font-size: 16px;
  font-weight: 800;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.contact-socials a {
  align-items: center;
  background: var(--mk-blue-soft);
  border-radius: 50%;
  color: var(--mk-blue-dark);
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  width: 38px;
}

.contact-socials a:hover {
  background: var(--mk-blue);
  box-shadow: 0 12px 24px rgba(22, 139, 215, 0.22);
  color: #fff;
  transform: translateY(-3px);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
}

.enhanced-contact-form {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(22, 139, 215, 0.35), rgba(255, 255, 255, 0)) border-box;
}

.contact-form-head {
  margin-bottom: 2px;
}

.form-eyebrow {
  color: var(--mk-blue);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.contact-form-head h3 {
  color: var(--mk-ink);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-form-head p {
  margin: 0;
}

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

.contact-form .form-control {
  background: #fdfefe;
  border: 1px solid #d8dee7;
  border-radius: 12px;
  color: var(--mk-ink);
  font-size: 15px;
  min-height: 50px;
  padding: 12px 16px;
}

.contact-form textarea.form-control {
  grid-column: 1 / -1;
  min-height: 135px;
  resize: vertical;
}

.contact-form .form-control:focus {
  background: #fff;
  border-color: var(--mk-blue);
  box-shadow: 0 0 0 4px rgba(22, 139, 215, 0.12);
}

.contact-submit {
  background: var(--mk-blue);
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  justify-self: stretch;
  min-height: 54px;
  padding: 14px 24px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
  background: var(--mk-blue-dark);
  box-shadow: 0 12px 24px rgba(22, 139, 215, 0.22);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-feedback {
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  padding: 12px 14px;
}

.contact-feedback-success {
  background: #edf9f1;
  color: #176b35;
}

.contact-feedback-error {
  background: #fff1f1;
  color: #9d2424;
}

#footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #0f5f9d 0%, #168bd7 52%, #0b4f86 100%);
  color: #eaf5ff;
  overflow: hidden;
}

#footer .footer-main {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, auto);
  padding: 38px 0 24px;
}

.footer-contact {
  align-self: start;
  padding-top: 13px;
}

.footer-brand img {
  display: block;
  height: 64px;
  margin-bottom: 14px;
  object-fit: contain;
  width: auto;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 390px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 38px;
}

.footer-socials a:hover {
  background: #fff;
  color: var(--mk-blue-dark);
  transform: translateY(-3px);
}

.footer-column h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li,
.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-contact li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.footer-contact i {
  color: #fff;
  font-size: 17px;
  margin-top: 2px;
}

#footer .footer-bottom {
  align-items: center;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 0;
  text-align: center;
}

#footer .copyright {
  color: rgba(255, 255, 255, 0.82);
  float: none;
  font-size: 14px;
  width: 100%;
}

#footer .copyright strong {
  color: #fff;
}

.floating-whatsapp {
  align-items: center;
  background: var(--mk-blue);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 18px 36px rgba(22, 139, 215, 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  height: 54px;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 54px;
  z-index: 996;
}

.floating-whatsapp i {
  font-size: 22px;
  line-height: 1;
}

.floating-whatsapp:hover {
  background: var(--mk-blue-dark);
  box-shadow: 0 22px 44px rgba(22, 139, 215, 0.34);
  color: #fff;
  transform: translateY(-3px);
}

.floating-whatsapp span {
  display: none;
}

@media (max-width: 991px) {
  .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    min-height: auto;
    position: static;
  }

  .admin-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-side-nav button {
    justify-content: center;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  #header .customLogo {
    height: 52px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1003;
  }

  .mobile-menu-backdrop {
    background: rgba(23, 32, 51, 0.36);
    border: 0;
    display: block;
    inset: 0;
    position: fixed;
    z-index: 1000;
  }

  #navbar.navbar {
    background:
      radial-gradient(circle at 100% 0%, rgba(22, 139, 215, 0.12), transparent 28%),
      #fff;
    border: 1px solid var(--mk-line);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(25, 45, 74, 0.22);
    display: block;
    left: 28px;
    opacity: 0;
    padding: 12px;
    position: fixed;
    right: 28px;
    top: 88px;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
    z-index: 1002;
  }

  #navbar.navbar.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .mobile-menu-head {
    align-items: center;
    border-bottom: 1px solid var(--mk-line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 2px 9px;
  }

  .mobile-menu-head span {
    color: var(--mk-ink);
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-menu-head button {
    align-items: center;
    background: var(--mk-blue-soft);
    border: 0;
    border-radius: 10px;
    color: var(--mk-blue-dark);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
  }

  .mobile-menu-head i {
    font-size: 20px;
  }

  #navbar.navbar ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  #navbar.navbar li {
    display: block;
  }

  #navbar.navbar a,
  #navbar.navbar a:focus {
    border-radius: 10px;
    display: block;
    font-size: 14px;
    padding: 8px 13px;
  }

  #navbar.navbar a:hover,
  #navbar.navbar .active,
  #navbar.navbar .active:focus {
    background: var(--mk-blue-soft);
    color: var(--mk-blue-dark);
  }

  #navbar.navbar .active::after {
    bottom: 8px;
    height: auto;
    left: 13px;
    right: auto;
    top: 8px;
    width: 3px;
  }

  #navbar.navbar .getstarted,
  #navbar.navbar .getstarted:focus {
    margin: 8px 0 0;
    text-align: center;
  }

  #hero {
    min-height: auto;
    padding: 116px 0 64px;
    text-align: center;
  }

  #hero h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-desktop-visual {
    display: none;
  }

  .hero-mobile-visual {
    display: block;
    margin: 28px auto 26px;
    width: min(100%, 500px);
  }

  .hero-tech-card {
    margin: 0 auto;
    max-width: 500px;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-shell {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

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

  .portfolio-work-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-share-button,
  .portfolio-visit-link {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .portfolio-gallery-modal {
    padding: 14px;
  }

  .portfolio-gallery-header {
    align-items: flex-start;
    padding: 16px;
  }

  .portfolio-gallery-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .contact-panel,
  .contact-form {
    padding: 28px;
  }

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

  #footer .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .admin-shell {
    padding: 18px;
  }

  .admin-login-card,
  .admin-panel,
  .admin-sidebar,
  .admin-modal-panel {
    padding: 20px;
  }

  .admin-topbar,
  .admin-table-head,
  .admin-modal-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .admin-side-nav {
    grid-template-columns: 1fr;
  }

  .admin-actions button,
  .admin-row-actions button {
    width: 100%;
  }

  .admin-row-actions {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .admin-modal {
    padding: 12px;
  }

  .mk-loading-card img {
    height: 92px;
  }

  .mk-loading-bar {
    width: 128px;
  }

  .hero-tech-card {
    max-width: 360px;
  }

  .hero-tech-core {
    height: 150px;
    width: 150px;
  }

  .hero-tech-core img {
    height: 92px;
  }

  .hero-tech-orbit-one {
    height: 240px;
    width: 240px;
  }

  .hero-tech-orbit-two {
    height: 310px;
    width: 310px;
  }

  .hero-tech-grid {
    height: 300px;
    width: 300px;
  }

  .hero-tech-chip-orbit {
    height: 285px;
    width: 285px;
  }

  .hero-tech-chip {
    font-size: 11px;
    padding: 7px 10px;
  }

  .cta-panel {
    padding: 26px;
  }

  .about-value {
    display: block;
  }

  .about-value i {
    margin-bottom: 12px;
  }

  .about-values .about-value:nth-child(2) i,
  .about-values .about-value:nth-child(2) h3 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .about-values .about-value:nth-child(2) i {
    display: flex;
  }

  .about-values .about-value:nth-child(3) i,
  .about-values .about-value:nth-child(3) h3 {
    display: block;
    margin-left: auto;
    text-align: right;
  }

  .about-values .about-value:nth-child(3) i {
    display: flex;
  }

  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .contact-submit {
    justify-self: stretch;
    width: 100%;
  }

  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
  }

  #footer .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 18px 20px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .footer-brand img {
    height: 58px;
    margin-bottom: 12px;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 330px;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-column.footer-contact {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 18px;
    text-align: left;
  }

  .footer-column h3 {
    font-size: 15px;
    margin-bottom: 14px;
    text-align: center;
  }

  .footer-column ul {
    gap: 12px;
  }

  .footer-contact li {
    align-items: center;
    gap: 12px;
  }

  .footer-contact i {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    justify-content: center;
    margin-top: 0;
    width: 34px;
  }

  #footer .footer-bottom {
    margin: 0 18px;
    padding: 14px 0 18px;
  }

  #footer .copyright {
    font-size: 13px;
    line-height: 1.5;
  }
}
