:root {
    --estrada-header-height: 5rem;
}

.estrada-header {
    box-sizing: border-box;
    min-height: var(--estrada-header-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: .5rem 5%;
    background: #f7f5ef;
    color: #20201d;
    border-bottom: 1px solid #dedad0;
    font: 400 1rem/1.4 Arial, Helvetica, sans-serif;
}

.estrada-header a, .brand {
    color: inherit;
    text-decoration: none;
}

.estrada-header a:focus-visible {
    outline: 3px solid #856321;
    outline-offset: 3px;
}

.brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 13px;
    line-height: 1.2;
}

.brand svg { color: #aa8b54; flex: none; }
.brand span { font: 400 17px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .16em; }
.brand small { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .2em; }

.estrada-header nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.estrada-header nav a, .estrada-header .nav-contact {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    white-space: nowrap;
    font-size: .9375rem;
}

.estrada-header nav a {
    color: #56544c;
    border-bottom: 2px solid transparent;
}

.estrada-header nav a[aria-current], .estrada-header nav a:hover {
    color: #20201d;
    border-bottom-color: #aa8b54;
}

.estrada-header .nav-contact { justify-self: end; gap: .55rem; }
.nav-contact .arrow-icon { color: #806635; }

.arrow-icon { display: inline-block; flex: none; vertical-align: -.125em; }
.arrow-icon--up-right { transform: rotate(-45deg); }
.arrow-icon--down-right { transform: rotate(45deg); }
.arrow-icon--up { transform: rotate(-90deg); }
.arrow-icon--left { transform: rotate(180deg); }

@media (max-width: 52rem) {
    .estrada-header { grid-template-columns: 1fr auto; }
    .estrada-header .nav-contact { display: none; }
}

@media (max-width: 40rem) {
    :root { --estrada-header-height: 4.5rem; }
    .estrada-header { gap: .625rem; padding-inline: 1rem; }
    .estrada-header nav { gap: .9rem; }
    .estrada-header nav a { font-size: .875rem; }
    .brand { gap: 8px; }
    .brand svg { width: 26px; height: 26px; }
    .brand span { font-size: 13px; }
    .brand small { font-size: 6px; margin-top: 4px; }
}
