:root {
  --db-night: #0b1727;
  --db-navy: #1d3557;
  --db-gold: #c9a84c;
  --db-gold-light: #e8ca77;
  --db-white: #f4f7fa;
  --db-muted: #aab9cc;
  --db-line: #ffffff22;
}
.db-site { min-height: 100vh; height: auto; display: flex; flex-direction: column; }
.db-site > main { flex: 1 0 auto; }
.db-shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.db-header, .db-footer { font-family: Inter, system-ui, sans-serif; text-align: left; }
.db-header {
  position: sticky; top: 0; z-index: 60; padding: 0;
  background: #0b1727f5; color: var(--db-white); border-bottom: 1px solid var(--db-line);
  backdrop-filter: blur(18px);
}
.db-header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 74px; }
.db-brand { display: inline-flex; align-items: center; color: var(--db-white); text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.db-brand-mark {
  position: relative; display: inline-grid; place-items: center; width: 31px; height: 31px;
  margin-right: 10px; border: 1px solid #c9a84c70; border-radius: 9px; background: #c9a84c13;
}
.db-brand-mark::before { content: ""; width: 24px; height: 25px; background: url("../images/logo-devborea.webp") center -13px / 64px no-repeat; filter: brightness(1.55); }
.db-brand-dot { color: var(--db-gold-light); }
.db-header .db-nav { display: flex; align-items: center; gap: clamp(15px, 2.4vw, 35px); }
.db-header nav a { background: none; padding: 6px 0; color: #c3cede; font-size: 13px; font-weight: 600; text-decoration: none; }
.db-header nav a:hover, .db-header nav a[aria-current="page"] { color: var(--db-gold-light); opacity: 1; }
.db-header-cta { display: inline-flex; align-items: center; gap: 17px; border: 1px solid #c9a84c70; border-radius: 8px; padding: 10px 14px; color: var(--db-gold-light); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.db-header-cta:hover { background: #c9a84c20; }
.db-menu { display: none; }
.db-footer { padding: 56px 0 22px; background: var(--db-night); color: var(--db-muted); border-top: 1px solid var(--db-line); font-size: 14px; }
.db-footer a:not(.db-brand) { color: inherit; text-decoration: none; }
.db-footer a:hover { color: var(--db-gold-light); }
.db-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px 44px; padding-bottom: 36px; }
.db-footer-grid p { margin: 15px 0 0; line-height: 1.65; }
.db-footer-grid h2 { margin: 0 0 4px; color: var(--db-white); font-size: 15px; font-weight: 700; }
.db-footer-grid nav, .db-footer-contact { display: grid; align-content: start; justify-items: start; gap: 9px; }
.db-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--db-line); font-size: 12px; }
.db-site :is(.db-header, .db-footer) :focus-visible, .db-home main :focus-visible { outline: 2px solid var(--db-gold-light); outline-offset: 4px; }
@media (max-width: 900px) {
  .db-shell { width: calc(100% - 48px); }
  .db-header-inner { min-height: 65px; }
  .db-header .db-nav, .db-header-cta { display: none; }
  .db-menu { display: block; }
  .db-menu summary { display: grid; place-content: center; gap: 4px; width: 44px; height: 40px; cursor: pointer; border: 1px solid var(--db-line); border-radius: 8px; list-style: none; }
  .db-menu summary::-webkit-details-marker { display: none; }
  .db-menu summary span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--db-gold-light); }
  .db-header .db-menu nav { display: grid; gap: 0; position: absolute; inset: 100% 0 auto; z-index: 1; padding: 10px 17px; border: 1px solid var(--db-line); border-radius: 0 0 13px 13px; background: var(--db-night); box-shadow: 0 14px 30px #0006; }
  .db-header .db-menu nav a { padding: 11px 0; }
  .db-header .db-menu nav a + a { border-top: 1px solid var(--db-line); border-radius: 0; }
}
@media (max-width: 620px) {
  .db-shell { width: calc(100% - 36px); }
  .db-footer { padding-top: 38px; }
  .db-footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 14px; }
  .db-footer-grid > :first-child { grid-column: 1 / -1; }
}
