/*
Theme Name: Unit4Design
Template: tabon
Version: 1.0.0
Text Domain: unit4design
*/

@font-face {
    font-family: "Mona Sans";
    src: url("assets/mona-sans.woff2") format("woff2");
    font-weight: 200 900;
    font-display: swap;
}

html:has(.u4d-header) { scroll-padding-top: 120px; }
.u4d-header, .u4d-footer {
    --u4d-ink: #211e42;
    --u4d-indigo: #3a3570;
    --u4d-tint: #e9e8f0;
    --u4d-edge: clamp(24px, 5vw, 80px);
    font: 18px/1.6 "Mona Sans", Arial, sans-serif;
    color: var(--u4d-ink);
    -webkit-font-smoothing: antialiased;
}
.u4d-header a, .u4d-footer a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.u4d-header a:focus-visible, .u4d-footer a:focus-visible { outline: 3px solid var(--u4d-indigo); outline-offset: 5px; }
.u4d-shell-wrap { box-sizing: border-box; max-width: 1600px; margin-inline: auto; padding-inline: var(--u4d-edge); }
.u4d-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--u4d-tint); }
.admin-bar .u4d-header { top: var(--wp-admin--admin-bar--height, 32px); }
.u4d-header-main { height: 96px; display: flex; gap: 40px; align-items: center; }
.u4d-brand { min-height: 56px; display: flex; align-items: center; flex: none; }
.u4d-brand img { display: block; width: 226px; height: auto; }
.u4d-nav { margin-left: auto; display: flex; gap: 36px; }
.u4d-nav a { display: flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: none; }
.u4d-nav a:hover, .u4d-nav a[aria-current="location"] { text-decoration-line: underline; text-underline-offset: .5em; }
.u4d-header .u4d-header-contact {
    position: relative;
    flex: none;
    padding: 7.5px 24px;
    border-radius: 6px;
    background: #387f46;
    color: #fff;
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 720;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .18s;
}
.u4d-header .u4d-header-contact:is(:hover, :focus-visible) { background: var(--u4d-indigo); box-shadow: inset 0 0 0 1px #aba6ca; }
/* Keep the approved small visible button while preserving a 44px target. */
.u4d-header-contact::before { content: ""; position: absolute; inset: 50% 0 auto; min-height: 44px; transform: translateY(-50%); }
.u4d-footer { background: var(--u4d-tint); color: #585570; padding-block: 24px; font-size: 17px; }
.u4d-footer .u4d-shell-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.u4d-footer nav { display: flex; flex-wrap: wrap; gap: 28px; }
.u4d-footer a { display: flex; align-items: center; min-height: 44px; text-decoration-line: underline; }

@media (max-width: 1100px) {
    .u4d-header-main, .u4d-nav { gap: 24px; }
    .u4d-brand img { width: 200px; }
}
@media (max-width: 760px) {
    html:has(.u4d-header) { scroll-padding-top: 132px; }
    .u4d-header-main { height: 112px; position: relative; align-items: flex-start; padding-top: 12px; gap: 8px; }
    .u4d-brand { min-height: 44px; }
    .u4d-brand img { width: 172px; }
    .u4d-header .u4d-header-contact { margin: 0 0 0 auto; padding: 5px 18px; }
    .u4d-nav { position: absolute; bottom: 0; inset-inline: var(--u4d-edge); justify-content: space-between; border-top: 1px solid var(--u4d-tint); gap: 12px; }
    .u4d-nav a { font-size: 15px; }
    .u4d-footer { padding-bottom: 62px; }
    .u4d-footer .u4d-shell-wrap { display: block; }
    .u4d-footer nav { margin-top: 18px; gap: 8px 20px; }
}
@media (max-width: 360px) {
    .u4d-header, .u4d-footer { --u4d-edge: 16px; }
    .u4d-brand img { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
    .u4d-header .u4d-header-contact { transition: none; }
}
#u4d-form-review{max-width:620px;width:calc(100% - 40px);max-height:85dvh;padding:clamp(24px,5vw,40px);border:1px solid #d6d4e4;border-radius:10px;background:#f5f5f9;color:#211e42}
#u4d-form-review::backdrop{background:#211e42d9}
#u4d-form-review h2{margin-top:0}
#u4d-form-review dt{font-weight:700}
#u4d-form-review dd{margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}
#u4d-form-review form{display:flex;flex-wrap:wrap;gap:8px}
