/* base — reset + body + common utilities
   Imported AFTER tokens.css. */

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

html {
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;                       /* no horizontal scroll, even for fixed-position children */
}

body {
    min-height: 100vh;
    direction: rtl;
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--c-text);
    background: #fff;                         /* default light — sections override locally */
    overflow-x: hidden;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button {
    background: none;
    border: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

/* Visually hidden (a11y) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Site main =====
   Full-width container. NO page-level scaling — each section handles its own
   scaled-stage internally (claude-html §3.8). Page-level scaling would create
   NESTED transforms with section-level scaling, multiplying scales (e.g. 0.78 ×
   0.78 = 0.61), causing content to shrink unexpectedly. */
.site-main {
    width: 100%;
    max-width: 100%;
}

/* ===== Theme overrides for the new templates =====
   The astlp theme's footer.php adds .fixed-contacts (phone/WA/email floater)
   and .scroll-to-top — both bottom-right. Our prototype has its own
   .hero__wa (right) + .hero__sticky-award (left), so hide the theme's
   duplicates to avoid stacking at the same corner. */
.fixed-contacts,
.scroll-to-top {
    display: none !important;
}
