/* MKA Solutions site styles. Page content uses inline styles from the design;
   this file holds the shared header, footer, forms and the phone-size rules. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #141414; background: #FFFFFF; }
img { max-width: 100%; }
a { color: #FD6262; }
a:hover { color: #FF8A8A; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #889CE7; outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; top: 0; background: #FFFFFF; color: #141414; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header { background: #14161C; color: #FFFFFF; border-bottom: 1px solid #2A2D36; position: sticky; top: 0; z-index: 50; }
.site-header .bar { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.site-header .logo { display: flex; align-items: center; flex: none; }
.site-header .logo img { height: 34px; width: auto; display: block; }
.site-header nav.main { display: flex; gap: 6px; flex: 1 1 auto; flex-wrap: wrap; }
.site-header nav.main a, .site-header .menu a {
  text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 4px;
  min-height: 44px; display: inline-flex; align-items: center; color: #C9CBD3;
}
.site-header nav.main a:hover, .site-header .menu a:hover { color: #FFFFFF; }
.site-header nav.main a[aria-current="page"] { color: #FFFFFF; box-shadow: inset 0 -3px 0 #FD6262; }
.site-header .actions { display: flex; align-items: center; gap: 18px; flex: none; }
.site-header .phone { color: #C9CBD3; text-decoration: none; font-size: 14px; font-weight: 500; }
.btn-coral { background: #FD6262; color: #141414 !important; text-decoration: none; font-weight: 600; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; }
.btn-coral:hover { background: #FF7A7A; }
.site-header .btn-coral { font-size: 15px; padding: 11px 18px; min-height: 44px; white-space: nowrap; }
.site-header .menu { display: none; }
.site-header .menu summary { list-style: none; cursor: pointer; color: #FFFFFF; font-weight: 600; font-size: 15px; padding: 10px 14px; border: 1.5px solid #3A3D46; border-radius: 4px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.site-header .menu summary::-webkit-details-marker { display: none; }
.site-header .menu[open] .panel { display: flex; }
.site-header .menu .panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #14161C; border-bottom: 1px solid #2A2D36; flex-direction: column; padding: 8px 16px 18px; }
.site-header .menu .panel a { width: 100%; font-size: 17px; }
.site-header .menu .panel a[aria-current="page"] { color: #FFFFFF; box-shadow: inset 3px 0 0 #FD6262; }

/* Footer */
.site-footer { background: #0E0F13; color: #C9CBD3; border-top: 3px solid #FD6262; }
.site-footer .cols { max-width: 1240px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer .label { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #889CE7; }
.site-footer a { color: #C9CBD3; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .legal { max-width: 1240px; margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid #23262E; display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 13px; color: #9EA1AB; }
.site-footer .legal a { color: #9EA1AB; text-decoration: underline; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 1px solid #B9BCC6; border-radius: 6px; background: #FFFFFF; color: #141414; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Long-form pages (terms, privacy) */
.prose { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; font-size: 16px; line-height: 1.7; color: #3E414A; }
.prose h2 { color: #141414; font-size: 22px; line-height: 1.3; font-weight: 600; margin: 36px 0 8px; }
.prose p, .prose li { margin: 0 0 12px; }

/* Tablet and phone */
@media (max-width: 1080px) {
  .site-header nav.main, .site-header .phone { display: none; }
  .site-header .bar { justify-content: space-between; gap: 12px; }
  .site-header .menu { display: block; }
}
@media (max-width: 720px) {
  main h1 { font-size: 36px !important; }
  main h2 { font-size: 28px !important; }
  main section > div { padding-top: 56px !important; padding-bottom: 56px !important; }
  main section > div > div[style*="padding: 56px 48px"], main section > div > div[style*="padding: 48px"] { padding: 32px 22px !important; }
}
@media (max-width: 520px) {
  .site-header .btn-coral { padding: 10px 12px; font-size: 14px; }
  .site-header .logo img { height: 28px; }
  main [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  main [style*="flex: 1 1"] { flex-basis: 100% !important; }
  main a[style*="padding: 16px 26px"], main a[style*="padding: 15px 24px"] { width: 100%; justify-content: center; text-align: center; }
}
