/* ============================================================
   Doorloom brand-website V2 — base styles.
   Reset, typography, layout shell, header, footer.
   Class names mirror the V2 design references (docs/brandpages).
   ============================================================ */

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--gradient-page);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2 { margin: 0; letter-spacing: -.01em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 5px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--surface-header); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.brand .n { font-weight: 700; font-size: 1.2rem; }
.brand .n .s { display: block; font-weight: 400; font-size: .72rem; color: var(--text-2); }
.hdr__act { display: flex; gap: 8px; }
.hdr__back { display: flex; align-items: center; gap: 10px; font-weight: 600; }

.icobtn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); display: grid; place-items: center; }
.icobtn:hover { background: var(--surface-2); }
.icobtn svg { width: 19px; height: 19px; }
.icobtn.call { border-color: transparent; background: var(--blue); color: #fff; }
.icobtn.call:hover { filter: brightness(1.06); }
.icobtn.wa { border-color: transparent; background: var(--wa); color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--r); padding: 12px 20px; font-weight: 600; font-size: .95rem; line-height: 1; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--gradient-accent); color: #fff; }
.btn--primary:hover { background: var(--accent-press); }
.btn--primary:disabled { opacity: .5; cursor: not-allowed; }
.btn--call { background: var(--blue); color: #fff; }
.btn--call:hover { filter: brightness(1.06); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(1.06); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--block { width: 100%; }

/* ---------- footer ---------- */
.foot { background: var(--surface-footer); border-top: 1px solid var(--border-subtle); margin-top: 34px; padding: 28px 0 30px; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.foot__links { display: flex; flex-direction: column; gap: 9px; font-size: .9rem; color: var(--text-2); }
.foot__links a:hover { color: var(--text); }
.foot__dl { font-weight: 700; font-size: 1.05rem; margin-bottom: 5px; }
.foot__brand { font-size: .88rem; color: var(--text-2); }
.foot__cta { color: var(--green); font-weight: 600; margin-top: 10px; display: block; width: fit-content; }
.foot__copy { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .82rem; }

.foot--slim { text-align: center; }
.foot--slim .foot__note { color: var(--text-2); font-size: .88rem; }

/* ---------- tablet and up ---------- */
@media (min-width: 768px) {
  .hdr__in { height: 72px; }
  .brand img { width: 36px; height: 36px; }
  .brand .n { font-size: 1.28rem; }
  .foot { margin-top: 56px; padding: 44px 0 40px; }
}

@media (min-width: 1024px) {
  .foot__cols { gap: 48px; }
}
