/* MEDICUS – medicuseng.com · base styles + mobile overrides (page markup uses inline styles) */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid #2283B3; outline-offset: 3px; }
footer a:hover, nav a:hover { text-decoration: underline !important; }

@media (max-width: 1024px) {
  [style*="repeat(5, minmax(0, 1fr))"], [style*="repeat(4, minmax(0, 1fr))"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [style*="border-top: 4px solid #9CC8E0"], svg[style*="right: 44px"] { display: none !important; }
}
@media (max-width: 760px) {
  [style*="max-width: 1200px"] { padding-left: 20px !important; padding-right: 20px !important; }
  section > [style*="max-width: 1200px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
  nav[aria-label="Main"] { gap: 4px 18px !important; font-size: 14px !important; }
  h1[style*="font-size: 52px"] { font-size: 34px !important; }
  h1[style*="margin: 0 0 0 -40px"] { margin-left: 0 !important; }
  h2[style*="font-size: 40px"], h2[style*="font-size: 36px"] { font-size: 28px !important; }
  p[style*="font-size: 20px"], p[style*="font-size: 22px"] { font-size: 18px !important; }
  [style*="gap: 64px"], [style*="gap: 56px"] { gap: 32px !important; }
  [style*="min-height: 400px"] { min-height: 0 !important; }
  [style*="align-self: center"][aria-hidden="true"] { transform: rotate(90deg); width: 100%; }
  [style*="padding: 40px 44px"] { padding: 24px 20px !important; }
  [style*="display: flex; align-items: center; gap: 16px"] > svg { display: none; }
  [style*="flex: 0 0 140px"] { flex-basis: 100% !important; }
  img[style*="margin-left: -16px"], img[style*="margin-left: -12px"] { margin-left: 0 !important; height: 64px !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
