/* ============================================================
   AAARealEstate.ng — Base
   Reset + default element styling. No layout/component rules
   here — those live in layout.css and components.css.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  color: var(--indigo);
  margin: 0 0 var(--space-3);
  font-weight: 700;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3, h4 { font-size: var(--fs-h3); }

p { margin: 0 0 var(--space-4); }

a {
  color: var(--brass);
  text-decoration: none;
}
a:hover { color: var(--brass-hover); text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

ul, ol { padding-left: var(--space-5); margin: 0 0 var(--space-4); }
li { margin-bottom: var(--space-2); }

/* Figures — price, sqm, bedrooms/bathrooms, phone numbers.
   ALL numeric data on the site is set in this class. */
.figure, .price, .numeric {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Form defaults */
input, select, textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brass);
}
label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--ink-muted);
}

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: var(--space-3);
  border-bottom: 1px solid var(--line);
}
th {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--space-6) 0;
}