/* =============================================================
   RESET — Al Zahraa Construction
   Modern, opinionated reset. Loaded before every other stylesheet.
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h, 150px);
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100svh;
  line-height: var(--lh-base, 1.7);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg, iframe {
  display: block;
  max-width: 100%;
}

img, video { height: auto; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button { cursor: pointer; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-tight, 1.1);
  text-wrap: balance;
  font-weight: 700;
}

p { text-wrap: pretty; }

ul[role="list"], ol[role="list"] { list-style: none; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; border-spacing: 0; width: 100%; }

address { font-style: normal; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--color-focus, #F2A900);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--color-accent, #F2A900);
  color: var(--az-navy-900, #0A1A2F);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
