:root {
  --mk-white: #ffffff;
  --mk-ice: #f5fbff;
  --mk-ice-2: #e8f8ff;
  --mk-blue: #58c9f7;
  --mk-blue-dark: #0ea5e9;
  --mk-dark: #071018;
  --mk-text: #101820;
  --mk-muted: #607080;
  --mk-border: rgba(7, 16, 24, .11);
  --mk-shadow: 0 24px 70px rgba(8, 26, 43, .11);
}

html { scroll-behavior: smooth; }
body.mk-cleaning-theme {
  margin: 0;
  background: #fff;
  color: var(--mk-text);
  font-family: Arial, Helvetica, sans-serif;
}
body.mk-cleaning-theme * { box-sizing: border-box; }
body.mk-cleaning-theme a { color: inherit; }
.mk-theme-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.mk-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--mk-border);
  backdrop-filter: blur(18px);
}
.mk-header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.mk-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.mk-brand-logo { width: 62px; height: 62px; object-fit: contain; border-radius: 18px; background: #fff; border: 1px solid var(--mk-border); padding: 5px; box-shadow: 0 12px 32px rgba(8,26,43,.08); }
.custom-logo { max-height: 62px; width: auto; }
.mk-brand-text strong { display: block; font-size: 16px; line-height: 1.1; color: var(--mk-dark); }
.mk-brand-text small { color: var(--mk-muted); font-size: 12px; }
.mk-main-nav { margin-left: auto; }
.mk-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 22px; align-items: center; }
.mk-menu a { color: #344352; text-decoration: none; font-size: 14px; font-weight: 850; transition: .2s; }
.mk-menu a:hover { color: var(--mk-blue-dark); }
.mk-header-actions { display: flex; align-items: center; gap: 10px; }
.mk-header-text,
.mk-header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
}
.mk-header-text { color: #041018; background: linear-gradient(135deg, #ffffff, #dff7ff 42%, #7ddcff); box-shadow: 0 12px 30px rgba(14,165,233,.18); }
.mk-header-wa { color: #fff !important; background: var(--mk-dark); }
.mk-menu-toggle { display: none; margin-left: auto; width: 46px; height: 42px; border: 1px solid var(--mk-border); border-radius: 14px; background: #fff; }
.mk-menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--mk-dark); }
.mk-site-main { min-height: 60vh; }

.mk-theme-fallback-hero,
.mk-page-hero {
  padding: 92px 0;
  background: radial-gradient(circle at 20% 20%, rgba(88,201,247,.22), transparent 32%), linear-gradient(135deg, #fff, #f4fbff);
}
.mk-theme-fallback-hero h1,
.mk-page-hero h1,
.mk-single-post h1 {
  margin: 0 0 18px;
  color: var(--mk-dark);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -2px;
  font-weight: 950;
}
.mk-theme-fallback-hero p,
.mk-page-content,
.mk-single-content { color: var(--mk-muted); font-size: 18px; line-height: 1.7; }
.mk-theme-fallback-hero a { display: inline-flex; min-height: 54px; padding: 0 22px; border-radius: 14px; align-items: center; background: linear-gradient(135deg, #071018, #0ea5e9); color: #fff; font-weight: 950; text-decoration: none; }
.mk-eyebrow { margin: 0 0 12px; color: var(--mk-blue-dark); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.mk-page-content { padding: 60px 0; }
.mk-page-content img { max-width: 100%; height: auto; border-radius: 20px; }
.mk-post-list { display: grid; gap: 18px; padding: 60px 0; }
.mk-post-card { padding: 24px; background: #fff; border: 1px solid var(--mk-border); border-radius: 22px; box-shadow: var(--mk-shadow); }
.mk-post-card a { text-decoration: none; }
.mk-single-post { padding: 70px 0; }
.mk-single-thumb img { width: 100%; height: auto; border-radius: 28px; margin-bottom: 26px; }

.mk-site-footer { border-top: 1px solid var(--mk-border); background: #071018; color: #fff; padding: 48px 0 96px; }
.mk-footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; }
.mk-footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 950; text-decoration: none; margin-bottom: 14px; }
.mk-footer-brand img { width: 56px; height: 56px; object-fit: contain; border-radius: 18px; background: #fff; padding: 5px; }
.mk-site-footer p { max-width: 560px; color: rgba(255,255,255,.68); line-height: 1.6; margin: 0; }
.mk-footer-links { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.mk-footer-links a { color: #dff7ff; text-decoration: none; font-weight: 850; }
.mk-mobile-contact-bar { display: none; }

/* Service single pages */
.mk-service-hero {
  padding: 72px 0 50px;
  background: radial-gradient(circle at 15% 15%, rgba(88,201,247,.22), transparent 32%), linear-gradient(135deg, #fff, #f5fbff);
}
.mk-service-hero-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: 46px; align-items: center; }
.mk-service-hero h1 { margin: 0 0 18px; color: var(--mk-dark); font-size: clamp(38px, 5vw, 72px); line-height: .98; letter-spacing: -2.2px; font-weight: 950; }
.mk-service-hero p { color: var(--mk-muted); font-size: 18px; line-height: 1.7; margin: 0 0 26px; }
.mk-service-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mk-service-btn { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 16px; text-decoration: none; font-weight: 950; }
.mk-service-btn.primary { color: #041018; background: linear-gradient(135deg, #ffffff, #dff7ff 42%, #7ddcff); box-shadow: 0 16px 42px rgba(14,165,233,.2); }
.mk-service-btn.dark { color: #fff !important; background: #071018; }
.mk-service-img { overflow: hidden; border-radius: 32px; border: 12px solid #071018; box-shadow: var(--mk-shadow); background: #071018; }
.mk-service-img img { display: block; width: 100%; height: 520px; object-fit: cover; }
.mk-service-section { padding: 78px 0; background: #fff; }
.mk-service-section.alt { background: #f6fbff; }
.mk-service-two { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.mk-service-section h2 { margin: 0 0 18px; color: var(--mk-dark); font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -1.7px; font-weight: 950; }
.mk-service-section p { color: var(--mk-muted); font-size: 17px; line-height: 1.7; }
.mk-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-list-card { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--mk-border); box-shadow: var(--mk-shadow); }
.mk-list-card strong { display: block; margin-bottom: 8px; color: var(--mk-dark); font-size: 18px; }
.mk-list-card span { color: var(--mk-muted); line-height: 1.55; }
.mk-gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mk-gallery-grid a { display: block; height: 180px; border-radius: 20px; overflow: hidden; background: #e8f8ff; border: 1px solid var(--mk-border); }
.mk-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: .25s; }
.mk-gallery-grid a:hover img { transform: scale(1.05); }
.mk-service-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mk-service-review { padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--mk-border); box-shadow: var(--mk-shadow); }
.mk-service-review .stars { color: #f5a400; letter-spacing: 2px; margin-bottom: 14px; }
.mk-service-review p { margin: 0 0 20px; }
.mk-service-review strong { display: block; color: var(--mk-dark); margin-bottom: 4px; }
.mk-service-review span { color: var(--mk-blue-dark); font-size: 13px; font-weight: 850; }

@media (max-width: 980px) {
  .mk-header-inner { min-height: 70px; }
  .mk-menu-toggle { display: block; }
  .mk-main-nav {
    position: fixed; left: 12px; right: 12px; top: 78px;
    background: rgba(255,255,255,.97); border: 1px solid var(--mk-border); border-radius: 20px;
    padding: 16px; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .2s; backdrop-filter: blur(18px); box-shadow: var(--mk-shadow);
  }
  .mk-main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mk-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .mk-menu a { display: block; padding: 14px; border-radius: 14px; }
  .mk-menu a:hover { background: #e7f7ff; }
  .mk-header-actions { display: none; }
  .mk-footer-inner { flex-direction: column; }
  .mk-footer-links { text-align: left; }
  .mk-service-hero-grid,
  .mk-service-two { grid-template-columns: 1fr; }
  .mk-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mk-service-reviews { grid-template-columns: 1fr; }
  .mk-mobile-contact-bar {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 99999;
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 10px; padding: 10px; border-radius: 20px;
    background: rgba(255,255,255,.94); border: 1px solid var(--mk-border); backdrop-filter: blur(18px); box-shadow: 0 18px 46px rgba(0,0,0,.18);
  }
  .mk-mobile-contact-bar a { min-height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 950; text-decoration: none; }
  .mk-mobile-sms { color: #041018; background: linear-gradient(135deg, #fff 0%, #e4f9ff 38%, #7ddcff 100%); }
  .mk-mobile-wa { color: #fff !important; background: #071018; }
}
@media (max-width: 640px) {
  .mk-theme-container { width: min(100% - 28px, 1180px); }
  .mk-brand-text { display: none; }
  .mk-service-actions { flex-direction: column; }
  .mk-service-btn { width: 100%; }
  .mk-service-img img { height: 410px; }
  .mk-list-grid,
  .mk-gallery-grid { grid-template-columns: 1fr; }
  .mk-gallery-grid a { height: 240px; }
}

/* v1.3.0: keep message buttons clickable above overlays */
.mk-header-text,
.mk-mobile-sms,
.mk-service-btn.primary,
.mk-theme-fallback-hero a,
.mk-footer-links a {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}


/* v1.4.0 fixes */
.mk-header-wa { color: #ffffff !important; }
.mk-service-btn.dark { color: #ffffff !important; }
.mk-service-btn.primary { color: #041018 !important; }
.mk-brand-logo { object-fit: contain; }


/* v1.3.2 fixes */
.mk-header-wa, .mk-mobile-wa, .mk-service-btn.dark { color: #ffffff !important; }
.mk-service-img img, .mk-gallery-grid img { display:block; width:100%; object-fit:cover; }

/* v1.6.0 stability fixes */
html, body { max-width: 100%; overflow-x: hidden; }
body.mk-menu-open { overflow: hidden; }
.mk-main-nav { max-width: calc(100vw - 24px); }
.mk-service-img img { object-fit: contain !important; background: #ffffff; }
.mk-gallery-grid a,
.mk-gallery-item { background: #ffffff; }
.mk-gallery-grid img,
.mk-gallery-item img { object-fit: contain !important; background: #ffffff; }
.mk-thank-you-page { min-height: calc(100vh - 160px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 980px) {
  .mk-main-nav.is-open { z-index: 1002; }
  .mk-main-nav .mk-menu a { color: #071018 !important; }
}
@media (max-width: 640px) {
  .mk-service-img img { height: auto !important; max-height: none !important; }
  .mk-gallery-grid a, .mk-gallery-item { height: auto !important; min-height: 0 !important; }
  .mk-gallery-grid img, .mk-gallery-item img { height: auto !important; }
}
